parent
516cd09daa
commit
0649ad6490
|
@ -39,12 +39,15 @@ public class MiaoLobby extends JavaPlugin implements CommandExecutor {
|
|||
Bukkit.getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
|
||||
if (config.AutoTP) {
|
||||
new LoginHook();
|
||||
Log.info("已配置为自动传送模式!");
|
||||
} else if (config.LoginAutoTP) {
|
||||
if (Bukkit.getPluginManager().isPluginEnabled("AuthMe")) {
|
||||
new AuthMeHook();
|
||||
Log.info("已配置为AuthMe登录传送模式!");
|
||||
}
|
||||
if (Bukkit.getPluginManager().isPluginEnabled("VBossAuth")) {
|
||||
new VBossAuthHook();
|
||||
Log.info("已配置为VBossAuth登录传送模式!");
|
||||
}
|
||||
}
|
||||
new Statistics();
|
||||
|
|
Loading…
Reference in New Issue