CoinsAPI by HashCodeDevelopment
Spigot 1.8.8
Commands
/coins add <Player> <Amount> | Permission: coins.admin
/coins set <Player> <Amount> | Permission: coins.admin
/coins remove <Player> <Amount> | Permission: coins.admin
/coins pay <Player> <Amount> | Permission: None
How-to-use
- Import HashCodeDev-CoinsAPI.jar as an API into your project.
- Add this line to your plugin.yml: depend: [HashCodeDev-CoinsAPI]
- Start using our API!
Methods
//This will add the specified amount of coins to our player:
void addCoins(UUID, int);
//This will remove the specified amount of coins from our player:
void removeCoins(UUID, int);
//This will reset the coins of our player to zero and it will add him the specified amount of coins:
void setCoins(UUID, int);
//This will remove the specified amount of coins from the first UUID and add it to the second UUID:
void payCoins(UUID, UUID, int);
//This will return the amount of coins from our player:
int getCoins(UUID);
//This will return true if our player has the specified amount of coins:
boolean hasCoins(UUID, int);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