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)
- MAT exposes the match JSON at
GET /api/matches/:slug.json - On the CS2 server, MatchZy loads the match JSON via
matchzy_loadmatch_url. - MatchZy:
- Runs the match lifecycle
- Sends match events to
matchzy_remote_log_url(MAT receives them onPOST /api/eventsandPOST /api/events/:matchSlugOrServerId) - Uploads match reports to
matchzy_report_endpoint(MAT receives them onPOST /api/events/report) - Uploads demos to
matchzy_demo_upload_url(MAT receives them onPOST /api/demos/:matchSlug/upload)
How is this guide?
Last updated on