mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Added multi-world settings along with a reload function.
This commit is contained in:
1 parent
272bd83382
commit
f2475d5803
6 files changed
+333
-255
No files matched your search
@@ -102,6 +102,14 @@ public class CommandManager implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(args[0].equalsIgnoreCase("reload"))
|
||||
{
|
||||
if(hasPermission("admin",cs))
|
||||
{
|
||||
plugin.config.load();
|
||||
cs.sendMessage(green+"AntiCheat configuration reloaded.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cs.sendMessage("Unrecognized command.");
|
||||
|
||||
Reference in new issue
Block a user