MultiCoinAPI - There are no borders!
1.1With the API you have the possibility to create infinite coins.
With the API you have the possibility to create infinite coins.
This API simplifies the creation of coins with different names. With the help of this plugin you have an infinite number of application possibilities since it is only simplified methods.
To create coins, you must use the following method in the onEnable() range:
@Override
public void onEnable() {
super.onEnable();
MultiCoinAPI.createCoins(String name); //Don't use Space
}
Next, you need to register the players who join the server in the MultiCoinAPI. (This simply means to create a MySQL connection and then enter the player into the MySQL database.)
@EventHandler
public void join(PlayerJoinEvent e) {
Player p = e.getPlayer();
MultiCoinAPI.setCoins(String name, Player player, int coins);
}
The Wars, Now you can use the coins, using the following methods:
MultiCoinAPI.takeCoins(String name, Player player, int Coins);
MultiCoinAPI.addCoins(String name, Player player, int Coins);
MultiCoinAPI.getCoins(String name, Player player);
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
