Usage:
Code (Text):MySQL.SQL(String host, Integer port, String database, String user, String password); // To Create a connection (Only if CoinsAPI Config not work!)
MySQL.close(); // To close a Connection
MySQLStats.createAccount(Player p); // To create a Coins Account for the Player. (CoinsAPI - JoinEvent)
MySQLStats.getCoins(Player p); // Returns the Coins Amount of the Player (Integer)
MySQLStats.addCoins(Player p, int Amount); // Adds Coins to the Players Account
MySQLStats.removeCoins(Player p, int Amount); // Removes Coins to the Players Account
MySQLStats.setCoins(Player p, int Amount); // Sets the Coins of the Player to Amount![]()
Donate:
- Im a Developer that turns Pizza into Plugins. If you want support me with PayPal, click here.

CoinsAPI 1.0
With this plugin you can use mysql coins on every Server
Recent Reviews
-
GamerzEnte
- 4/5,
Echt super aber...
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'UUID' in 'where clause'
[MySQL] Connection established!
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'Coins' in 'field list'
java.lang.NullPointerException -
ToxienPvP
- 4/5,
An sich eine ziemlich gute API.
Vielleicht solltest du die Abfragen lieber Asynchron stellen um die Laggs zu reduzieren. -
ProudValley
- 4/5,
Die API wirkt ziemlich positiv auf mich, allerdings erstellt er bei mir in der mysql.yml nicht den String password :(
Bitte fixen! -
UnknownDev
- 4/5,
Great API and a Good Developer as Well but the one thing
i would give this API 5 Stars BUT! the thing that the variables starts with MySQL & MySQLStats is weird because many devs + me are using this one for like stats systems so if you are gonna change it i would give you 5 Stars -
Gomze
- 5/5,
Great for MiniGames Server. Thanks!
Super für MiniGames Server! Danke!
Ich werds vllt benutzen ^^
-Flo-
Author's Response
Vielen Dank für deine Bewertung :)