CS2
CS2 overview
How the CS2 game module works and what you need for it.
The CS2 module lets Auto Tournament run Counter-Strike 2 matches. It is built into the app today.
The parts
| Part | Where it runs | Required |
|---|---|---|
| Auto Tournament | Your app server, in Docker | Yes |
| CS2 dedicated server | A machine you control, usually Linux | Yes, one or more |
| Metamod:Source and CounterStrikeSharp | On each CS2 server | Yes, the plugin needs them |
| Auto Tournament CS2 (formerly MatchZy Enhanced) | On each CS2 server | Yes |
| CS2 Server Manager | On the Linux machine with the CS2 servers | No, but recommended |
The CS2 plugin is made for Auto Tournament and based on the MatchZy plugin. It still shows up as MatchZy in the server's plugin list. It adds more events, a match report, simulation mode and a retry queue for events. Auto Tournament does not support the original MatchZy plugin.
How a match gets to a server
- You add a server on the Servers page with its host, port and RCON password.
- Auto Tournament sends a few settings over RCON: a server ID, a token and a setup URL.
- The CS2 plugin downloads its full setup from Auto Tournament: where to send events, where to upload demos, and the default match settings. It saves this setup, so it survives a restart.
- When a match is ready, Auto Tournament tells the server to load it. The server downloads the match config (teams, players, maps, rules) from Auto Tournament.
- During the match, the plugin sends events to Auto Tournament: players connecting, round ends, map results, the series result.
- After the match, the plugin uploads the demo if recording is on.
The server authenticates to Auto Tournament with SERVER_TOKEN. If you change SERVER_TOKEN, click Retry on each server on the Servers page so it gets the new token.
Which setup to choose
- You have a Linux machine for game servers: use CS2 Server Manager. It installs CS2, Metamod, CounterStrikeSharp and the CS2 plugin on several servers and keeps them updated.
- You already run CS2 servers, or use a game host: install the CS2 plugin yourself.
Before you start, read Server requirements.