CoinSystem 1.1

CoinApi (only Spigiot)

  1. Ko20007
    Tested Minecraft Versions:
    • 1.8
    coins-3344603_1280.png
    Coin System

    [By Ko20007]

    How do you get the coins from a player
    Code (Java):
    Coins.getPlayer(String UUID).getCoins()
    How to set a player's coins
    Code (Java):
    Coins.getPlayer(String UUID)).setCoins(double coins);
    How to give coins to a player
    Code (Java):
    Coins.getPlayer(String UUID).addCoins(double coins);
    How to reset a player's coins
    Code (Java):
    Coins.getPlayer(String UUID).resetCoins();
    How to take away a player's coins
    Code (Java):
    Coins.getPlayer(String UUID).substractCoins(double coins);


    Code (Text):
    coins:
      command:
        enabled: true
        disabledMessage: This command is deactivated!
    pay:
      command:
        enabled: false
        disabledMessage: This command is deactivated!
     


    Admin permission:
    Code (Text):
    System.CoinAdmin


    3 ✓
    5 ✓
    10 ✓ (cracked mode update) ~~> Update In Work....
    20 ✓ (MySQL & Bungee update) ~~> Update In Work.....
    40 ✗
    100 ✗