Sueta

CoinsAPI ▶ FREE & SIMPLE TO USE ◀

1.2

A system of simple currency with an API for developers, the plugin uses MySQL

·Plugin

Sans-titre-2.png

THIS PROJECT IS ABANDONNED

Coins ? What is it ? All is said in the name, this is a plugin which is going to seem very useful especially for the servers mini-games. Let us pass in details during the descritpion!

Don't forget to note and comment this plugin!

First of all, you have to connect the plugin to yout MySQL database as indicated just down.

config.yml

host: 127.0.0.1
port: 3306
user: root
pass: admin
database: coins (NAME OF YOUR DATABASE)
startCoins: 0
activeCommands: true

It's really simple to use this API, if you are a Java Developer, this API is made for you! Tutoriel young below.

API

Player player;

CoinsAPI.getCoins(player);
// Return coins of the player

CoinsAPI.addCoins(player, 10);
// Add coins

CoinsAPI.removeCoins(player, 5);
// Remove coins

CoinsAPI.setCoins(player, 20);
// Set coins

Let us pass to the commands.

Commands

/coins help | Show the help message.
/coins get <player> | Get the number of coins which has the player.
/coins add <player> <amount> | Add money to the player.
/coins set <player> <amount> | Set money to the player.

Permission for all the commands: "CoinsAPI.use"

And some screenshots.

Screenshots

Screenshot_1.png

Screenshot_2.png

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png

You like my work?
Donation.

10 DOWNLOADS
50 DOWNLOADS

100 DOWNLOADS
200 DOWNLOADS
500 DOWNLOADS
1000 DOWNLOADS

TESTED ON SPIGOT 1.8

And well, your Coins are to store and can be used as you please!
If you meet the slightest concerns, do not hesitate to contact me by Skype or Twitter

Skype: alexis72000
Twitter: ItsAlexousd
Spigot: @ItsAlexousd

MY LAST PLUGIN : https://www.spigotmc.org/resources/pitchout.16334/

Similar projects

Plugin →