DDraceNetwork (DDNet) is an actively maintained version of DDRace, a Teeworlds modification with a unique cooperative gameplay.
DDraceNetwork (DDNet) is an actively maintained version of DDRace, a Teeworlds modification with a unique cooperative gameplay..
Bare Minimum | Recommended | |
---|---|---|
Processor | Almost any proccessor will work | - |
RAM | 100 MiB | 256 MiB |
Storage | 70 MiB | 1024 MiB |
Network | Any reasonable speed | - |
Game Ownership | Not needed | The game is free, and server doesn't need the game to work. |
Port | default |
---|---|
Game | 8303 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Game Version | Latest is the default, put "nightly" for beta, or enter the version number, for example "17.0". | VERSION | latest | Yes | Yes |
Server name | The name of the server | SERVER_NAME | My DDNet server | Yes | Yes |
Server password | Password for joining the server, empty for no password | SERVER_PASSWORD | Yes | Yes | |
Server map | Map to start server with | SERVER_MAP | Tutorial | Yes | Yes |
Register server | Register the server to the server list. 0 is disabled ipv4 is enabled listening ipv4 | SERVER_REGISTER | 0 | Yes | Yes |
#!/bin/bash
apt update
apt -y install curl xz-utils tar
if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
A=$(curl -sSL https://ddnet.org/downloads/ | grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | grep linux_x86_64.tar.xz | awk '{print $2}' |cut -c7- | sed 's/.$//' | head -1)
DOWNLOAD_URL=https://ddnet.org/downloads/${A}
else
A=$(curl -sSL https://ddnet.org/downloads/ | grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | grep linux_x86_64.tar.xz | awk '{print $2}' |cut -c7- | sed 's/.$//' | grep -i ${VERSION})
DOWNLOAD_URL=https://ddnet.org/downloads/${A}
fi
mkdir -p /mnt/server
cd /mnt/server
curl -sSL -o ddnet_linux_x86_64.tar.xz ${DOWNLOAD_URL}
tar -xf ddnet_linux_x86_64.tar.xz --strip-components=1
rm ddnet_linux_x86_64.tar.xz
cd /mnt/server/data
sed -i 's/#\(sv_port [0-9]\+\)/\1/' autoexec_server.cfg
cd /mnt/server
echo "# Check /data/autoexec_config.cfg for more info!" >> myServerconfig.cfg
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"