CoinsAPI 1.0

With this plugin you can use mysql coins on every Server

  1. Raytex
    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
    Raytex signatur.jpg
    • Im a Developer that turns Pizza into Plugins. If you want support me with PayPal, click here.

Recent Reviews

  1. GamerzEnte
    Version: 1.0
    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'
  2. ToxienPvP
    Version: 1.0
    An sich eine ziemlich gute API.
    Vielleicht solltest du die Abfragen lieber Asynchron stellen um die Laggs zu reduzieren.
  3. ProudValley
    Version: 1.0
    Die API wirkt ziemlich positiv auf mich, allerdings erstellt er bei mir in der mysql.yml nicht den String password :(
    Bitte fixen!
  4. UnknownDev
    Version: 1.0
    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
    1. Raytex
      Author's Response
      Thank you. I will change it when i have enough time for it.
  5. Gomze
    Version: 1.0
    Great for MiniGames Server. Thanks!
    Super für MiniGames Server! Danke!
    Ich werds vllt benutzen ^^
    1. Raytex
      Author's Response
      Vielen Dank für deine Bewertung :)