Skip to main content

Overview

Electron APIs / gep

The Game Events Provider (GEP) APIs allow your app to subscribe to real-time in-game events and info updates from supported games. GEP detects when a supported game launches, tracks gameplay state, and emits structured events your app can react to.

Game detection​

When a supported game is detected, the game-detected event fires. Call event.enable() inside the listener to activate GEP for that game. If the game is running with elevated privileges, the elevated-privileges-required event fires instead — your app must also run as administrator for events to be captured.

Features and info updates​

Before events flow, call setRequiredFeatures with the feature names your app needs. GEP will only emit new-info-update and new-game-event events for features you have registered. Use getFeatures to query which features a game supports, and getInfo to read the current game state at any point.

Supported events​

  • new-game-event — a discrete in-game event (kill, death, match start, etc.)
  • new-info-update — a change to a persistent game info value (health, score, map, etc.)
  • game-detected — a supported game process was found; call event.enable() to start GEP
  • game-exit — the tracked game process has exited
  • elevated-privileges-required — the game is running as administrator
  • error — an internal GEP error occurred

Namespaces​

NamespaceDescription
gepNamespace for GEP-related interfaces.

Interfaces​

InterfaceDescription
GepGameLaunchEventGame Events game detection Event.
OverwolfGameEventPackageGame Events Package interface.