Sueta
CO

CoinAPI | FileSystem and SQL

1.2

A CoinAPI for any Spigot Server

·Plugin

FEATURES:
- MySQL support
- FileSystem support
- MessagesFile
-UUID support
-Ingame Commands

USAGE:

//GetMoney
CoinAPI.getMoney(Player p);
CoinAPI.getMoney(String name);

//SetMoney
CoinAPI.setMoney(Player p, Integer amount);
CoinAPI.setMoney(String name, Integer amount);

//RemoveMoney
CoinAPI.removeMoney(Player p, Integer amount);
CoinAPI.removeMoney(String name, Integer amount);

//AddMoney
CoinAPI.addMoney(Player p, Integer amount);
CoinAPI.addMoney(String name, Integer amount);

//PayMoney
CoinAPI.payMoney(Player p, Player t, Integer amount);

COMMANDS:
- /coins [Player]
- /coins <add/remove/set> [Player] <amount>
- /pay <Player> <amount>

Permissions (Only for the Commands):

- CoinAPI.coins - For /coins
- CoinAPI.other - For /coins <Player>
- CoinAPI.edit.self - For /coins <add/remove/set> <coins>
- CoinAPI.edit.other - For /coins <add/remove/set> <Player> <coins>

Similar projects

Plugin →