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

Config options not being updated #53

Open Kevin125566 opened 7 months ago

Kevin125566 commented 7 months ago

Changing the CSPracc.json file doesn't change anything. I set AdminRequirements to false and when I try to test the commands on the server, I still receive "Only admins can execute this command"

CHR15cs commented 7 months ago

Did you restart the server after changing the configuration?

Kevin125566 commented 7 months ago

Yes, but I think I figured out what's wrong. When I leave the version number to 1, the admin requirements config doesn't work. It only works when I change it to a different number

CHR15cs commented 7 months ago

Thats true, I check the ConfigVersion in case someuses a legacy config file which do not include the flag, might adjust the handling tho AdminRequirement need ConfigVersion to be > 1