diff --git a/Claim-Management.md b/Claim-Management.md index 60db802..e6afef6 100644 --- a/Claim-Management.md +++ b/Claim-Management.md @@ -261,4 +261,39 @@ Use `/cfdebug` to put yourself into claim flag debug mode then perform any actio 2. Stand in wilderness claim. 3. Execute command `/cpg false` -Note: The same steps can be applied to any claim. \ No newline at end of file +Note: The same steps can be applied to any claim. + +**9. How do I stop a player from executing a command in a claim like `/sethome` ?** + +* Deny the permission on a group in claim. + +1. Stand in claim where you want to deny the permission. +2. Execute command `/cpg false` +ex. To deny the permission `essentials.sethome` for group `default` +`/cpg default essentials.sethome false` + +* Deny the permission on a single player in claim. + +1. Stand in claim where you want to deny the permission. +2. Execute command `/cpp false` +ex. To deny the permission `essentials.sethome` for player `Mike` +`/cpp Mike essentials.sethome false` + +OR + +* Deny the command-execute flag on a group in claim. + +1. Stand in claim where you want to deny the `command-execute` flag. +2. Execute command `/cfg command-execute false` +ex. To deny the essentials command `/sethome` for group `default` +`/cfg default command-execute essentials:sethome false` + +* Deny the command-execute flag on a single player in claim. + +1. Stand in claim where you want to deny the `command-execute` flag. +2. Execute command `/cfp command-execute false` +ex. To deny the essentials command `/sethome` for player `Mike` +`/cfp Mike command-execute essentials:sethome false` + +Note: Use `/gddebug record claim` to get the proper info for command. +See https://github.com/bloodmc/GriefDefender/wiki/Debugging for more info. \ No newline at end of file