Have you ever had this happen to you? You make a server, set up all your permissions, and then some pesky player comes along and runs a command you completely forgot to block access to!
Maybe you don't want people to know what plugins you do and don't have, but it's hard when all of the "no permission" messages are different!
Or maybe you just want a little bit of consistency in your server, and enjoy when every message is customizable, but don't want the hassle of going through every plugin's access denied message.
Introducing, LimitedCommands! The one-stop-shop for blocking access to commands on your server! LimitedCommands is super simple and lightweight, and very easy to use! Just add commands you want players to use to the config list, set up what your denied message should be, and the plugin will take care of the rest! It's that easy!
This plugin only has one command of its own, and that's
/lcreload to reload the configuration. This command requires the player to have the permission
limitedcommands.reload, and of course they need to be able to access it either by being in a LimitedCommands group that allows that command, or by having the bypass permission set in the config.
All other permissions are set by the user, including the unlimited bypass permission (default
limitedcommands.admin).
The configuration of this plugin is very simple:
Code (Text):
#Set the denied message for commands that the player cannot use.
#You can use any color codes you want here. (&b for light blue, &l for bold, etc.)
message: "&c&lYou do not have permission to use this command!"
#Players with this permission will not be blocked from using any commands.
#This is meant for administrators and owners, but I won't tell you what to do.
unlimitedbypass: limitedcommands.admin
#List all commands you want different groups to be able to use
#You can add as many or as little groups as you like, with as many commands as you like, and with any permission.
#If you don't give players any of the following permissions, they won't be able to use any commands at all.
default:
permission: limitedcommands.default
commands:
- spawn
- home
- warp
- msg
helper:
permission: limitedcommands.helper
commands:
- mute
- kick
- socialspy
moderator:
permission: limitedcommands.moderator
commands:
- ban
- tp
- unban
For plugin support, or to hang out with some cool people, join my discord server: http://discord.the-cove.co