Usage:
Donate:
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
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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.