This API will help you to create a MySQL connection. You should have the opportunity to store data very easily. In the most cases, MySQL is the best way. Creating a working MySQL connection can be quite difficult and annoying. With this API, you can create a connection to your database just by using one method.
Spoiler
Create a MySQL-Connection:
MySQL mysql = new MySQL("HOST", "DATABASE", "USER", "PASSWORD");Open connection:
mysql.Connect();Close connection:
mysql.Disconnect();Check if connected:
if(isConnected() == true) {
System.out.println("Is connected");
}Get an Result:
String strResult= "Text";
ResultSet rs = MainClass.main.mysql.GetResult("YOUR QUERY");
if (rs.next()) {
strResult = rs.getString("Table ColumnName");
}Execute a normal command:
ExecuteCommand("Command");Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta