Skip to content

Calypto/UT2004ServerMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UT2004 Server Monitor

Simple Python script to query a UT2004 server for current game information. Features/displays:

  • Server name
  • Number of human players / total players
  • Player names, scores, pings, and their team
  • Current map; if a map change is detected, it will flash the taskbar on Windows and flash text in the program window
  • Refreshes every five seconds

Uses the GameSpy port to communicate which is GamePort+10 (default 7787).

Requirements:

Note

A Windows standalone executable is provided in Releases if you do not want to install Python.

  1. Requires Python to be installed - check Add Python to PATH in the installer
  2. After installing Python, run pip install colorama; a required dependency (you can type this in cmd.exe)

Tested to work on Windows 7 / Python 3.8 and Windows 10 21H2 / Python 3.10.

Usage:

The program can either be double-clicked or run via command line.

Enter the server as one of:

  • IP or hostname (e.g., 10.0.0.1 or ut2004.server)
  • IP:GameSpyPort (e.g., 10.0.0.1:7787 - the GameSpy port is GamePort+10)
  • UT2004 URL (e.g., ut2004://10.0.0.1:7777)

Depending on your platform, you can paste via right clicking.

The syntax for CLI is as follows:

  • UT2004ServerMonitor.py IP or UT2004ServerMonitor.py HOSTNAME which will use the default GameSpy port (7787).
  • UT2004ServerMonitor.py IP:GameSpyPort for non-standard ports.
  • UT2004ServerMonitor.py UT2004://IP:GamePort for UT2004 URLs.

You can of course create a shortcut to save yourself from having to enter the server address for a given server every single time. Simply add a space to the "Target" field of the shortcut and enter the server address there.

Images:

EnterServer TUS MapChange MapChange

About

Python script to query UT2004 server status (map, players, scores)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages