Permissions for register_concmd
Hello,
I've added a "concmd" to the galileo plugin with ADMIN_LEVEL_B permission level, but I can only execute that command if I also have the ADMIN_MAP level set to an admin. Why is that? I don't want to set ADMIN_MAP permission to the admins that will have permission to use that command, have I done anything wrong? Here is the code: Quote:
Regards, Thomas |
Re: Permissions for register_concmd
Change the permissions in the configs/cmdaccess.ini file
|
Re: Permissions for register_concmd
If it's an existing command then it does no good to change it in the plugin (and is a waste of time) because all commands and their permissions are retrieved from cmdaccess.ini after the first time the plugin has run.
|
Re: Permissions for register_concmd
Hello,
yep, that's done it. It wasn't an existing command, but I must have run the plugin with ADMIN_MAP flag first. So changing cmdaccess.ini file did the trick. Thank you! Regards and happy new year! |
| All times are GMT -4. The time now is 13:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.