Skip to content

Cube 2: Sauerbraten

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.

egg-cube-2-sauerbraten.json

updated

Ports

Add an allocation on the node for each port.

  • Game 28785
  • Game +1 28786

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
29 lines

Image

  • Debian ghcr.io/ptero-eggs/yolks:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

4 variables

Startup command

./bin_unix/linux_64_server -j28785 -n{{CUBE_SERVERDESCRIPTION}} -c4 -msauerbraten.org  -p{{CUBE_ADMINPASSWORD}}

Dotted values come from the server settings. These values are examples.

  • CUBE_SERVERDESCRIPTIONUsers can edit

    nullable|string|max:512

  • 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).

    CUBE_MAXPLAYERSUsers can edit

    required|integer|max:16

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

    CUBE_MASTERSERVERUsers can edit

    required|string|max:512

  • CUBE_ADMINPASSWORDUsers can edit

    required|string|max:512A value is required.

Wings

Stop command
^^C
Running when the console shows
dedicated server started, waiting for clients...

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.

Changes

  1. Add standalone games

    · Daniel Barton · 74c706a

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 29 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/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 "-----------------------------------------"