mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27: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"))
|
if (args[1].equalsIgnoreCase("reload"))
|
||||||
{
|
{
|
||||||
|
checkRank(sender, Rank.SENIOR_ADMIN, "plex.modules.reload");
|
||||||
plugin.getModuleManager().unloadModules();
|
plugin.getModuleManager().unloadModules();
|
||||||
plugin.getModuleManager().loadAllModules();
|
plugin.getModuleManager().loadAllModules();
|
||||||
plugin.getModuleManager().loadModules();
|
plugin.getModuleManager().loadModules();
|
||||||
|
@ -18,6 +18,7 @@ public class CommandHandler extends PlexBase
|
|||||||
commands.add(new AdminCMD());
|
commands.add(new AdminCMD());
|
||||||
commands.add(new DeopAllCMD());
|
commands.add(new DeopAllCMD());
|
||||||
commands.add(new DeopCMD());
|
commands.add(new DeopCMD());
|
||||||
|
commands.add(new ListCMD());
|
||||||
commands.add(new OpAllCMD());
|
commands.add(new OpAllCMD());
|
||||||
commands.add(new OpCMD());
|
commands.add(new OpCMD());
|
||||||
commands.add(new RankCMD());
|
commands.add(new RankCMD());
|
||||||
@ -26,7 +27,6 @@ public class CommandHandler extends PlexBase
|
|||||||
{
|
{
|
||||||
commands.add(new DebugCMD());
|
commands.add(new DebugCMD());
|
||||||
}
|
}
|
||||||
|
|
||||||
commands.add(new AdminChatCMD());
|
commands.add(new AdminChatCMD());
|
||||||
commands.add(new AdminworldCMD());
|
commands.add(new AdminworldCMD());
|
||||||
commands.add(new AdventureCMD());
|
commands.add(new AdventureCMD());
|
||||||
@ -36,7 +36,6 @@ public class CommandHandler extends PlexBase
|
|||||||
commands.add(new FlatlandsCMD());
|
commands.add(new FlatlandsCMD());
|
||||||
commands.add(new FreezeCMD());
|
commands.add(new FreezeCMD());
|
||||||
commands.add(new KickCMD());
|
commands.add(new KickCMD());
|
||||||
commands.add(new ListCMD());
|
|
||||||
commands.add(new LocalSpawnCMD());
|
commands.add(new LocalSpawnCMD());
|
||||||
commands.add(new LockupCMD());
|
commands.add(new LockupCMD());
|
||||||
commands.add(new MasterbuilderworldCMD());
|
commands.add(new MasterbuilderworldCMD());
|
||||||
|
Loading…
Reference in New Issue
Block a user