AssaultCube is a popular cross-platform first-person shooter with pretty low hardware requirements, with a fast gameplay and many modes – including the classic CTF, TDM, FFA, or the popular TOSOK (Team One Shot One Kill), LSS (Last Swiss Standing), or HTF (Hold the Flag).
Starting a server should be pretty straightforward in Linux, all you have to do is run the server dedicated binary with several parameters, however AssaultCube provided a script, called server.sh for doing it. Here’s an example:
This is a perfectly working example, and you will be able to see your server listed in the Server Browser under the name “Public AC Server”. Here is what the switches used mean:
-c20 – the maximum number of clients allowed (20)
-xserverpass – the admin password (-x is the switch and serverpass is the actual password)
-Bconfig/serverblacklist.cfg – the -B switch specifies the blacklist file (banned IPs), in this case config/serverblacklist.cfg
-n”Publci AC Server” – the name of the server, which will appear in the Server Browser, you can use the slash (\) to escape characters like $
-o”Welcome to our AssaultCube server! – this is the welcome message which will be displayed to each player after he joins the server
For a complete list of parameters, see this page on the official website.