Description
This mod allows you to prevent users from using commands. The functionality is controlled entirely in the config and by default this mod will not do anything. With this mod you can customize four things:
- What commands are blocked by the mod.
- What message is displayed when permission is denied for this mod.
- Whether or not ops are exempt from the effects of this mod.
- What specific players are exempt.
If you have any questions, would like to request a feature, or just hang out, feel free to join our discord.
Below is an example config that demonstrates how you can block the use of /give and /tp for all normal players.
# Configuration file
general {
# A list of commands to block. These commands will be blocked when players try to execute them. [default: ]
S:blockedCommands <
give
tp
>
# The message to send to the player when they are not allowed to use a command. §a-f and §0-9 for different colors [default: §cYou don't have permission to use this command!]
S:denyMessage=§cYou don't have permission to use this command
# Whether or not to exempt ops from these restrictions. Default is true. [default: true]
B:exemptOps=true
# A list of users by UUID exempt from these restrictions. You can find a user's UUID here: https://mcuuid.net [default: ]
S:exemptUsers <
>
}


