mirror of
https://e.coding.net/circlecloud/MiaoLobby.git
synced 2024-11-17 20:08:46 +00:00
feat: 添加启用的Hook
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
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
Block a user