-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matchzy ignores admin_overrides.json #108
Comments
Hey! The first priority is given to CSS's admin system only, then later on MatchZy's admin.json is checked. The difference in "you don’t have the permission" message is because how we check the admin permissions (In Thanks for letting me know about it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A lot of people (me included) had the demand to be able to make a command available for everyone.
After I requested this in the counterstrikesharp discord they implemented a way to do so: you can now remove all flag requirements for a command in the admin_overrides.json.
This was tested and works flawlessly with other css plugins.
Now the issue is: it doesn’t work with matchzy.
I suspect its due to matchzy own "admin system", as I get the "you don’t have the permission" error message not from css itself (as it does with other plugins if you don’t have the permission) but we get the matchzy error message.
Somehow matchzy just checks for permission in it "own admins" (that we set in the cfg>matchzy) and the admins specified in the css config folder but ignores the admin_overrides.json in css.
A hotfix could be a command to disable matchzys own admin system and let css do its thing, as this works on other plugins.
The text was updated successfully, but these errors were encountered: