Home / Projects / Game servers with AMP

Game servers with AMP

16 October 2025Rafael44p

Where it started

Game servers are how I got into servers and code in the first place: years ago I ran GTA San Andreas multiplayer (SA-MP) servers and spent more time in the scripts than in the game. Today I run them the grown-up way, with AMP (Application Management Panel) by CubeCoders on my Supermicro server.

Diagram: players connect on the game ports to AMP instances; admins reach the ADS web panel through the VPN; scheduled tasks handle updates, restarts and backups
Players only see the game ports. The panel stays behind the VPN.

Why AMP

  • One web panel for every game server instead of a pile of terminal windows and start scripts.
  • New servers from templates for a long list of games, each in its own instance.
  • Scheduled tasks for backups, update checks and restarts, so they happen without logging in.
  • User accounts with permissions, so a friend can restart their own server without access to anything else.
  • A live console, file manager and resource graphs in the browser.

Guide: installing AMP on Ubuntu Server

AMP is paid software (a one-off licence from CubeCoders), so buy the licence first and keep the key at hand.

1. Prepare a VM

I give game servers their own Ubuntu Server VM on TrueNAS SCALE, so a misbehaving game never touches the other services. CPU clock speed matters more than core count for most games; RAM depends on the games and player counts.

2. Run the installer

bash <(wget -qO- getamp.sh)

The script asks a few questions (admin username and password, whether to use Docker for instances, HTTPS) and sets up the main controller, ADS.

3. Log in and activate

Open http://<VM-IP>:8080, log in with the admin account, enter the licence key, and create instances from the game list.

4. Ports

Each instance shows the ports its game needs. Only those are forwarded on the router. The AMP panel itself is not forwarded: I manage it through my StrongSwan VPN.

5. Schedules and backups

Per instance, under Schedule, you can automate a backup at night, an update check, and a restart with an in-game warning a few minutes before. AMP reminds you when an instance has no backup schedule - you can see that note under Backups in the screenshot below. Underneath AMP's own backups, the whole VM disk is snapshotted by TrueNAS, so even an instance without its own schedule can be rolled back.

Example: an ARK: Survival Evolved server

The AMP status page of an ARK: Survival Evolved instance: CPU 5 percent, memory 5.6 of 23.4 GB, 0 of 70 players, Restart, Stop and Assistance buttons, and five network ports all listening
The status page of my ARK: Survival Evolved instance in AMP (connection address hidden).

This is what an instance looks like day to day. One page shows CPU and memory use with history, how many players are online (up to 70 on this server), buttons to restart or stop it, and whether every port the game needs is actually listening:

  • Game port 7778 and peer port 7779 (UDP) - the players' connection.
  • Query port 27015 (UDP) - so the server shows up in the in-game server list.
  • RCON 27020 (TCP) - remote admin commands.
  • SFTP 2226 (TCP) - AMP's own file access to the instance, for uploading mods and configs.

Only the ports players need go through the router; RCON and SFTP are for me, through the VPN.

6. Keep it tidy

  • One instance per game server, named clearly, so backups and logs never get mixed up.
  • Keep an eye on the resource graphs per instance, so one game cannot quietly starve the others of RAM or CPU.
  • Update AMP itself from the panel when it offers an update; the instances keep their settings.
« Debloating a TCL Google TV From FreeNAS to TrueNAS SCALE »