roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
https://docs.cssharp.dev
Other
806 stars 129 forks source link

PROBLEM WITH ADMINISTRATOR RIGHTS #324

Closed sequ3r closed 8 months ago

sequ3r commented 8 months ago

Hello. I have problem with adding admin, I did following some tutorial on youtube for CSPracc, but didnt worked for me. That's how admins.json is looking at my server: { "sequ3r": { "identity": "76561197960265731", "immunity": 100, "flags": [ "@css/root", "@CSPracc/admin" ], "groups": [ "#css/admin" ], "command_overrides": { "css_plugins": true, "css": false } }, "Another erikj": { "identity": "STEAM_0:1:1", "flags": ["@mycustomplugin/admin"] } }

But still don't have admin permissions.

mayersgamer commented 8 months ago

i had the same struggle but learned with time , one single wrong coma and everything is gone carefull

https://www.mediafire.com/file/m2frde9s8ov6fgu/admins.json/file

just remplace the id and names and add remove permissions like you want

sequ3r commented 8 months ago

thank you

sequ3r commented 8 months ago

still not working ;/

mayersgamer commented 8 months ago

still not working ;/

did you install admin plugin ? cssharp is just a tool to run plugins like admins skins. .. try this (https://github.com/daffyyyy/CS2-SimpleAdmin)

sequ3r commented 8 months ago

it worked