Repository navigation
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": {
"STEAMID_EXAMPLE1": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
}
}
}Replace STEAMID_EXAMPLE1 with your steamid to gain full access. STEAMID_EXAMPLE1 can be either a steamid2 (STEAM_0:0:36915095) or a steamid3 ([U:1:73830190]).
Note: If you're using steamid2, and you can't get the wcsadmin to work, try to change STEAM_0 to STEAM_1 and see if that works.
-
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.jsonfile. 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 theADMINtag in the race'sallowonlykey. -
vip_raceaccess: If this is set to1, it does the same as withwcsadmin_raceaccessabove except it uses theVIPtag instead.
To add more than one wcsadmin simply add a comma (,) after the 3rd last } and enable/disable whatever setting like so:
{
"players": {
"STEAMID_EXAMPLE1": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
},
"STEAMID_EXAMPLE2": {
"wcsadmin": 1,
"wcsadmin_githubaccess": 1,
"wcsadmin_managementaccess": 1,
"wcsadmin_playersmanagement": 1,
"wcsadmin_raceaccess": 1,
"vip_raceaccess": 1
}
}
}(the comma is added right above the S in STEAMID_EXAMPLE2)