Home›Java›Mods›CoinsAPI » by HashCodeDevelopment
CoinsAPI » by HashCodeDevelopment
ModsJava

CoinsAPI » by HashCodeDevelopment

Java mod listed for Minecraft 1.8. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
CoinsAPI by HashCodeDevelopment
Spigot 1.8.8

Commands


Code (Text):

/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

  1. Import HashCodeDev-CoinsAPI.jar as an API into your project.
  2. Add this line to your plugin.yml: depend: [HashCodeDev-CoinsAPI]
  3. Start using our API!

Methods

Code (Text):

//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);
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CoinsAPI » by HashCodeDevelopment is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 306 times (via Spigot). Download it and open it directly in the game.

Explore more