Egg Repository

Pterodactyl Community Egg Repository

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.

Read Me

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.

Yolks
NameTag
Debianghcr.io/ptero-eggs/yolks:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Server DescriptionCUBE_SERVERDESCRIPTIONYesYes
Max PlayersSets 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_MAXPLAYERS4YesYes
Master ServerSets the master server to use for either server (registering) and client (updating) to S. (default: sauerbraten.org).CUBE_MASTERSERVERsauerbraten.orgYesYes
Admin PasswordCUBE_ADMINPASSWORDYesYes
Install Script
#!/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 "-----------------------------------------"