readme
This commit is contained in:
@@ -40,7 +40,7 @@ class PlugHide : JavaPlugin(), Listener {
|
||||
// Block restricted commands for non-OPs
|
||||
if (blockedCommands.contains(command)) {
|
||||
event.isCancelled = true
|
||||
player.sendMessage("§cUnknown command. Type \"/help\" for help.")
|
||||
player.sendMessage("§cInsufficient Permission!.")
|
||||
logger.info("Player ${player.name} attempted to use blocked command: $command")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user