-
Notifications
You must be signed in to change notification settings - Fork 23
Administrator
ThaPwned edited this page Oct 15, 2020
·
7 revisions
You can make yourself an administrator by editing cfg/source-python/wcs/privileges.json
(this file is created when WCS has been loaded once) and adding your steamid there. By default, it'll look like this:
{
"players": {
"dummy": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
}
}
}
Replace dummy
with your steamid to gain full access.
-
wcsadmin
: If this is set to1
, it allows the player to open the wcsadmin menu. -
wcsadmin_githubaccess
: If this is set to1
, it allows the player to install races and items directly on the server (learn more of how this is done here (to be added)). -
wcsadmin_managementaccess
: If this is set to1
, it allows the player to manage theraces.json
file. You can change the order and if it's loaded or not. -
wcsadmin_playersmanagement
: If this is set to1
, it allows the player to give xp/levels to the other players. -
wcsadmin_raceaccess
: If this is set to1
, it allows the player access to any race with theADMIN
tag in the race'sallowonly
key. -
vip_raceaccess
: If this is set to1
, it does the same as withwcsadmin_raceaccess
above except it uses theVIP
tag instead.
To add more than one wcsadmin simply add a comma (,
) after the 3rd last }
and enable/disable whatever setting like so:
{
"players": {
"dummy": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
},
"dummy2": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
}
}
}
(the comma is added right above the d
in dummy2
)