Ubuntu/Debian/Mint news and tutorials | Linux gaming
Quick Tip
Disable Overlay Scrollbars in GNOME
gsettings set com.canonical.desktop.interface scrollbar-mode normal
Quick Tip
Find Files Containing a Text Pattern
find . -iname "*.txt" -exec grep -l "hello" {} +
Online Readers
Advertise on TuxArena
Linux Cheat Sheet
Have a look at our Linux Cheat Sheet for quick one-liners, commands and tips.

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.

Leave a Comment

Linux Links