docs.sivert.io
Reference

Integration

How MatchZy Enhanced integrates with MatchZy Auto Tournament.

MatchZy Auto Tournament decides what to play (teams, maps, format) and where to send events/reports/demos. MatchZy runs on the CS2 server, loads match JSON, drives in-game flow, and emits events/reports/demos back to the platform.

Data flow (high level)

  1. MAT exposes the match JSON at GET /api/matches/:slug.json
  2. On the CS2 server, MatchZy loads the match JSON via matchzy_loadmatch_url.
  3. MatchZy:
    • Runs the match lifecycle
    • Sends match events to matchzy_remote_log_url (MAT receives them on POST /api/events and POST /api/events/:matchSlugOrServerId)
    • Uploads match reports to matchzy_report_endpoint (MAT receives them on POST /api/events/report)
    • Uploads demos to matchzy_demo_upload_url (MAT receives them on POST /api/demos/:matchSlug/upload)

How is this guide?

Last updated on

On this page