• Themes
    • Google Chrome Themes: Planetside 2
    • Teamspeak 3 Theme: Call of Duty: Black Ops 2
    • Teamspeak 3 Theme: Planetside 2
  • Linux Game Server Scripts
    • csgoserver: Counter Strike: Global Offensive Linux Server Manager
    • csserver: Counter Strike 1.6 Linux Server Manager
    • cssserver: Counter Strike: Source Linux Server Manager
    • dodsserver: Day of Defeat: Source Linux Server Manager
    • hl2dmserver: Half Life 2: Deathmatch Linux Server Manager
    • kfserver: Killing Floor Linux Server Manager
    • l4d2server: Left 4 Dead 2 Linux Server Manager
    • mumbleserver: Mumble Linux Server Manager
    • roserver: Red Orchestra: Ostfront 41-45 Linux Server Manager
    • tf2server: Team Fortress 2 Linux Server Manager
    • thsserver: The Hidden: Source Linux Server Manager
    • ts3server: Teamspeak 3 Linux Server Manager
    • ut2k4server: Unreal Tournament 2004 Linux Server Manager
    • ut99server: Unreal Tournament 99 Linux Server Manager
  • Websites
    • battlefield3tournament.com
    • gamestand.net
    • helpdesktk.com
    • spectrumgamers.com
  • About me

Daniel Gibbs

EmailTwitter

ut99server: Unreal Tournament 99 Linux Server Manager


ut99server_logo

Contents [hide]

  • About ut99server
  • Main features
  • Compatibility
  • Installation
    • Prerequisites
    • Install
  • Usage
    • Running the server
    • Webadmin
    • Map Compression
    • Monitoring the server
    • Debug mode
    • Server Details
  • Automation
    • Monitor
  • Configuration
    • Start parameters
    • Config File
    • Default Ports
    • Multiple Servers
    • Running as root
  • Useful Resources
  • Issues and troubleshooting
  • GitHub
  • Debug Mode
  • Further notes
  • Donate

About ut99server

ut99server is a command line tool for quick, simple deployment and management of an Unreal Tournament 99 Linux dedicated server.

Current Version: 310813

Main features

  • Server installer
  • Start/Stop/Restart server
  • Server monitor (including email notification)
  • Map compression for fast map downloads (RedirectToURL=)

Compatibility

The Linux Server Manager is tested to work on the following Linux systems.

  • Debian based distros (Ubuntu, Mint etc.)
  • Redhat based distros (CentOS, Fedora etc.)

The scripts are written in BASH and Python and would probably work with other distros.

Installation

The installer will automatically download and configure a Unreal Tournament 99 server including enabling the web interface.

Prerequisites

Before installing, please ensure you have all the dependencies required to run the script.

Debian/Ubuntu

Debian/Ubuntu 32-bit

apt-get -y install wget curl tar mailutils unzip nano screen

Debian 6/Ubuntu 64-bit

apt-get -y install wget curl tar mailutils unzip nano screen ia32-libs-gtk

Debian 7 64-bit

dpkg --add-architecture i386
apt-get update
apt-get -y install wget curl tar mailutils unzip nano screen ia32-libs-gtk

Red Hat 6/CentOS 6

Red Hat 6/CentOS 6 32-bit

yum -y install wget curl tar mailx unzip nano screen

Red Hat 6/CentOS 6 64-bit

yum -y install wget curl tar mailx unzip nano screen glibc.i686 libstdc++.i686

Install

1. Create a user and login

adduser ut99server
passwd ut99server
su - ut99server

2. Download the script

wget https://raw.github.com/dgibbs64/linuxgameservers/master/UnrealTournament99/ut99server

3. Make it executable

chmod +x ut99server

4. Run the installer and follow the instructions

./ut99server install

Usage

Running the server

Start the server

./ut99server start

Stop the server

./ut99server stop

Restart the server

./ut99server restart

Webadmin

You can access the Webadmin to make game configuration changes to the server.

http://localhost:8075

Map Compression

Map Compression allows you to compress maps for url redirection.

./ut2k4server map-compressor

Monitoring the server

The script can monitor the server to ensure it is online. Should the server go offline, the monitor will attempt to start it again.

./ut99server monitor

Note: see Automation on how to get monitor to run automatically.

Email notification

