CHR15cs / CS2-Practice-Plugin

Open Source Plugin for Counterstrike 2 based on CounterStrikeSharp
GNU General Public License v3.0
82 stars 10 forks source link

cant have more admins #40

Closed s-balint closed 8 months ago

s-balint commented 8 months ago

Hi

For some reason I cant set more then 1 admins for the plugin. I tried a lot of options, but It just doesnt work. If I set myself for admin it works, but as soon as I add another admin, even I lose my admin permissions.

This is my current admins.json { "x": { "identity": "76561198269522581", "immunity": 100, "flags": [ "@css/root", "@CSPracc/admin" ], "groups": [ "#css/admin" ], "command_overrides": { "css_plugins": true, "css": false } },

"y": { "identity": "76561198190149171", "immunity": 100, "flags": [ "@CSPracc/admin" ], "groups": [ "#css/admin" ], "command_overrides": { "css_plugins": true, "css": false } } }

CHR15cs commented 8 months ago

Hi, which version are you using?

CHR15cs commented 8 months ago

also what does css_admins_list print for you?

s-balint commented 8 months ago

I was using the latest version.

CHR15cs commented 8 months ago

Seems to be an issue in the admin manager. I testet it using your admins.json file. I could not execute any admin command until I saw the STEAM USERID validated message [Allies Chat][CHR15 (119008051)]: .pracc <----- Did not work SV: "CHR15<3><[U:1:119008051]><>" STEAM USERID validated [Allies Chat][CHR15 (119008051)]: .pracc <---- did work

I will try to reach out to the person who implemented the admin manager and see what could be the problem

CHR15cs commented 8 months ago

Seems like it actually is just delayed until some sort of connection with the steam servers is established. I will add a functionality to disable admin requirement

CHR15cs commented 8 months ago

closing since its confirmed that its a valve issue. Next release will contain a functionality to disable admin requirement