HomeJavaModsCurrency (Economy API)
Currency (Economy API)
[​IMG] by TheySeeMeRolling

Currency is a simple, lightweight and yet very effective economy handling plugin. It provides a very easy API for the developer to use. Manage your whole server in-game money with this plugin!

[​IMG] Latest version: 1.0. Compatible with Spigot 1.8.8 (1.7.9 too!)


[​IMG] Dev Builds (COMING SOON)

Features:

Todo
API (For developers)

Registering our main economy class:
Code (Text):

Balance bal = Balance.getInstance();
 
Getting a players balance:
Code (Text):

bal.get(player);
 
Adding money to a players balance:
Code (Text):

bal.add(player, 1000);
 
Taking money away from a players balance:
Code (Text):

bal.withdraw(player, 100);
 
Setting a players balance:
Code (Text):

bal.set(player, 2000);
 
Transferring the players balance to another player
Code (Text):

bal.transfer(player, target);
 
Paying another player
Code (Text):

bal.pay(player, target, 2000);
 
Checking if the player has a insufficient balance
Code (Text):

bal.insufficient(player, 1000);[/FONT]

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.

Currency (Economy API) is a free Minecraft Java mod. Downloaded 2,320 times (via Spigot). Download it and open it directly in the game.

Explore more