Monitoring can send you an email, should the server go offline, and report details of the issue. See example email below:

ut99server email notification

Enable email notification

nano ut99server
# Notification Email
# (on|off)
emailnotification="on"
email="email@example.com"

Test email notification

You can test email notifications are working without restarting the server.

./ut99server email-test

Debug mode

Use debug mode to help you if you are having issues with the server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having.

./ut2k4server debug

Server Details

If you need to get all main server details you can use the following command.
You will be given the following details if applicable to your server:

  • Server Name
  • Server Ports
  • Rcon Password
  • WebAdmin Username
  • WebAdmin Password

This can be very useful if you have forgotten your servers details.

Automation

You can use cronjobs to automate the process monitoring the server. You can either run the cronjob as root or as the ut99server user.

Monitor

Root Cronjob

crontab -e
*/5       *       *       *       *  su - ut99server -c '/home/ut99server/ut99server monitor' > /dev/null 2>&1

ut99server Cronjob

crontab -e
*/5       *       *       *       *  /home/ut99server/ut99server monitor > /dev/null 2>&1

Configuration

Start parameters

If you need to adjust the start parameters you can edit the ‘parms’ variable under ‘Start Vars’ in the script.

parms="server ${defaultmap}.unr ini=${systemdir}/${ini}"

Config File

The server has a default config file that will allow you to edit many different settings.

To find the config file use the details command.

./ut2k4server details

Default Ports

7777 UDP (Game Port)
7778 UDP (Query Port)
UDP 7779+ (Used randomly for UdpLink objects)
28900/28902 TCP & UDP (Master Server port)
8077 TCP (WebAdmin Port)

If the Game port is offset from the default 7777, then all of the other ports are offset by the same value. For example, if the Game port is changed to 7778 (+1), then the following ports are used:

7778 UDP (Game Port)
7770 UDP (Query Port)
7780+ UDP (Used randomly for UdpLink objects)
28900/28902 TCP & UDP (Master Server port)
8078 TCP (WebAdmin Port)

This is typically only needed when running multiple servers on one system. It is recommended to leave the ports as they are by default.

In the server’s ut99-server.ini, you can change the following values:

Game Port

Port=7777

WebAdmin Port

ListenPort=8077

The other values should change automatically.

Multiple Servers

It is possible to run multiple server instances.

I recommend repeating the installation however create a second user account and change the default ports.

Running as root

The script will not run as root and will error if you try. This is for security and to stop permissions issues. For example, if you run update as root any changed files are then owned by root. This means the tf2server user will be unable to access the updated files causing the server to fail.

Useful Resources

Here are some useful resources that will help with management and configuration of your server.

Unreal Admin website: http://www.unrealadmin.org

Issues and troubleshooting

If you find a bug or have a suggestion please submit a bug report on GitHub .

https://github.com/dgibbs64/linuxgameservers/issues

If you have a question about the server that is not related to the script please check out Unreal Admin.

http://www.unrealadmin.org

If you are having issues getting the script to work you probably haven’t followed the instructions correctly. If you are sure you have then please leave a comment below.

GitHub

This script is developed using GitHub you can view the full project here:

https://github.com/dgibbs64/linuxgameservers

Debug Mode

Use debug mode to help you if you are having issues with the server. Debug outputs what the server is doing directly to your screen allowing you to diagnose any problems.

./ut99server debug

Further notes

This script is free to use and you are welcome to customise and change it. I hope the script makes it easier to manage a Unreal Tournament 2004 server.

Donate

Found my work helpful? Please consider donating to my beer fund so I can enjoy a drink on you. Cheers!

PayPal: me@danielgibbs.co.uk

  • Post to Facebook
  • Post to Twitter
  • Post to Google+
  • Post to Pinterest
  • Print with PrintFriendly
  • Send via Shareaholic Mail
  • Add to Google Bookmarks
