Cube 2: Sauerbraten

games
Report Issue

Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS. Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game.

Contributors:
README

Cube 2: Sauerbraten

sauerbraten.org

Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS. Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game.

Server Ports

Ports required to run the server.

Port default
Game 28785
Game +1 28786

The second port is only used for the server master list to be able to update the server info. (Description, player count, etc.)

Must be Game +1!

Notes

28785 & 28786 is the default ports, but any port can be used. Port 28784 must be available for pinging servers over a LAN to work.

Docker Images (1)
Name Image
Debian ghcr.io/ptero-eggs/yolks:debian
Startup Command
./bin_unix/linux_64_server -j{{SERVER_PORT}} -n{{CUBE_SERVERDESCRIPTION}} -c{{CUBE_MAXPLAYERS}} -m{{CUBE_MASTERSERVER}}  -p{{CUBE_ADMINPASSWORD}}
Variables (4)

Server Description

Environment:
CUBE_SERVERDESCRIPTION
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:512

Max Players

Sets the max number of clients to N. The default is 4. If you want to set it higher, be aware that bandwidth usage almost doubles with each extra client, so only do this if the server runs on a serious pipe (not your home DSL or Cable connection).

Environment:
CUBE_MAXPLAYERS
Default:
4
User Viewable:
User Editable:
Rules:
required|integer|max:16

Master Server

Sets the master server to use for either server (registering) and client (updating) to S. (default: sauerbraten.org).

Environment:
CUBE_MASTERSERVER
Default:
sauerbraten.org
User Viewable:
User Editable:
Rules:
required|string|max:512

Admin Password

Environment:
CUBE_ADMINPASSWORD
Default:
None
User Viewable:
User Editable:
Rules:
required|string|max:512
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/bin/bash
# AssaultCube Server Egg (By HoleInTheSeat) <|-|> (https://assault.cubers.net/)
#
# Server Files: /mnt/server

apt update 
#######-|Dependencies|-#######
apt -y install tar curl bzip2
#######-|Downloading files|-#######
mkdir -p /mnt/server
cd /mnt/server
echo -e "\n"
echo -e "\n"
echo -e "###############################################"
echo -e "##  Downloading and unarchiving Sauerbraten  ##"
echo -e "## THIS WILL TAKE A WHILE. PLEASE BE PATIENT ##"
echo -e "###############################################"
echo -e "\n"
echo -e "\n"
curl -sSL -o sauerbraten_2020_12_29_linux.tar.bz2 https://cfhcable.dl.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2
tar -xf sauerbraten_2020_12_29_linux.tar.bz2 -strip-components=1
rm sauerbraten_2020_12_29_linux.tar.bz2
chmod +x bin_unix/linux_64_server

#######-|Alert Completion|-#######
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"