ShadowDisableCommand
This plugin allows you to disable players from doing any command you want, even if they have the permission node for it and/ or '*' permissions. The only way they can perform the command is if their username is in the plugin's admins.txt file.
How It Works
In the config file you can set a list of all the commands you want to disable players from being able to do. If you decide there are some players that should be allowed to do these commands you simply add their username into the admins.txt file.
Installation/ Configuration
- Put the plugin into your servers plugins folder.
- Restart the server and run any command as a player.
- Open the config.yml file that is generated and follow the instructions there on how to configure the plugin.
- In the admins.txt file simply type the usernames of all the players you want to be able to perform the commands in the config.yml file you disabled.
- You're ready to enjoy the plugin.
Features
- Disable an unlimited number of any commands for players whose username's aren't in the admins.txt file.
Permissions
This plugin has no permission nodes. Instead you enter the usernames of any players you wish to still perform the commands you disabled in the admins.txt file.
Commands
This plugin has none of its own commands.
Git Repository
You can find ShadowDiableCommands on GitHub here: https://github.com/ljlangley13/ShadowDisableCommand
Thank You
Thank you for using my plugin. If you have any other questions or need help setting up the plugin please feel free to comment or send me a PM.
I think it should be set to: all players cannot use any command.
Then add commands to the configuration file that the player can use.
Because it was too painful for me to add all the commands!!!
If I type in a command that the player is not allowed to use lowercase.But he can still type commands in uppercase,And to take effect.
In addition, I think this plug-in is very useful~
@bugalugs50
You're welcome, I hope it helps with stopping your hacks/ griefs. If there's anything else I can do please let me know :)
Ok Thanks for that, I've put it on and I see it does that. I just hope you help me; I've had such a massive hack-grief recently by someone who somehow opped themselves, and I hear there are videos out on how to do this. It's terrifying. Soon we'll all give up paying for servers for these unappreciative jerks! Thanks for helping.
@kezzawozza
You should make an admins.txt file inside the directory /plugins/MrCommand. You then list all the players you want to be able to do the blocked commands. It's not any mean server admins.txt file. :)
Hi, I thought you meant there would be an admins txt file inside your plugin's configs; am I to understand you mean the server admins txt file? Because this will not work for me; I don't want to op people to allow some to do, for example, /plugins etc. I'll try using it to just disable some commands, but it would have been more useful if there was a list of allowed players in your configs. I've had hackers add themselves to the admins txt; that's the first thing they do. It would be great if a backstop were in your plugin. Thanks, I'll try it and see.