You may also like:
Everquest 2 Sign-up - Get Free in-game Items
Linux Game Server Scripts now moved to GitHub
Planetside 2 Terran Republic Chrome theme update v1.2
Planetside 2 Vanu Sovereignty Chrome theme update v1.1
Camstudio missing file MSVCR100.dll
Planetside 2 Sign-up - Get Free Weapon and XP Boost
[ what's this ]

Leave a Reply Cancel reply

About Me

1I am a Linux systems administrator and have been working with Linux for around 3 years. Welcome to my site of things I create and learn.

BUPA Birmingham Great Run

Sponser me for the "BUPA Birmingham Great Run" my charity is "Cure Leukaemia"
JustGiving - Sponsor me now!

Recent Posts

  • Two new Linux server scripts released
  • Linux Game Server Scripts now moved to GitHub
  • Game Server Scripts Update – 010813
  • Everquest 2 Sign-up – Get Free in-game Items
  • Planetside 2 Sign-up – Get Free Weapon and XP Boost

Top Posts & Pages

  • csgoserver: Counter Strike: Global Offensive Linux Server Manager
  • Linux Game Server Scripts
  • Fedora 17: Setting a static IP address
  • Planetside 2 Sign-up - Get Free Weapon and XP Boost
  • csserver: Counter Strike 1.6 Linux Server Manager
  • l4d2server: Left 4 Dead 2 Linux Server Manager
  • Fedora 18: Setting a static IP address
  • ut2k4server: Unreal Tournament 2004 Linux Server Manager
  • cssserver: Counter Strike: Source Linux Server Manager
  • kfserver: Killing Floor Linux Server Manager

Tweets

Tags

apt archive bind Centos CentOS 6 Chome CUPS debian Debug Mode DHCPD error Fedora Fedora 17 FREE Free Station Cash Google ip IP address Linux LPD Manual Method named network New Conglomerate nmap PC pid Planetside 2 printing Red Hat Red Hat Enterprise reed hat repo repository RHEL SAMBA script server SSH Static IP Station Cash Bonus teamspeak Terran Republic Theme Windows

Categories

  • Bash
  • bind
  • CentOS
  • CUPS
  • Debian
  • Email
  • Fedora
  • Games
  • Linux
  • Network
  • nmap
  • Plesk Panel
  • Postfix
  • Red Hat Enterprise (RHEL)
  • SAMBA
  • SCO UNIX
  • Teamspeak
  • Themes
  • Ubuntu
  • Uncategorized
  • Windows
  • Windows 7
  • Windows XP
  • Wordpress

Pages

  • Themes
    • Google Chrome Themes: Planetside 2
    • Teamspeak 3 Theme: Call of Duty: Black Ops 2
    • Teamspeak 3 Theme: Planetside 2
  • Linux Game Server Scripts
    • csgoserver: Counter Strike: Global Offensive Linux Server Manager
    • csserver: Counter Strike 1.6 Linux Server Manager
    • cssserver: Counter Strike: Source Linux Server Manager
    • dodsserver: Day of Defeat: Source Linux Server Manager
    • hl2dmserver: Half Life 2: Deathmatch Linux Server Manager
    • kfserver: Killing Floor Linux Server Manager
    • l4d2server: Left 4 Dead 2 Linux Server Manager
    • mumbleserver: Mumble Linux Server Manager
    • roserver: Red Orchestra: Ostfront 41-45 Linux Server Manager
    • tf2server: Team Fortress 2 Linux Server Manager
    • thsserver: The Hidden: Source Linux Server Manager
    • ts3server: Teamspeak 3 Linux Server Manager
    • ut2k4server: Unreal Tournament 2004 Linux Server Manager
    • ut99server: Unreal Tournament 99 Linux Server Manager
  • Websites
    • battlefield3tournament.com
    • gamestand.net
    • helpdesktk.com
    • spectrumgamers.com
  • About me

Archives

  • August 2013
  • July 2013
  • June 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • September 2012
  • July 2012
  • June 2012
  • May 2012
  • March 2012

Categories

  • Bash (1)
  • bind (1)
  • CUPS (3)
  • Email (1)
  • Games (5)
  • Linux (32)
    • CentOS (19)
    • Debian (18)
    • Fedora (21)
    • Red Hat Enterprise (RHEL) (19)
    • SCO UNIX (1)
    • Ubuntu (7)
  • Network (1)
  • nmap (1)
  • Plesk Panel (1)
  • Postfix (2)
  • SAMBA (6)
  • Teamspeak (1)
  • Themes (5)
  • Uncategorized (4)
  • Windows (5)
    • Windows 7 (5)
    • Windows XP (5)
  • Wordpress (1)

WordPress

  • Log in
  • WordPress
CyberChimps

CyberChimps

© Daniel Gibbs