mirror of
https://e.coding.net/circlecloud/MiaoLobby.git
synced 2024-11-18 04:18:48 +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");
|
Bukkit.getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
|
||||||
if (config.AutoTP) {
|
if (config.AutoTP) {
|
||||||
new LoginHook();
|
new LoginHook();
|
||||||
|
Log.info("已配置为自动传送模式!");
|
||||||
} else if (config.LoginAutoTP) {
|
} else if (config.LoginAutoTP) {
|
||||||
if (Bukkit.getPluginManager().isPluginEnabled("AuthMe")) {
|
if (Bukkit.getPluginManager().isPluginEnabled("AuthMe")) {
|
||||||
new AuthMeHook();
|
new AuthMeHook();
|
||||||
|
Log.info("已配置为AuthMe登录传送模式!");
|
||||||
}
|
}
|
||||||
if (Bukkit.getPluginManager().isPluginEnabled("VBossAuth")) {
|
if (Bukkit.getPluginManager().isPluginEnabled("VBossAuth")) {
|
||||||
new VBossAuthHook();
|
new VBossAuthHook();
|
||||||
|
Log.info("已配置为VBossAuth登录传送模式!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
new Statistics();
|
new Statistics();
|
||||||
|
Loading…
Reference in New Issue
Block a user