Connect a CS2 server
Prepare a CS2 server and add it to Auto Tournament.
Auto Tournament does not run the game. It controls CS2 dedicated servers that you run yourself. Each server needs the Auto Tournament CS2 plugin (formerly MatchZy Enhanced), which reports match events back to Auto Tournament.
How the connection works
The server and Auto Tournament talk in both directions:
- Auto Tournament to server: RCON on the server's game port (TCP). Auto Tournament uses it to set up the plugin and load matches.
- Server to Auto Tournament: HTTP to the webhook URL. The plugin sends match events, results and demos this way.
Both directions must work. Most setup problems are a firewall or a wrong address in one of them.
Add a server
Get a server with the CS2 plugin
Pick one:
- CS2 Server Manager (recommended). A command-line tool that installs several CS2 servers on one Linux machine with the plugin already set up. See Install CS2 Server Manager.
- Manual install. Install Metamod:Source, CounterStrikeSharp and the CS2 plugin on a server you already have. See Install the CS2 plugin.
Write down the host (IP or domain), the game port (default 27015) and the RCON password of each server.
Test that the server can reach Auto Tournament
Run this on the machine where the CS2 server runs. Use your webhook URL (see First login):
curl http://192.168.1.50:3069/api/events/testThe answer must contain "success":true. If the command fails, fix the network or the webhook URL before you continue.
Open the Servers page
Open Servers in the menu and click Add Server.
Fill in the server details
Fill in Server Name, Host / IP Address, Port and RCON Password. Click Test connectivity to check both directions, then save.
Wait for the server to come online
Auto Tournament now sets up the plugin over RCON. After a short time the server shows as online. If it shows a warning, hover over it to see which direction fails, and check Troubleshooting.
Repeat for each server, or use Batch Add for many servers at once. A tournament can run as many matches at the same time as you have free servers.
After you change something
When you change a server config, update the plugin or update CS2:
Restart the CS2 server
With CS2 Server Manager, run sudo csm restart 1 for server 1, or sudo csm restart for all servers.
Refresh the status
On the Servers page, click Refresh Status.
Retry servers that are not set up
Click Retry on any server that is not set up, so Auto Tournament sets it up again.