Home›Java›Mods›CoinsAPI
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.
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.

CoinsAPI is a free Minecraft Java mod. Downloaded 423 times (via Spigot). Download it and open it directly in the game.

Explore more