Features
- MySQL and File Saving
- BungeeCord Support
- All messages are cusomizable
- Set, Add, Remove, Remove If Enough (and execute command if enough) and Pay Tokens
- UUID Compatible
Plugins using the api
- MobTokens by @TheSugarChris (page)
Setup
- Download the plugin and upload it to your server.
- Reload!
- Edit the configuration
- Done!
Permissions
- tokens.add to acces the /tokens add <player> <amount> command
- tokens.remove to acces the /tokens remove <player> <amount> command
- tokens.removeifenough to acces the /tokens removeifenough <player> <amount> <command> command (use the %player% tag in the <command> if you need the player name)
- tokens.set to acces the /tokens set <player> <amount> command
- tokens.info to acces the /tokens info command
- tokens.pay to acces the /tokens pay <player> <amount> command
API
I made an API for developers
If you made a plugin using this api, please tell me! (Ill add it on this page)
I made an API for developers

If you made a plugin using this api, please tell me! (Ill add it on this page)
Examples:
Code (Text):
//First download the plugin and add it to your build path.[/SIZE][/FONT][/LEFT][/SIZE][/FONT][/LEFT][/SIZE][/FONT][/LEFT]
[FONT=Arial][SIZE=3]
[LEFT][FONT=Arial][SIZE=3]
[LEFT][FONT=Arial][SIZE=3][LEFT]//When you've done that get the api by using this:
TokenCore api = (TokenCore) getServer().getPluginManager().getPlugin("MySQLTokens");
//To add tokens to a player's balance use:
api.addTokens(targetPlayer, amount);
//To remove tokens from a player's balance use:
api.removeTokens(targetPlayer, amount);
//To set a player's balance use:
api.setTokens(targetPlayer, amount);
//To remove tokens if a player has enough tokens to do something use:
if(api.removeIfEnoughTokens(targetPlayer, amount) == true){
//Do Stuff
}
else {
targetPlayer.sendMessage(ChatColor.RED + "You dont have enough tokens to perform this action!");
}
//To get a player's balance use:
api.getTokens(targetPlayer);
[FONT=Arial][SIZE=3]
[LEFT][FONT=Arial][SIZE=3]
[LEFT][FONT=Arial][SIZE=3][LEFT]//When you've done that get the api by using this:
TokenCore api = (TokenCore) getServer().getPluginManager().getPlugin("MySQLTokens");
//To add tokens to a player's balance use:
api.addTokens(targetPlayer, amount);
//To remove tokens from a player's balance use:
api.removeTokens(targetPlayer, amount);
//To set a player's balance use:
api.setTokens(targetPlayer, amount);
//To remove tokens if a player has enough tokens to do something use:
if(api.removeIfEnoughTokens(targetPlayer, amount) == true){
//Do Stuff
}
else {
targetPlayer.sendMessage(ChatColor.RED + "You dont have enough tokens to perform this action!");
}
//To get a player's balance use:
api.getTokens(targetPlayer);
Todo List
- Suggest features here
Hope you like it
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
MySQL Tokens is a free Minecraft Java mod. Downloaded 2,097 times (via Spigot). Download it and open it directly in the game.