Skip to content

Step 4 Configuring Your CS2 Server ⚙️

For Matchzy Overtime Manager (MOM) to work, you need to configure your CS2 server to send match events to MOM.

1. Install MatchZy

Before proceeding, ensure MatchZy is installed on your CS2 server. Follow the installation guide here: MatchZy.

2. Modify the live.cfg File

Once MatchZy is installed, update your live.cfg file located in your CS2 server’s cfg/ folder.

Add These Lines to live.cfg:

Terminal window
matchzy_remote_log_url "http://127.0.0.1:3000/events"
matchzy_remote_log_header_key "server-id"
matchzy_remote_log_header_value "server1"

Explanation:

  • matchzy_remote_log_url: This tells MatchZy where to send event data.
  • matchzy_remote_log_header_key: Defines the key for identifying servers. Don’t touch this line!
  • matchzy_remote_log_header_value: Sets a unique identifier for your CS2 server. Adjust per server.

3. Restart Your CS2 Server?

After modifying live.cfg, the changes will take effect when a match goes live. No need to restart the server.

4. Verify MOM is Receiving Events

Start a match and check MOM’s logs:

Terminal window
docker logs -f matchzy-overtime-manager # If using Docker

OR

Terminal window
npm start # If running manually, check the terminal

You should see events printed in the console. 🎉 MOM is now fully set up!