ModsJava
JDBC-HELPER
Java mod listed for Minecraft 1.7–1.8. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot FEATURES:
JDBC-HELPER is an API to help developers in database tasks, was created by google aproximately in 2010, I simply take this API and create a plugin compatible with bukkit and spigot, it is very light but at the same time it is very Powerful, all the credits for the creators, the api possesses license Apache License 2.0
Hello World with the API:
TUTORIAL (ESPAÑOL):
JDBC-HELPER is an API to help developers in database tasks, was created by google aproximately in 2010, I simply take this API and create a plugin compatible with bukkit and spigot, it is very light but at the same time it is very Powerful, all the credits for the creators, the api possesses license Apache License 2.0
Hello World with the API:
Code (Text):
private static final JdbcHelper jdbc = new JdbcHelper(getDataSource());
private static SimpleDataSource getDataSource() {
String jdbc_driver = "com.mysql.jdbc.Driver";
String jdbc_url = "jdbc:mysql://localhost:3306/minecraft";
String jdbc_user = "root";
String jdbc_pass = "";
return new SimpleDataSource(jdbc_driver, jdbc_url, jdbc_user, jdbc_pass);
}
public static void registerPlayer(Player p) {
try {
String sql = "INSERT INTO users (uuid, name) VALUES (?, ?)";
String uuid = p.getUniqueId().toString();
String name = p.getName();
jdbc.execute(sql, new Object[]{uuid, name});
} catch (Exception e) {
e.printStackTrace();
}
}
private static SimpleDataSource getDataSource() {
String jdbc_driver = "com.mysql.jdbc.Driver";
String jdbc_url = "jdbc:mysql://localhost:3306/minecraft";
String jdbc_user = "root";
String jdbc_pass = "";
return new SimpleDataSource(jdbc_driver, jdbc_url, jdbc_user, jdbc_pass);
}
public static void registerPlayer(Player p) {
try {
String sql = "INSERT INTO users (uuid, name) VALUES (?, ?)";
String uuid = p.getUniqueId().toString();
String name = p.getName();
jdbc.execute(sql, new Object[]{uuid, name});
} catch (Exception e) {
e.printStackTrace();
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8
- 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.
JDBC-HELPER is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8. Downloaded 103 times (via Spigot). Download it and open it directly in the game.