CoinsAPI [MySQL] 1.0.1

A CoinsAPI using MySQL

  1. Spoocy
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    CoinsAPI v1.0
    MySQL required!

    Use CoinsAPI as 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

    Coins.PNG
    Get your coins with /coins or others with /coins [player]

    Coins_SET.PNG
    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:
    Get the uuid:
    player.getUniqueId().toString();

    Get Coins:
    CoinsAPI.getCoins(uuid);

    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

Recent Updates

  1. Update 1.0.1