Supported Games
Segra currently supports automatic event tracking for:Counter-Strike 2
Tracked Events: Kills, DeathsRequires CS2’s Game State Integration (GSI) configuration file
League of Legends
Tracked Events: Kills, Assists, DeathsUses LoL’s live client data API (port 2999)
PUBG: Battlegrounds
Tracked Events: Kills, Knocks, DeathsRequires PUBG Developer API access
Rocket League
Tracked Events: Goals, AssistsUses Rocket League’s plugin system
Enabling Game Integrations
From Settings UI
- Navigate to Settings > Games
- Find the Game Integrations section
- Toggle the switch for each game you want to enable
- Integration activates automatically when you launch the game
Game integrations cannot be enabled or disabled while recording is in progress.
Configuration
Enable automatic event detection for Counter-Strike 2
Enable automatic event detection for League of Legends
Enable automatic event detection for PUBG: Battlegrounds
Enable automatic event detection for Rocket League
How It Works
When a game integration is enabled:Automatic Bookmarking
When an event occurs (kill, death, goal, etc.), Segra creates a bookmark automatically
Game-Specific Setup
Counter-Strike 2
CS2 integration requires a Game State Integration configuration file.Setup Instructions
Setup Instructions
Segra automatically creates the required GSI configuration file when:
- CS2 is detected for the first time
- The integration is enabled in settings
-
Navigate to your CS2 config folder:
-
Create a file named
gamestate_integration_segra.cfgwith: - Restart CS2
- Segra will now receive kill/death events
- Kills: Bookmark created each time you eliminate an opponent
- Deaths: Bookmark created when you die
League of Legends
League integration uses the LoL Live Client Data API (no additional setup required).How It Works
How It Works
- LoL exposes game data on
https://127.0.0.1:2999/liveclientdata - Segra polls this endpoint every 250ms during games
- Events are detected by comparing player stats between polls
- Works for all game modes (Summoner’s Rift, ARAM, etc.)
- Kills: Bookmark when your kill count increases
- Assists: Bookmark when you get an assist
- Deaths: Bookmark when you die
PUBG: Battlegrounds
PUBG integration requires API access.Setup Instructions
Setup Instructions
The PUBG integration uses the official PUBG Developer API.Events are tracked through the API’s telemetry system.
- Kills: Bookmark when you eliminate a player
- Knocks: Bookmark when you knock down an opponent
- Deaths: Bookmark when you’re eliminated
Rocket League
Rocket League integration uses the game’s plugin system.How It Works
How It Works
- Rocket League supports BakkesMod and similar plugins
- Segra integrates with the game’s event system
- Real-time tracking of goals and assists
- Works in all game modes
- Goals: Bookmark when you or your team scores
- Assists: Bookmark when you assist a goal
Bookmark Display
Game integration bookmarks appear with color-coded badges:- Success Events
- Death Events
Green badges for positive events:
- Kills
- Knocks
- Assists
- Goals
Game Detection Settings
Segra can automatically detect games or use manual whitelist/blacklist configuration.Whitelist
Games in the whitelist will always be recorded when launched.Array of game objects to always record:
Blacklist
Games in the blacklist will never be recorded.Array of game objects to exclude from recording:
Adding Games to Lists
- Navigate to Settings > Games > Game Detection
- Click Add to Whitelist or Add to Blacklist
- Browse to the game’s executable
- The game will be added to the appropriate list
Settings JSON Structure
Troubleshooting
Events not being detected
Events not being detected
Counter-Strike 2:
- Verify the GSI config file exists and is correctly formatted
- Check that Segra is listening on port 1340 (not blocked by firewall)
- Restart CS2 after adding the config file
- Ensure you’re in an active game (not lobby/champion select)
- Check that port 2999 is not blocked
- Verify LoL client is running (integration needs the client)
- Confirm API access is properly configured
- Check API rate limits haven’t been exceeded
- Verify plugin system is enabled
- Check for conflicts with other Rocket League mods
Too many bookmarks
Too many bookmarks
If you’re getting too many automatic bookmarks:
- Disable integrations for games you don’t want tracked
- Use the whitelist/blacklist to control which games are recorded
- Manually delete unwanted bookmarks after recording
Integration not starting
Integration not starting
- Ensure the integration is enabled in Settings > Games
- Check that Segra service is running (system tray icon present)
- Verify the game is properly detected (check Segra’s game detection)
- Restart Segra and try launching the game again
Performance Impact
Game integrations are designed to have minimal performance impact:- Counter-Strike 2: Uses event-driven GSI (no polling)
- League of Legends: Polls every 250ms (negligible CPU usage)
- PUBG: API calls are rate-limited and efficient
- Rocket League: Native plugin integration (very low overhead)
Future Games
Segra is actively adding support for more games. Request integration support by:- Opening a GitHub issue
- Joining the Segra Discord community
- Contacting support at segra.tv