Server
Contents
Requirements
Minimum
- 266 Mhz
- 32 MB Ram
- Fast download & upload internet connection ( >512kbps)
- Operative system: >Windows 98SE or Linux (32-bit)
Recommended
- 800 Mhz
- 256 MB Ram
- Fast download & upload internet connection ( >1Mbps suggested)
- Operative system: >Windows xp or Linux (32-bit)
Getting the server
Servers for Soldat come in two types: dedicated and non-dedicated. This page focus on dedicated servers. The latest dedicated server can be downloaded from soldat.pl, zipped. This zip has all necessary files to run the server in Linux or Windows. To unzip you can use 'unzip <filename>' in Linux or 7-zip in Windows. The executables for each OS are soldatserver and soldatserver.exe respectively.
Configuring
There are three key files that you must edit & configure before running the server: mapslist.txt, soldat.ini & server.ini.
Starting the server
To start the server in the background in Linux you can use either -d or nohup.
Using the line below will detach the server from your current terminal and log all errors to nohup.out while redirecting normal (non-error) output to /dev/null (nowhere)
nohup ./soldatserver > /dev/null &
The line below will do the same, but put errors in errors.txt.
nohup ./soldatserver > /dev/null 2> errors.txt &
This will fully background the server
./soldatserver -d
If you are having problems when starting up the server, make sure you have the right permissions. In windows, run as administrator, in Linux, use chmod.
chmod u+wx ./logs/kills/ chmod u+wx ./BattlEye/ chmod u+wx ./scripts/
Troubleshooting
If your server starts up but no one can join, then read this and check your connection with this.
Managing your server
There are two ways to administrate your server: By adding IPs to the remote.txt file, or by using the admin password to login to the server using /adminlog. If you are adminned by IP then you will only be able to perform commands while playing in the server. On the other hand, if you know the admin password you can perform raw commands or use any of the Soldat admin tools.
Bandwidth & Memory Usage
Both depend on the amount of players (or bots) the server is currently hosting. You can use FliesLikeABrick's bandwidth calculator to check on the first one. The average RAM a server uses depends on several factors: maps,logs,scripting,players,etc. An average server uses around 10 MBs of RAM, while a server with a bunch of scripts and big custom maps with logging can use more than 50 MBs.