Skip to content

Urban Terror

Urban Terror started as a realism based "total conversion" mod for Quake III Arena. Nowadays, Urban Terror is played using the free, stand-alone, ioquake3 engine modified, which doesn't require Quake III Arena, in addition to being an add-on to id Software's Quake III Arena.

egg-urban-terror.json

updated

Ports

Add an allocation on the node for each port.

  • Game 27960

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
37 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.

12 variables

Startup command

./Quake3-UrT-Ded.x86_64 +exec "server.cfg" +set fs_game "q3ut4" +set fs_basepath "/home/container" +set fs_homepath "/home/container" +set dedicated "2" +set com_hunkmegs "128" +set net_port "27960"

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

  • 32bit / 64bit server version. it is recommended to use the 64bit server, unless you are experiencing issues.

    EXEUsers can edit

    required|string|in:x86_64,i386

  • How much memory is allocated during server start up. Available options: 128, 160, 192, 256 MB

    HUNKMEGSUsers can edit

    required|string|in:128,160,192,256

  • Put your Servername into here.

    SERVER_NAMEUsers can edit

    required|string|max:55

  • The message the player will receive when joining the server.

    JOIN_MESSAGEUsers can edit

    required|string|max:50

  • Maximum players that can connect to the server.

    SERVER_MAXCLIENTSUsers can edit

    required|numeric|between:1,32

  • Set the Rcon Password for Admin commands. Can be empty to disable RCON.

    RCON_PASSWORDUsers can edit

    nullable|string|max:20

  • If you want to set a password to connect on the server set this here.

    SERVER_PASSWORDUsers can edit

    nullable|string|max:20

  • Choose the initial Map the server should start with. (ONLY CHANGE IF YOU KNOW THE MAP IS EXISTING) Server wont start without it!

    SERVER_MAPUsers can edit

    required|string|max:50

  • Sets the Gamemode you want to play. 1 = Last Man Standing, 2 = Free For All, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game

    SERVER_GAMETYPEUsers can edit

    required|numeric|in:1,2,3,4,5,6,7,8,9,10,11

  • Want to have bots in your game select how many you want. (More than 16 bots tend to crash the server or add lag, use with caution!) Disclaimer: "Bots are not officialy supported by FS!!!"

    BOT_MINPLAYERSUsers can edit

    required|numeric|max:16

  • Time in minutes before map is over. (0 = never)

    SERVER_TIMELIMITUsers can edit

    required|numeric|max:999

  • Sets if friendlyfire is on or off. (Teamkill your teammates is bad hmmkay?)

    SERVER_FRIENDLYFIREUsers can edit

    required|integer|max:1

Wings

Stop command
quit
Running when the console shows
------- Game Initialization -------

Files Wings edits

Wings sets these values in these files before each start.

q3ut4/server.cfg file

set sv_hostname
set sv_hostname "{{server.build.env.SERVER_NAME}}"
set sv_joinmessage
set sv_joinmessage "{{server.build.env.JOIN_MESSAGE}}"
set sv_maxclients
set sv_maxclients "{{server.build.env.SERVER_MAXCLIENTS}}"
set rconpassword
set rconpassword "{{server.build.env.RCON_PASSWORD}}"
set g_password
set g_password "{{server.build.env.SERVER_PASSWORD}}"
set g_friendlyfire
set g_friendlyfire "{{server.build.env.SERVER_FRIENDLYFIRE}}"
set g_gametype
set g_gametype "{{server.build.env.SERVER_GAMETYPE}}"
set timelimit
set timelimit "{{server.build.env.SERVER_TIMELIMIT}}"
set bot_enable
set bot_enable 1
set bot_minplayers
set bot_minplayers "{{server.build.env.BOT_MINPLAYERS}}"
map ut4_casa
map "{{server.build.env.SERVER_MAP}}"

Readme

Urban Terror

From their Website

Urban Terror™ is a free multiplayer first person shooter developed by FrozenSand, that will run on any Quake III Arena compatible engine. It is available for Windows, Linux and Macintosh.

Urban Terror can be described as a Hollywood tactical shooter; somewhat realism based, but the motto is "fun over realism". This results in a very unique, enjoyable and addictive game.

Installation/System Requirements

Bare Minimum Recommended
Processor Almost any proccessor will work -
RAM 256 MiB 512 MiB
SWAP 512 MiB 512 MiB (Swap not needed if RAM is 1024MiB)
Storage 1500 MiB 2000 MiB
Network Any reasonable speed -
Game Ownership Not needed The game is free, and server doesn't need the game to work.

Server Ports

Port default
Game 27960

Game Infos

Gamemodes: 0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game You can edit the Server.cfg in /home/container/q3ut4/server.cfg as you wish after creating the server.

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 37 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash

mkdir -p /mnt/server
cd /mnt/server

apt update
apt -y install libxml2-utils sed #Install needed dependencies for the official Urban Terror Updater (Not for the Gameserver itself)

echo "Downloading Urban Terror"
curl -sSL -o UrTUpdater-Ded.sh https://github.com/FrozenSand/UrTUpdater/releases/download/v4.0.3-RC1/UrTUpdater-v4.0.3-Ded.sh 
#Download from Github because the Webpage does not allow "direct Downloads"

echo "Updating Urban Terror" #Accept the EULA and input the needed variables to download the latest version of the Serverfiles (4.3.4 for now)
bash /mnt/server/UrTUpdater-Ded.sh << EOF
y
1
1
1
n
y
n
EOF

# Set up default configs
mv /mnt/server/q3ut4/server_example.cfg /mnt/server/q3ut4/server.cfg
mv /mnt/server/q3ut4/mapcycle_example.txt /mnt/server/q3ut4/mapcycle.txt

chmod +x /mnt/server/Quake3-UrT-Ded.x86_64
chmod +x /mnt/server/Quake3-UrT-Ded.i386

# Use sed to insert extra config options as many people ask for Bots ingame
sed -i '/\/\/pb_sv_enable/a\set  bot_enable 1\nset  bot_minplayers 0' /mnt/server/q3ut4/server.cfg

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"