Configuration Overview
The tracker system is configured throughplatform/cfg/game.cfg and platform/r5rdev_config.json. Some legacy settings may also be found in playlists_r5_patch.txt.
Game Config (game.cfg)
Add these ConVars to yourplatform/cfg/game.cfg file to configure the WebSocket interface and tracker behavior.
WebSocket Settings
| ConVar | Default | Description |
|---|---|---|
tracker_ws_enable | 1 | Enable WebSocket remote command interface (0 = disabled, 1 = enabled). |
tracker_ws_port | 9705 | WebSocket server port. |
tracker_ws_debug | 0 | Enable WebSocket debug logging. |
tracker_ws_use_ssl | 1 | Use SSL for WebSocket connection. |
tracker_ws_lax_ssl | 0 | Lax SSL certificate validation (0 = strict, 1 = lax). See Getting Started. |
tracker_ws_buffer_size | 261120 | WebSocket buffer size in bytes (Startup only). |
tracker_ws_max_retries | 3 | Maximum number of connection retries. |
tracker_ws_retry_time | 5.0 | Time in seconds between retries. |
tracker_ws_time_out | 125 | Connection timeout in seconds. |
tracker_ws_keep_alive | 60 | Keep-alive interval in seconds. |
tracker_ws_throttle_rate | 0.10 | Message processing throttle rate (seconds). |
tracker_ws_hostname | r5r.dev | WebSocket server hostname. |
tracker_ws_tls_version | 3 | TLS Version (0: 1.0, 1: 1.1, 2: 1.2, 3: 1.3). |
tracker_ws_relay_chat | 0 | Relays chat messages to qualified clients via web panel. |
tracker_ws_reconnect_on_change | 1 | Reconnect to remote socket when qualified convars change. |
tracker_ws_ca_bundle_file | Sectigobundle.pem | Certificate bundle file name. |
Playlist Patch (playlists_r5_patch.txt)
These settings control the core stats tracking behavior.Config JSON (r5rdev_config.json)
Most modern configuration should be done inplatform/r5rdev_config.json. This file is where you place your Host API Key generated from the control panel.
Ensure
stats_discord_webhook_player_count and stats_discord_webhook_matches_enabled are configured here or in playlists_r5_patch.txt to enable Discord integrations.