mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Improvements for servers using permissions
This commit is contained in:
parent
d7cbbc8d52
commit
d8c6c3b4a8
@ -71,6 +71,7 @@ public class PlexCMD extends PlexCommand
|
||||
}
|
||||
if (args[1].equalsIgnoreCase("reload"))
|
||||
{
|
||||
checkRank(sender, Rank.SENIOR_ADMIN, "plex.modules.reload");
|
||||
plugin.getModuleManager().unloadModules();
|
||||
plugin.getModuleManager().loadAllModules();
|
||||
plugin.getModuleManager().loadModules();
|
||||
|
@ -18,6 +18,7 @@ public class CommandHandler extends PlexBase
|
||||
commands.add(new AdminCMD());
|
||||
commands.add(new DeopAllCMD());
|
||||
commands.add(new DeopCMD());
|
||||
commands.add(new ListCMD());
|
||||
commands.add(new OpAllCMD());
|
||||
commands.add(new OpCMD());
|
||||
commands.add(new RankCMD());
|
||||
@ -26,7 +27,6 @@ public class CommandHandler extends PlexBase
|
||||
{
|
||||
commands.add(new DebugCMD());
|
||||
}
|
||||
|
||||
commands.add(new AdminChatCMD());
|
||||
commands.add(new AdminworldCMD());
|
||||
commands.add(new AdventureCMD());
|
||||
@ -36,7 +36,6 @@ public class CommandHandler extends PlexBase
|
||||
commands.add(new FlatlandsCMD());
|
||||
commands.add(new FreezeCMD());
|
||||
commands.add(new KickCMD());
|
||||
commands.add(new ListCMD());
|
||||
commands.add(new LocalSpawnCMD());
|
||||
commands.add(new LockupCMD());
|
||||
commands.add(new MasterbuilderworldCMD());
|
||||
|
Loading…
Reference in New Issue
Block a user