CoinsAPI v1.0
MySQL required!
Use CoinsAPI as Plugin:
SetUp Plugin
1. Download
Download the plugin
2. Plugins folder
Put CoinsAPI in your plugins folder
3. Restart or reload
Restart or reload the Server to generate the files
4. MySQL
Enter your McSQL data into the config.yml
5. Restart or reload
Restart or reload the Server to connect to the database
Use Plugin
Get your coins with /coins or others with /coins [player]
Players with the permission coins.admin can manage other players coins
Commands: /coins [set/add/remove] [player] [coins]
Aliases: /money
Every Message can be customizen in the config.yml
´
Use CoinsAPI as APi:
API
Get the uuid:
player.getUniqueId().toString;
Get Coins:
CoinsAPI.getCoins(uuid, coins);
Add Coins:
CoinsAPI.addCoins(uuid, coins);
Remove Coins:
CoinsAPI.removeCoins(uuid, coins);
Has Coins (boolean):
CoinsAPI.hasCoins(uuid, coins);
Insert Player in table:
CoinsAPI.insertPlayerInTable(uuid, coins);
Player is in table (boolean):
CoinsAPI.isInTable(uuid);
Coins Change Event (Event):
@EventHandler
public void onCoinsChange(CoinsChangeEvent event) { }
If there are any bugs or suggestions let me know! (on discord)
Contact (English and German):
Discord: https://discord.gg/bQQcpTj | Spoocy99#9999
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