You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
628 B
24 lines
628 B
3 years ago
|
package org.poopki.duckdns.user_db;
|
||
|
|
||
|
import org.bukkit.event.Listener;
|
||
|
import org.bukkit.plugin.java.JavaPlugin;
|
||
|
import org.poopki.duckdns.user_db.DB.*;
|
||
|
import java.sql.Connection;
|
||
|
import java.sql.Statement;
|
||
|
|
||
|
|
||
|
public final class User_DB extends JavaPlugin implements Listener {
|
||
|
UserInfoArray m_UIA = new UserInfoArray();
|
||
|
|
||
|
@Override
|
||
|
public void onEnable() {
|
||
|
// Plugin startup logic
|
||
|
Connection conn = new DBConnect().connectDB();
|
||
|
getServer().getPluginManager().registerEvents(new UserJoin(m_UIA),this);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onDisable() {
|
||
|
// Plugin shutdown logic
|
||
|
}
|
||
|
}
|