- Game events API
Please read the overwolf.games.events documentation page to learn how to use Overwolf game events.
Sample Apps
Available Features
Game event status
It is highly recommended to communicate errors and warnings to app users.
Check the current game event status here. Alternatively, you can easily check that status from your app itself, using our API.
Game loop — what a "match" is
Rob Run has no classic matches. The player moves between zones:
main menu → hub (Lenny's Motel) → drive out → city (Looty Bay) → leave → hub / prison / own plot
A match in this API is one visit to the city:
match_start— fires when the player spawns in the city.match_end— fires when the player arrives in the next zone (hub, prison or their own plot) or quits to the main menu. Driving out of the city opens the realm map, and from there the player can still drive back in. In that case the same match continues.
gep_internal
Info Updates
| key | Category | Values | Notes | Since GEP Ver. |
|---|---|---|---|---|
| gep_internal | gep_internal | Local + Public version number | See notes | 137.0 |
gep_internal note
Data Example:
{"info":{"gep_internal":{"version_info":"{"local_version":"157.0.1","public_version":"157.0.1","is_updated":true}"}},"feature":"gep_internal"}
game_info
Info Updates
| key | Category | Values | Notes | Since GEP Ver. |
|---|---|---|---|---|
| scene | game_info | The zone the player is in. | See notes | 319.0 |
| server_region | game_info | Game server region. | See notes | 319.0 |
| ping | game_info | Ping (ms) to the current game server. | See notes | 319.0 |
| in_party | game_info | Whether the player is in a party. | See notes | 319.0 |
scene note
Possible values:
main_menuloadingprisonhubcitybase- the player's own plot.
Data Example:
{"info":{"game_info":{"scene":"main_menu"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"loading"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"hub"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"city"}},"feature":"game_info"}
server_region note
Data Example:
{"info":{"game_info":{"server_region":"eu_0"}},"feature":"game_info"}
ping note
Data Example:
{"info":{"game_info":{"ping":"58"}},"feature":"game_info"}
in_party note
true or false. Sent only when it changes.
Data Example:
{"info":{"game_info":{"in_party":"true"}},"feature":"game_info"}
match_info
Info Updates
| key | Category | Values | Notes | Since GEP Ver. |
|---|---|---|---|---|
| role | match_info | The player's current role. | See notes | 319.0 |
| player_state | match_info | The player character's current state. | See notes | 319.0 |
role note
Possible values:
prisonerhubber- in the hub.citizen- in the city and not wanted.robber- committed a crime.cop- took the sheriff job.settler- on their own plot.
Data Example:
{"info":{"match_info":{"role":"hubber"}},"feature":"match_info"}
{"info":{"match_info":{"role":"citizen"}},"feature":"match_info"}
{"info":{"match_info":{"role":"robber"}},"feature":"match_info"}
{"info":{"match_info":{"role":"cop"}},"feature":"match_info"}
player_state note
Possible values:
idlein_vehiclehiddenswimmingknocked_outdeadarrest_finished
Data Example:
{"info":{"match_info":{"player_state":"idle"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"in_vehicle"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"hidden"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"swimming"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"knocked_out"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"dead"}},"feature":"match_info"}
Events
| Event | Event Data | Fired When | Notes | Since GEP Ver. |
|---|---|---|---|---|
| match_start | null | The player spawned in the city. | See notes | 319.0 |
| match_end | Match summary | The player arrived in the next zone after the city, or quit to the main menu. | See notes | 319.0 |
| became_robber | null | The player's role changed to robber. | See notes | 319.0 |
| became_cop | null | The player took the sheriff (cop) job. | See notes | 319.0 |
| escaped | null | The player drove out of the city alive and arrived in another zone. | See notes | 319.0 |
| knocked_out | null | The player was knocked down. | See notes | 319.0 |
| recovered | null | The player got back up after being knocked out. | See notes | 319.0 |
| death | null | The player died. | See notes | 319.0 |
| respawned | null | The player came back to life in place (cops). | See notes | 319.0 |
| arrested | null | The player was arrested. | See notes | 319.0 |
| prison_escape | null | The player used the prison escape. | See notes | 319.0 |
| hide_start | null | The player hid (cupboard, trash can…). | See notes | 319.0 |
| hide_end | null | The player left the hiding spot. | See notes | 319.0 |
| vehicle_enter | null | The player got into a vehicle. | See notes | 319.0 |
| vehicle_exit | null | The player got out of a vehicle. | See notes | 319.0 |
match_start note
Data Example:
{"events":[{"name":"match_start","data":null}]}
match_end note
List of parameters:
- outcome - one of:
escapeddeadarrestedunknown
- duration - seconds spent in the city.
- became_robber - whether the player became a robber during this visit.
- was_cop - whether the player was a cop during this visit.
- loot_count - containers / loot nodes searched.
- items_picked_up - single items picked up.
- knockouts - times the player was knocked out.
Data Example:
{"events":[{"name":"match_end","data":"{\"outcome\":\"escaped\",\"duration\":415,\"became_robber\":true,\"was_cop\":false,\"loot_count\":3,\"items_picked_up\":0,\"knockouts\":0}"}]}
{"events":[{"name":"match_end","data":"{\"outcome\":\"arrested\",\"duration\":262,\"became_robber\":true,\"was_cop\":false,\"loot_count\":5,\"items_picked_up\":2,\"knockouts\":1}"}]}
became_robber note
Data Example:
{"events":[{"name":"became_robber","data":null}]}
became_cop note
Data Example:
{"events":[{"name":"became_cop","data":null}]}
escaped note
Fires right before match_end with outcome: "escaped".
Data Example:
{"events":[{"name":"escaped","data":null}]}
knocked_out note
Data Example:
{"events":[{"name":"knocked_out","data":null}]}
recovered note
Data Example:
{"events":[{"name":"recovered","data":null}]}
death note
Data Example:
{"events":[{"name":"death","data":null}]}
respawned note
A respawn clears the death, so it won't decide the match_end outcome.
Data Example:
{"events":[{"name":"respawned","data":null}]}
arrested note
Data Example:
{"events":[{"name":"arrested","data":null}]}
prison_escape note
Data Example:
{"events":[{"name":"prison_escape","data":null}]}
hide_start note
Data Example:
{"events":[{"name":"hide_start","data":null}]}
hide_end note
Data Example:
{"events":[{"name":"hide_end","data":null}]}
vehicle_enter note
Also fires when the player spawns in a zone already driving (after driving between zones).
Data Example:
{"events":[{"name":"vehicle_enter","data":null}]}
vehicle_exit note
Also fires when a load screen starts while the player is driving.
Data Example:
{"events":[{"name":"vehicle_exit","data":null}]}
inventory
Info Updates
| key | Category | Values | Notes | Since GEP Ver. |
|---|---|---|---|---|
| item_in_hands | inventory | The item id in the player's hands, or null when the hands are empty. | See notes | 319.0 |
item_in_hands note
Sent when the player takes, switches or puts away an item. Example ids: dp9_m1, kl545_m1, harris500_m2, painkiller_1, armor_plate_1.
Data Example:
{"info":{"inventory":{"item_in_hands":"dp9_m1"}},"feature":"inventory"}
{"info":{"inventory":{"item_in_hands":"harris500_m2"}},"feature":"inventory"}
{"info":{"inventory":{"item_in_hands":null}},"feature":"inventory"}
Events
| Event | Event Data | Fired When | Notes | Since GEP Ver. |
|---|---|---|---|---|
| loot | Container name | The player searched a container, loot node, car or loot bag. | See notes | 319.0 |
| item_picked_up | Item name | The player picked up a single item. | See notes | 319.0 |
| break_in | Target name | The player smashed glass or another breakable entry point. | See notes | 319.0 |
| hack_security_panel | Panel name | The player hacked a security panel. | See notes | 319.0 |
| sell_loot | Trader name | The player sold loot to a trader or fence. | See notes | 319.0 |
| collect_cash | Cash point name | The player picked up the cash after selling. | See notes | 319.0 |
| cargo_exchange | Exchanger name | The player used a cargo exchanger. | See notes | 319.0 |
loot note
Counted in match_end.loot_count. Example values: dumpster_node, container_type_cashbox, safe, office_cabinet, vehicle_loot.
Data Example:
{"events":[{"name":"loot","data":"dumpster_node"}]}
{"events":[{"name":"loot","data":"container_type_cashbox"}]}
item_picked_up note
Counted in match_end.items_picked_up. Example values: necklace_1, watch_5, ring_1, dp9_m1.
Data Example:
{"events":[{"name":"item_picked_up","data":"necklace_1"}]}
break_in note
Data Example:
{"events":[{"name":"break_in","data":"glass"}]}
hack_security_panel note
Data Example:
{"events":[{"name":"hack_security_panel","data":"sample_security_panel"}]}
sell_loot note
Data Example:
{"events":[{"name":"sell_loot","data":"buyer"}]}
collect_cash note
Data Example:
{"events":[{"name":"collect_cash","data":"buyer_cash_loot_point"}]}
cargo_exchange note
Data Example:
{"events":[{"name":"cargo_exchange","data":"cargo_exchanger"}]}
interaction
Events
| Event | Event Data | Fired When | Notes | Since GEP Ver. |
|---|---|---|---|---|
| interaction | Target and provider | The player used ("E") anything in the world. | See notes | 319.0 |
interaction note
Holding the key counts as a single interaction.
List of parameters:
- target - the object the player interacted with.
- provider - the kind of object, for example:
vehiclevehicle_spawnerhide_objectloot_nodelocation_loot_nodeloot_objectsecurity_panelcomposite- NPCs, ATMs.custom_interactionbattle_character
Data Example:
{"events":[{"name":"interaction","data":"{\"target\":\"car_fukurou_spark\",\"provider\":\"vehicle\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"parking\",\"provider\":\"vehicle_spawner\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"cupboard_hide\",\"provider\":\"hide_object\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"trash_can_big\",\"provider\":\"hide_object\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"dumpster_node\",\"provider\":\"location_loot_node\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"container_type_cashbox\",\"provider\":\"loot_node\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"sample_security_panel\",\"provider\":\"security_panel\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"atm\",\"provider\":\"composite\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"barter_trader\",\"provider\":\"composite\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"strip_dancer\",\"provider\":\"custom_interaction\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"character\",\"provider\":\"battle_character\"}"}]}
Full session example
Recorded session: main menu → hub → drive to the city → rob → escape by car → hub → quit.
scene main_menu
scene loading
player_state idle
role hubber
scene hub
interaction {"target":"parking","provider":"vehicle_spawner"}
interaction {"target":"car_fukurou_spark","provider":"vehicle"}
player_state in_vehicle + vehicle_enter
player_state idle + vehicle_exit (load screen: driving out)
scene loading
player_state in_vehicle + vehicle_enter (spawned driving)
role citizen
scene city
match_start
role robber + became_robber
loot dumpster_node
player_state hidden + hide_start
player_state idle + hide_end
hack_security_panel sample_security_panel
loot container_type_cashbox
player_state in_vehicle + vehicle_enter
player_state idle + vehicle_exit (load screen: driving out)
scene loading
player_state in_vehicle + vehicle_enter (arrived driving)
role hubber
escaped
match_end {"outcome":"escaped","duration":415,"became_robber":true,"was_cop":false,"loot_count":3,"items_picked_up":0,"knockouts":0}
scene hub
player_state idle + vehicle_exit
scene main_menu