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

[Request] Custom Admins #57

Open mrc4tt opened 6 months ago

mrc4tt commented 6 months ago

Hi,

Is there a possibility to set up a custom SteamID64 admins permission (without using cssharp/admins.json), but in a separate file?

I want this option to be available. Example: game/csgo/cfg/cspracc/admins.json

{
  "steamid64": ""
}

I'm running a specific setup where I don't have the option to grant permission through CSSharp due to shared files.

CHR15cs commented 6 months ago

I can add that in the feature

mrc4tt commented 6 months ago

I can add that in the feature

That would be nice. :+1:

An example could be like this: string fileName = "cspracc/admins.json";