mirror of
https://github.com/CarmJos/MineSQL.git
synced 2026-06-05 09:01:42 +08:00
sync with github
This commit is contained in:
+10
-3
@@ -2,16 +2,19 @@ package cc.carm.plugin.easysql;
|
||||
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.velocitypowered.api.event.Subscribe;
|
||||
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
|
||||
import com.velocitypowered.api.plugin.Plugin;
|
||||
import com.velocitypowered.api.proxy.ProxyServer;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
|
||||
@Plugin(id = "easysql-plugin", name = "EasySQL Plugin For Velocity", version = "1.0.0",
|
||||
description = "",
|
||||
url = "https://github.com/CarmJos/EasySQL-Plugin", authors = "CarmJos"
|
||||
)
|
||||
public class EasySQLVelocity {
|
||||
public class EasySQLVelocity {
|
||||
|
||||
private static EasySQLVelocity instance;
|
||||
|
||||
@@ -23,10 +26,10 @@ public class EasySQLVelocity {
|
||||
instance = this;
|
||||
this.server = server;
|
||||
this.logger = logger;
|
||||
|
||||
// register listeners
|
||||
server.getEventManager().register(this,this);
|
||||
}
|
||||
|
||||
|
||||
public static EasySQLVelocity getInstance() {
|
||||
return instance;
|
||||
}
|
||||
@@ -39,5 +42,9 @@ public class EasySQLVelocity {
|
||||
return logger;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
public void onInitialize(ProxyInitializeEvent event) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user