Thats it. a plugin to disable commands used by another plugins
Solved Disable commands from plugins
Discussion in 'Plugin Requests' started by RencaR, Jan 27, 2017.
-
Wulf Community Admin
Why do you need to disable a plugin's commands?
-
Control + F for "ChatCommand" or "Command" if the plugin is covalence, then delete the block.
-
-
Disable commands for x group, bassed on permission.
Example: i dont want a group to have access to all the commands from one plugin, but i want another group who can. It will make it easier for other plugins too, instead of adding permission on every plugin you could use a plugin who set permissions for the commands, and handle a lot of permissions in only one plugin. does it make any sense ?
plus: people whitout knowledge of c# could add permission to every command they want toLast edited by a moderator: Jan 27, 2017 -
Wulf Community Admin
If you made a plugin, it wouldn't know if the command was from a plugin in many instances. The best you could do is intercept chat commands only, and only if they send the / with them. -
It isnt the same amount of work, because with a whitelist, the admin does the work (just whitelist a string) instead of the plugin developer. but i get it, its pretty much the same!
Also you could set the permissions as you want. Example: "Bounty" has multiple commands, one to set a bounty, another one to collect the payment, etc. you could assign the collect command to the default group, and the one to make bounties to the VIP group.
A lot of the plugins comes with just 1 o 2 perm to make it work on the dessigned group or not; it doesnt give you too much freedom!
I mean, in every plugin post u will see someone asking for perms!
PD: ty for your wisdom!
and sorry for my english!Last edited by a moderator: Jan 30, 2017 -
Wulf Community Admin
-
-
Wulf Community Admin