MobcoinAPI (For ElementalMobCoins) icon

MobcoinAPI (For ElementalMobCoins) -----

The Official public API for the premium plugin "ElementalMobCoins"



This is a simple library for you guys to use to hook into ElementalMobCoins without having to purchase the plugin :)


Notes:
- This is NOT a plugin.
- Do NOT put this in your server's "plugins" folder
- You will be REQUIRED to update to v1.1.0 (or later) of ElementalMobCoins for this to work

Installation:
- To use this API, simply import this file into your project's build path. Once that is done. You will need to go into your project's "plugin.yml" file and add
Code (Text):
softdepend: [ElementalMobCoins]
Methods:
Code (Text):
//Get a player's Mobcoin balance
MobcoinAPI.getCoins(uuid);

//Set a player's mobcoin balance
MobcoinAPI.setCoins(uuid, newBalance);

//Add mobcoins to a player's balance
MobcoinAPI.addCoins(uuid, depositAmount);

//Remove mobcoins from a player's balance
MobcoinAPI.removeCoins(uuid, withdrawAmount);

//Check if a player is in the ElementalMobCoins database
MobcoinAPI.playerExists(uuid);

//Retreive the Mobcoin Item
MobcoinAPI.getMobcoinItem();

//Register a NEW player with the set default balance
MobcoinAPI.registerNewPlayer(uuid);

//Get a list of all currently registered players
MobcoinAPI.getRegisteredPlayers();

//Checks if the current item is a valid Mobcoin
MobcoinAPI.isMobcoin(item);
 
If you have any questions or concerns about this API, feel free to contact me via private message or join my discord and @ me :p https://discord.gg/Qqf8BfN
Resource Information
Author:
----------
Total Downloads: 48
First Release: Nov 16, 2021
Last Update: Nov 16, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings