overlayed.siege.readyForGameEvents() must be called before any events will be emitted.logged_in, module_loaded, module_unloaded, and unsupported_game_version are documented under
Universal events.
Name fields such as operatorName, gameType, and map.name are { id, value } objects. id is a
localized string id, or -1 when there is no name; value is the name in the game’s current language,
or empty when it can’t be resolved.
The types below use this shape as Translation, which @overlayed/app/siege exports.
started_queuing
gameMode and matchType are "Unknown" when the game has not set them yet. If a match is still
open, match_ended is emitted first.
stopped_queuing
Emitted when matchmaking ends, whether or not a match was found.match_started follows when one
was.
match_started
rounds lists every round of the match, including the ones not played yet, and is empty when
isRoundBased is false. Round state values are listed under round_ended.
match_ended
Every player still in the match gets aplayer_left just before this event.
map_changed
Also emitted right aftermatch_started with the match’s map.
operator_ban_voting_started
team and index identify one ban slot; index counts from 0 within each team.
operator_banned
operatorName is null when the slot ended without a ban.
operator_ban_cleared
Emitted once for every slot when the ban phase opens, before any voting, and again whenever a filled slot is reset.round_ended
Roundstate is 0 not played, 1 in progress, 2 lost, 3 enemies eliminated, 4 objective
complete, 5 time ran out, 6 enemies surrendered, 7 unknown reason, or 8 match cancelled.
damageEvents holds the damage players dealt to players since the previous round ended. Damage
with no player behind it is not included. damageAmount is preDamageHealth - remainingHealth.
Damage events with the same damageSourceId in one round came from the same in-world object.
damageItemId is the item’s asset id, shared by every copy of that weapon or gadget, and
damageItemInstanceId is the specific copy. damageTime is a Unix timestamp in milliseconds.
Damage locations are world coordinates in meters, with z as height. roomName.id is -1 outside
a named room.
players lists every player in the match when the round ended. operatorName is the last operator
the player was seen on. loadout is the last loadout seen for the player before the round started,
enemies included, in the same shape as player_loadout_changed. It is
null for players whose loadout was never seen, and missing from older game modules.
phase_changed
player_joined
playerId is assigned by Overlayed, not the game. It is unique while the module is loaded, and a
player who leaves and rejoins gets a new one. profileId is the player’s Ubisoft profile id; every
bot has the all-zero id.
isEnemy is relative to the local player’s team. startingSide is side at join and never
changes. pcUsername is the player’s Ubisoft Connect name, or null when it is not set.
matchStats holds the totals at join.
player_left
Emitted when a player drops off the scoreboard, and for every remaining player when the match ends.player_operator_changed
An enemy’s operator is reported only once that enemy has been discovered. Until then, and whenever a player has no operator,operatorName.id is -1.
player_location_changed
Only emitted for players on the local player’s team.locationName is the room name as the game
displays it, and is empty when the player is not in a named room.
player_side_changed
Emitted when the teams swap sides.player_score_changed
Carries the new match total. It is never emitted with0; the total at join is in
player_joined.matchStats.
player_kills_changed
Carries the new match total. It is never emitted with0; the total at join is in
player_joined.matchStats.
player_deaths_changed
Carries the new match total. It is never emitted with0; the total at join is in
player_joined.matchStats.
player_assists_changed
Carries the new match total. It is never emitted with0; the total at join is in
player_joined.matchStats.
player_game_mode_actions_changed
Carries the new match total. It is never emitted with0; the total at join is in
player_joined.matchStats.
defuser_planted
Emitted for players on either team.defuser_sabotaged
Emitted for players on either team.defuser_picked_up
Only emitted for players on the local player’s team.initial is true when the defuser is handed
out at the start of the round.
defuser_dropped
Only emitted for players on the local player’s team.player_ping_updated
Emitted at most every 5 seconds per player, and only when the ping changed. Bots and players with a ping of0 are skipped.
player_life_state_changed
player_died
A death that follows being downed always hasheadshot: false, and instigatorPlayerId is the
player who downed them. This includes downed players who are finished off when their team loses
the round, which arrive just before round_ended.
player_downed
Emitted once each time a player is downed.player_ping_id_changed
player_team_changed
Only seen when players move between teams in a custom game lobby.chat_message
Emitted for messages sent in all chat and team chat.isTeam is true for team chat.
map_ban_started
Emitted when map ban voting begins.maps lists the maps on offer.
map_banned
Emitted once per team for each banned map when the map ban results are shown.map_ban_result
map is the map that won the vote, or null when it is unknown. isTied is true when the vote was tied.
player_loadout_changed
Emitted when the loadout of a player on the local player’s team changes, including the local player. Loadouts are only read before the round starts (intro, planning and prep). Every name is an{ id, value } object, and an attachment slot with nothing fitted is null. primaryGadget is the
operator’s unique gadget.
player_equipped_item_changed
Emitted when a player on the local player’s team takes out a different item. Moments with nothing in hand, such as mid-swap or while on a drone, don’t emit.team_gadget is the attackers’ drone
before it is thrown.
player_observation_tool_changed
Emitted when a player on the local player’s team gets on or off a camera or drone, switches to another type of tool, or the tool ends up in another room.tool and roomName are null when the
player is not using one. isOwner is true when the tool belongs to the player, for example their
own drone rather than a teammate’s.

