Jump to content
Spectral

Alpha 4 Server Config

Recommended Posts

Spectral   

UPDATED VERSION CAN BE FOUND ON THE WIKI

 

 

 

We now have a new 

Config/ServerConfigs/

folder. Inside here you will find the following files

Admins.cfg
Bans.cfg
License.cfg
MapRotation.cfg
RemoteAdminListHosts.cfg
RemoteBanListHosts.cfg
Server.cfg
ServerMessages.cfg

Admins.cfg

 

Admins are now created by groups and groups are assigned to admins. You can create as many groups as you want with any types of permissions. All the permissions will be in the config file commented out. These files will not be over writeable so when we add new permissions you will need to check here or the wiki for updates. The below are just examples.

 

Group=SuperAdmin:changemap,cheat,private,balance,chat,kick,ban,config,cameraman,debug,pause
Group=Admin:changemap,balance,chat,kick,ban,cameraman,pause
Group=Moderator:changemap,chat,kick,ban

Admin=76561115695178:Moderator //Player 5
Admin=8915618948911:Moderator //Player 4
Admin=7894591951519:Admin //Player 3
Admin=7984591565611:SuperAdmin //Player 2
Admin=917236241624:SuperAdmin //Player 1
Admin=45365435431:Admin //Player 8792 

 

 

Bans.cfg

This is where your bans will go. They need to be in the format of

steamid:unix timestamp of unban //comment

So an example file will look like this

76561198039509812:0 //Permanent ban for cheating
7862895148978485:1454455855 //team killing

Make sure if you manually add / remove a ban that the file ends with a new line character. Each ban goes on its own line.

 

License.cfg

Do not touch this unless told to do so. If you apply for a server license you will receive an email with what to do with this file.

 

MapRotation.cfg

Logar
Sumari
Fool's Road
Chora
Kohat
OP First Light

If you add the general map names. Our parser will do all variations of it including AAS, INS, etc. Map names can be seen from the DefaultGame.ini file. Each map entry goes on a new line.

 

RemoteAdminListHosts.cfg

Each line should contain a URL to the admin file. The admin file will follow the exact same format as above. This should be used if you run multiple servers and would like to have a single admin file for all of them. If a player is listed in multiple files, their permissions will be combined.

 

RemoteBanListHosts.cfg

Each line should contain a URL to the ban file. The ban file will follow the exact same format as above. This should be used if you run multiple servers and would like to have a single admin file for all of them.

 

Server.cfg

This is the general server config file. Each variable should be on its own line.

 

ServerMessages.cfg

This will rotate server messages every x seconds (based on Server.cfg setting). Each message should have its own line. This should be used to display server rules and contact information.

 

MIGRATING FROM ALPHA 3

 

If migrating from Alpha 3. You should copy your bans, admins, settings from saved/config/GameUserSettings.ini . You should then remove everything from under SquadOnlineSession as well as bans and admins.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×