Skip to content
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

admins not working #332

Open
ALegitCookie opened this issue Feb 19, 2024 · 7 comments
Open

admins not working #332

ALegitCookie opened this issue Feb 19, 2024 · 7 comments
Labels
needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration

Comments

@ALegitCookie
Copy link

ALegitCookie commented Feb 19, 2024

hello, i've got my admins.json (in plugins/counterstrikesharp/conifgs) configured in the following fashion:

admin

but when i join the server and do !css in chat, it says i do not have the permission @css/generic.
what can i do to make it work?
thanks

@roflmuffin roflmuffin added the untriaged New issue has not been triaged label Feb 22, 2024
@roflmuffin
Copy link
Owner

Please run the command css_admins_list and verify if your user is displayed. Also please ensure that the example config has had the .example suffix removed from the filename.

@roflmuffin roflmuffin added the needs-author-action An issue or pull request that requires more info or actions from the author. label Feb 22, 2024
Copy link

This issue has been marked needs-author-action and may be missing some important information.

@github-actions github-actions bot removed the untriaged New issue has not been triaged label Feb 22, 2024
@ALegitCookie
Copy link
Author

Please run the command css_admins_list and verify if your user is displayed. Also please ensure that the example config has had the .example suffix removed from the filename.

image

i can confirm my steamid shows up and you can see the flags when running the command provided. however, it still insists in-game that i do not have access to the commands.

@github-actions github-actions bot added needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration and removed needs-author-action An issue or pull request that requires more info or actions from the author. labels Feb 22, 2024
@roflmuffin
Copy link
Owner

Its possible that your server is failing to authorise the users steam ID, are there any logs present about steam ID authorisation when you connect to the server?

@ALegitCookie
Copy link
Author

Its possible that your server is failing to authorise the users steam ID, are there any logs present about steam ID authorisation when you connect to the server?

yes i can see that the server can see the user's steamID when they join, pictured.

i also can see when starting up that CSSharp says in console that it read 1 admin in the admin file. (not pictured but i read it myself and confirmed)

image

@roflmuffin
Copy link
Owner

Do you have any overrides configured in the admin_overrides.json file? And also can you provide which version of CS# you are running?

@ALegitCookie
Copy link
Author

Do you have any overrides configured in the admin_overrides.json file? And also can you provide which version of CS# you are running?

haven't touched the admin overrides file, i'm on most recent version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration
Projects
None yet
Development

No branches or pull requests

2 participants