CoinsAPI 1.0

With this plugin you can use mysql coins on every Server

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

Recent Reviews

  1. GamerzEnte
    GamerzEnte
    4/5,
    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'
    java.lang.NullPointerException
  2. ToxienPvP
    ToxienPvP
    4/5,
    Version: 1.0
    An sich eine ziemlich gute API.
    Vielleicht solltest du die Abfragen lieber Asynchron stellen um die Laggs zu reduzieren.
  3. ProudValley
    ProudValley
    4/5,
    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
    UnknownDev
    4/5,
    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
    Gomze
    5/5,
    Version: 1.0
    Great for MiniGames Server. Thanks!
    Super für MiniGames Server! Danke!
    Ich werds vllt benutzen ^^
    -Flo
    1. Raytex
      Author's Response
      Vielen Dank für deine Bewertung :)