Auto Tournament
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

PartWhere it runsRequired
Auto TournamentYour app server, in DockerYes
CS2 dedicated serverA machine you control, usually LinuxYes, one or more
Metamod:Source and CounterStrikeSharpOn each CS2 serverYes, the plugin needs them
Auto Tournament CS2 (formerly MatchZy Enhanced)On each CS2 serverYes
CS2 Server ManagerOn the Linux machine with the CS2 serversNo, 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

  1. You add a server on the Servers page with its host, port and RCON password.
  2. Auto Tournament sends a few settings over RCON: a server ID, a token and a setup URL.
  3. 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.
  4. 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.
  5. During the match, the plugin sends events to Auto Tournament: players connecting, round ends, map results, the series result.
  6. 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.

On this page