Skip to content

Lua API — Events

SERVER_SPAWN

Event string: server_spawn

Send once a server starts.

Field Type Description
hostname String Public host name.
address String Hostame, IP or DNS name.
port Short Server port.
game String Game dir.
mapname String Map name.
addonname String Addon name.
maxplayers Long Max players.
os String WIN32, LINUX.
dedicated Boolean True if dedicated server.
password Boolean True if password protected.

SERVER_PRE_SHUTDOWN

Event string: server_pre_shutdown

Server is about to be shut down.

Field Type Description
reason String Reason why server is about to be shut down.

SERVER_SHUTDOWN

Event string: server_shutdown

Server shut down.

Field Type Description
reason String Reason why server was shut down.

SERVER_MESSAGE

Event string: server_message

A generic server message.

Field Type Description
text String The message text.

SERVER_CVAR

Event string: server_cvar

A server console var has changed.

Field Type Description
cvarname String Cvar name, eg "mp_roundtime".
cvarvalue String New cvar value.

PLAYER_ACTIVATE

Event string: player_activate

Field Type Description
userid EntityIndex User ID on server.

PLAYER_CONNECT_FULL

Event string: player_connect_full

Player has sent final message in the connection sequence.

Field Type Description
userid EntityIndex User ID on server (unique on server).
index Short
PlayerID PlayerID

PLAYER_FULL_UPDATE

Event string: player_full_update

Field Type Description
userid EntityIndex User ID on server.
count Short Number of this full update.

PLAYER_CONNECT

Event string: player_connect

A new client connected.

Field Type Description
name String Player name.
userid EntityIndex User ID on server (unique on server).
networkid String Player network (i.e steam) id.
xuid ULong Steam id.
bot Boolean
index Byte Player slot (entity index-1).

PLAYER_DISCONNECT

Event string: player_disconnect

A client was disconnected.

Field Type Description
userid EntityIndex User ID on server.
reason Short See networkdisconnect enum protobuf.
name String Player name.
networkid String Player network (i.e steam) id.
xuid ULong Steam id.
PlayerID PlayerID

PLAYER_INFO

Event string: player_info

A player changed his name.

Field Type Description
name String Player name.
userid EntityIndex User ID on server (unique on server).
steamid ULong Player network (i.e steam) id.
bot Boolean True if player is a AI bot.

PLAYER_SPAWN

Event string: player_spawn

Player spawned in game.

Field Type Description
userid EntityIndex

PLAYER_TEAM

Event string: player_team

Field Type Description
userid EntityIndex
team Byte Team id.
oldteam Byte Old team id.
disconnect Boolean Team change because player disconnects.
silent Boolean
name String
isbot Boolean

LOCAL_PLAYER_TEAM

Event string: local_player_team

This event carries no data fields.


LOCAL_PLAYER_CONTROLLER_TEAM

Event string: local_player_controller_team

This event carries no data fields.


PLAYER_CHANGENAME

Event string: player_changename

Field Type Description
userid EntityIndex User ID on server.
oldname String Players old (current) name.
newname String Players new name.

PLAYER_HURT

Event string: player_hurt

Field Type Description
userid EntityIndex Player who was hurt.
attacker Int Player who attacked.
health Byte Remaining health points.

PLAYER_CHAT

Event string: player_chat

A public player chat.

Field Type Description
teamonly Boolean True if team only chat.
userid EntityIndex Chatting player.
playerid PlayerID Chatting player ID.
text String Chat text.

LOCAL_PLAYER_PAWN_CHANGED

Event string: local_player_pawn_changed

This event carries no data fields.


TEAMPLAY_BROADCAST_AUDIO

Event string: teamplay_broadcast_audio

Emits a sound to everyone on a team.

Field Type Description
team Byte Unique team id.
sound String Name of the sound to emit.

FINALE_START

Event string: finale_start

Field Type Description
rushes Short

PLAYER_STATS_UPDATED

Event string: player_stats_updated

Field Type Description
forceupload Boolean

USER_DATA_DOWNLOADED

Event string: user_data_downloaded

Fired when achievements/stats are downloaded from Steam or XBox Live.

This event carries no data fields.


RAGDOLL_DISSOLVED

Event string: ragdoll_dissolved

Field Type Description
entindex EntityIndex

TEAM_INFO

Event string: team_info

Info about team.

Field Type Description
teamid Byte Unique team id.
teamname String Team name eg "Team Blue".

TEAM_SCORE

Event string: team_score

Team score changed.

Field Type Description
teamid Byte Team id.
score Short Total team score.

HLTV_CAMERAMAN

Event string: hltv_cameraman

A spectator/player is a cameraman.

Field Type Description
userid EntityIndex Camera man entity index.

HLTV_CHASE

Event string: hltv_chase

Shot of a single entity.

Field Type Description
target1 Int Primary traget index.
target2 Int Secondary traget index or 0.
distance Short Camera distance.
theta Short View angle horizontal.
phi Short View angle vertical.
inertia Byte Camera inertia.
ineye Byte Diretcor suggests to show ineye.

HLTV_RANK_CAMERA

Event string: hltv_rank_camera

A camera ranking.

Field Type Description
index Byte Fixed camera index.
rank Float Ranking, how interesting is this camera view.
target Int Best/closest target entity.

HLTV_RANK_ENTITY

Event string: hltv_rank_entity

An entity ranking.

Field Type Description
userid EntityIndex Player slot.
rank Float Ranking, how interesting is this entity to view.
target Int Best/closest target entity.

HLTV_FIXED

Event string: hltv_fixed

Show from fixed view.

Field Type Description
posx Long Camera position in world.
posy Long
posz Long
theta Short Camera angles.
phi Short
offset Short
fov Float
target Int Follow this player.

HLTV_MESSAGE

Event string: hltv_message

A HLTV message send by moderators.

Field Type Description
text String

HLTV_STATUS

Event string: hltv_status

General HLTV status.

Field Type Description
clients Long Number of HLTV spectators.
slots Long Number of HLTV slots.
proxies Short Number of HLTV proxies.
master String Disptach master IP:port.

HLTV_TITLE

Event string: hltv_title

Field Type Description
text String

HLTV_CHAT

Event string: hltv_chat

A HLTV chat msg sent by spectators.

Field Type Description
text String
steamID ULong Steam id.
name String

HLTV_VERSIONINFO

Event string: hltv_versioninfo

Field Type Description
version Long

HLTV_REPLAY

Event string: hltv_replay

Field Type Description
delay Long Number of seconds in killer replay delay.
reason Long Reason for replay (ReplayEventType_t).

HLTV_REPLAY_STATUS

Event string: hltv_replay_status

Field Type Description
reason Long Reason for hltv replay status change ().

DEMO_START

Event string: demo_start

Field Type Description
dota_combatlog_list Any CSVCMsgList_GameEvents that are combat log events.
dota_hero_chase_list Any CSVCMsgList_GameEvents.
dota_pick_hero_list Any CSVCMsgList_GameEvents.

DEMO_STOP

Event string: demo_stop

This event carries no data fields.


DEMO_SKIP

Event string: demo_skip

Field Type Description
playback_tick Long Current playback tick.
skipto_tick Long Tick we're going to.
user_message_list Any CSVCMsgList_UserMessages.
dota_hero_chase_list Any CSVCMsgList_GameEvents.

MAP_SHUTDOWN

Event string: map_shutdown

This event carries no data fields.


MAP_TRANSITION

Event string: map_transition

This event carries no data fields.


HOSTNAME_CHANGED

Event string: hostname_changed

Field Type Description
hostname String

DIFFICULTY_CHANGED

Event string: difficulty_changed

Field Type Description
newDifficulty Short
oldDifficulty Short
strDifficulty String New difficulty as string.

GAME_MESSAGE

Event string: game_message

A message send by game logic to everyone.

Field Type Description
target Byte 0 = console, 1 = HUD.
text String The message text.

GAME_NEWMAP

Event string: game_newmap

Send when new map is completely loaded.

Field Type Description
mapname String Map name.
transition Boolean True if this is a transition from one map to another.

ROUND_START

Event string: round_start

Field Type Description
timelimit Long Round time limit in seconds.
fraglimit Long Frag limit in seconds.
objective String Round objective.

ROUND_END

Event string: round_end

Field Type Description
winner Byte Winner team/user i.
reason Byte Reson why team won.
message String End round message.
time Float

ROUND_START_PRE_ENTITY

Event string: round_start_pre_entity

This event carries no data fields.


ROUND_START_POST_NAV

Event string: round_start_post_nav

This event carries no data fields.


ROUND_FREEZE_END

Event string: round_freeze_end

This event carries no data fields.


TEAMPLAY_ROUND_START

Event string: teamplay_round_start

Round restart.

Field Type Description
full_reset Boolean Is this a full reset of the map.

PLAYER_DEATH

Event string: player_death

A game event, name may be 32 charaters long.

Field Type Description
userid EntityIndex User ID who died.
attacker Int User ID who killed.

PLAYER_FOOTSTEP

Event string: player_footstep

Field Type Description
userid EntityIndex

PLAYER_HINTMESSAGE

Event string: player_hintmessage

Field Type Description
hintmessage String Localizable string of a hint.

BREAK_BREAKABLE

Event string: break_breakable

Field Type Description
entindex EntityIndex
userid EntityIndex
material Byte BREAK_GLASS, BREAK_WOOD, etc.

BROKEN_BREAKABLE

Event string: broken_breakable

Field Type Description
entindex EntityIndex
userid EntityIndex
material Byte BREAK_GLASS, BREAK_WOOD, etc.

BREAK_PROP

Event string: break_prop

Field Type Description
entindex EntityIndex
userid EntityIndex
player_held Boolean
player_thrown Boolean
player_dropped Boolean

ENTITY_KILLED

Event string: entity_killed

Field Type Description
entindex_killed EntityIndex
entindex_attacker EntityIndex
entindex_inflictor EntityIndex
damagebits Long

DOOR_CLOSE

Event string: door_close

Field Type Description
userid EntityIndex Who closed the door.
checkpoint Boolean Is the door a checkpoint door.

VOTE_STARTED

Event string: vote_started

Field Type Description
issue String
param1 String
votedata String
team Byte
initiator Long Entity id of the player who initiated the vote.
reliable ReliableType = ReliableType.Reliable This event is reliable.

VOTE_FAILED

Event string: vote_failed

Field Type Description
team Byte
reliable ReliableType = ReliableType.Reliable This event is reliable.

VOTE_PASSED

Event string: vote_passed

Field Type Description
details String
param1 String
team Byte
reliable ReliableType = ReliableType.Reliable This event is reliable.

VOTE_CHANGED

Event string: vote_changed

Field Type Description
yesVotes Byte
noVotes Byte
potentialVotes Byte

VOTE_CAST_YES

Event string: vote_cast_yes

Field Type Description
team Byte
entityid Long Entity id of the voter.

VOTE_CAST_NO

Event string: vote_cast_no

Field Type Description
team Byte
entityid Long Entity id of the voter.

ACHIEVEMENT_EVENT

Event string: achievement_event

Field Type Description
achievement_name String Non-localized name of achievement.
cur_val Short # of steps toward achievement.
max_val Short Total # of steps in achievement.

ACHIEVEMENT_EARNED

Event string: achievement_earned

Field Type Description
player Int Entindex of the player.
achievement Short Achievement ID.

ACHIEVEMENT_WRITE_FAILED

Event string: achievement_write_failed

This event carries no data fields.


BONUS_UPDATED

Event string: bonus_updated

Field Type Description
numadvanced Short
numbronze Short
numsilver Short
numgold Short

SPEC_TARGET_UPDATED

Event string: spec_target_updated

Field Type Description
userid EntityIndex Spectating player.
target Any Ehandle of the target.

SPEC_MODE_UPDATED

Event string: spec_mode_updated

Field Type Description
userid EntityIndex Spectating player.

ENTITY_VISIBLE

Event string: entity_visible

Field Type Description
userid EntityIndex The player who sees the entity.
subject Long Entindex of the entity they see.
classname String Classname of the entity they see.
entityname String Name of the entity they see.

GAMEINSTRUCTOR_DRAW

Event string: gameinstructor_draw

This event carries no data fields.


GAMEINSTRUCTOR_NODRAW

Event string: gameinstructor_nodraw

This event carries no data fields.


FLARE_IGNITE_NPC

Event string: flare_ignite_npc

Field Type Description
entindex EntityIndex Entity ignited.

HELICOPTER_GRENADE_PUNT_MISS

Event string: helicopter_grenade_punt_miss

This event carries no data fields.


PHYSGUN_PICKUP

Event string: physgun_pickup

Field Type Description
target Any Entity picked up.

INVENTORY_UPDATED

Event string: inventory_updated

Field Type Description
itemdef Short
itemid Long

CART_UPDATED

Event string: cart_updated

This event carries no data fields.


STORE_PRICESHEET_UPDATED

Event string: store_pricesheet_updated

This event carries no data fields.


ITEM_SCHEMA_INITIALIZED

Event string: item_schema_initialized

This event carries no data fields.


DROP_RATE_MODIFIED

Event string: drop_rate_modified

This event carries no data fields.


EVENT_TICKET_MODIFIED

Event string: event_ticket_modified

This event carries no data fields.


GC_CONNECTED

Event string: gc_connected

This event carries no data fields.


INSTRUCTOR_START_LESSON

Event string: instructor_start_lesson

Field Type Description
userid EntityIndex The player who this lesson is intended for.
hint_name String Name of the lesson to start. Must match instructor_lesson.txt.
hint_target Long Entity id that the hint should display at. Leave empty if controller target.
vr_movement_type Byte
vr_single_controller Boolean
vr_controller_type Byte

INSTRUCTOR_CLOSE_LESSON

Event string: instructor_close_lesson

Field Type Description
userid EntityIndex The player who this lesson is intended for.
hint_name String Name of the lesson to start. Must match instructor_lesson.txt.

INSTRUCTOR_SERVER_HINT_CREATE

Event string: instructor_server_hint_create

Field Type Description
userid EntityIndex User ID of the player that triggered the hint.
hint_entindex EntityIndex Entity id of the env_instructor_hint that fired the event.
hint_name String What to name the hint. For referencing it again later (e.g. a kill command for the hint instead of a timeout).
hint_replace_key String Type name so that messages of the same type will replace each other.
hint_target Long Entity id that the hint should display at.
hint_activator_userid EntityIndex Playerslot of the activator.
hint_timeout Short How long in seconds until the hint automatically times out, 0 = never.
hint_icon_onscreen String The hint icon to use when the hint is onscreen. e.g. "icon_alert_red".
hint_icon_offscreen String The hint icon to use when the hint is offscreen. e.g. "icon_alert".
hint_caption String The hint caption. e.g. "#ThisIsDangerous".
hint_activator_caption String The hint caption that only the activator sees e.g. "#YouPushedItGood".
hint_color String The hint color in "r,g,b" format where each component is 0-255.
hint_icon_offset Float How far on the z axis to offset the hint from entity origin.
hint_range Float Range before the hint is culled.
hint_flags Long Hint flags.
hint_binding String Bindings to use when use_binding is the onscreen icon.
hint_allow_nodraw_target Boolean If false, the hint will dissappear if the target entity is invisible.
hint_nooffscreen Boolean If true, the hint will not show when outside the player view.
hint_forcecaption Boolean If true, the hint caption will show even if the hint is occluded.
hint_local_player_only Boolean If true, only the local player will see the hint.
hint_start_sound String Game sound to play.
hint_layoutfile String Path for Panorama layout file.
hint_vr_panel_type Short Attachment type for the Panorama panel.
hint_vr_height_offset Float Height offset for attached panels.
hint_vr_offset_x Float Offset for attached panels.
hint_vr_offset_y Float Offset for attached panels.
hint_vr_offset_z Float Offset for attached panels.

INSTRUCTOR_SERVER_HINT_STOP

Event string: instructor_server_hint_stop

Field Type Description
hint_name String The hint to stop. Will stop ALL hints with this name.
hint_entindex EntityIndex Entity id of the env_instructor_hint that fired the event.

SET_INSTRUCTOR_GROUP_ENABLED

Event string: set_instructor_group_enabled

Field Type Description
group String
enabled Short

CLIENTSIDE_LESSON_CLOSED

Event string: clientside_lesson_closed

Field Type Description
lesson_name String

DYNAMIC_SHADOW_LIGHT_CHANGED

Event string: dynamic_shadow_light_changed

This event carries no data fields.


BOT_TAKEOVER

Event string: bot_takeover

Field Type Description
userid EntityIndex
botid Int
p Float
y Float
r Float

DOTA_CHASE_HERO

Event string: dota_chase_hero

Shot of a single entity.

Field Type Description
target1 Short Primary traget index.
target2 Short Secondary traget index or 0.
type Byte
priority Short
gametime Float
highlight Boolean If set, a result of highlight reel mode.
target1playerid PlayerID
target2playerid PlayerID
eventtype Short EDOTAHeroChaseEventType.

DOTA_COMBATLOG

Event string: dota_combatlog

Field Type Description
type Byte
sourcename Short
targetname Short
attackername Short
inflictorname Short
attackerillusion Boolean
targetillusion Boolean
value Short
health Short
timestamp Float
targetsourcename Short
timestampraw Float
attackerhero Boolean
targethero Boolean
ability_toggle_on Boolean
ability_toggle_off Boolean
ability_level Short
gold_reason Short
xp_reason Short

DOTA_GAME_STATE_CHANGE

Event string: dota_game_state_change

Field Type Description
old_state Short
new_state Short

HERO_SELECTED

Event string: hero_selected

Field Type Description
player_id PlayerID
team_number Short
hero_unit String

DOTA_PLAYER_PICK_HERO

Event string: dota_player_pick_hero

Field Type Description
player Short
heroindex Short
hero String

MODIFIER_EVENT

Event string: modifier_event

Field Type Description
eventname String
caster Short
ability Short

DOTA_PLAYER_KILL

Event string: dota_player_kill

Field Type Description
victim_userid EntityIndex
killer1_userid EntityIndex
killer2_userid EntityIndex
killer3_userid EntityIndex
killer4_userid EntityIndex
killer5_userid EntityIndex
bounty Short
neutral Short
greevil Short

DOTA_PLAYER_DENY

Event string: dota_player_deny

Field Type Description
killer_userid EntityIndex
victim_userid EntityIndex

DOTA_BARRACKS_KILL

Event string: dota_barracks_kill

Field Type Description
barracks_id Short
barracks_type Short
teamnumber Short
killer_userid EntityIndex
killer_team Short
gold Short
pos_x Float
pos_y Float
pos_z Float

DOTA_TOWER_KILL

Event string: dota_tower_kill

Field Type Description
killer_userid EntityIndex
teamnumber Short
gold Short
tier Short
pos_x Float
pos_y Float
pos_z Float

DOTA_TOWER_DENY

Event string: dota_tower_deny

Field Type Description
killer_userid EntityIndex
teamnumber Short
gold Short
tier Short
pos_x Float
pos_y Float
pos_z Float

DOTA_EFFIGY_KILL

Event string: dota_effigy_kill

Field Type Description
owner_userid EntityIndex

DOTA_ROSHAN_KILL

Event string: dota_roshan_kill

Field Type Description
teamnumber Short
gold Short

DOTA_MINIBOSS_KILL

Event string: dota_miniboss_kill

Field Type Description
shard_recipient_id Short
teamnumber Short
gold Short

DOTA_BANNER_PLANTED

Event string: dota_banner_planted

Field Type Description
teamnumber Short

DOTA_COURIER_LOST

Event string: dota_courier_lost

Field Type Description
killerid Short
teamnumber Short
bounty_gold Short

DOTA_COURIER_RESPAWNED

Event string: dota_courier_respawned

Field Type Description
teamnumber Short

DOTA_GLYPH_USED

Event string: dota_glyph_used

Field Type Description
teamnumber Short

DOTA_SUPER_CREEPS

Event string: dota_super_creeps

Field Type Description
teamnumber Short

DOTA_ITEM_PURCHASE

Event string: dota_item_purchase

Field Type Description
userid EntityIndex
item_ability_id Int

DOTA_ITEM_GIFTED

Event string: dota_item_gifted

Field Type Description
userid EntityIndex
item_ability_id Int
sourceid Short

DOTA_ITEM_PLACED_IN_NEUTRAL_STASH

Event string: dota_item_placed_in_neutral_stash

Field Type Description
userid EntityIndex
item_ability_id Int

DOTA_RUNE_PICKUP

Event string: dota_rune_pickup

Field Type Description
userid EntityIndex
type Short
rune Short
bounty_amount Short

DOTA_RUNE_DENY

Event string: dota_rune_deny

Field Type Description
userid EntityIndex
rune Short

DOTA_WARD_KILLED

Event string: dota_ward_killed

Field Type Description
userid EntityIndex
type Short
bounty_amount Short

DOTA_RUNE_SPOTTED

Event string: dota_rune_spotted

Field Type Description
userid EntityIndex
rune Short
map_location String
rune_team Short

DOTA_ITEM_SPOTTED

Event string: dota_item_spotted

Field Type Description
userid EntityIndex
item_ability_id Int

DOTA_NO_BATTLE_POINTS

Event string: dota_no_battle_points

Field Type Description
userid EntityIndex
reason Short

DOTA_CHAT_INFORMATIONAL

Event string: dota_chat_informational

Field Type Description
userid EntityIndex
type Short

DOTA_ACTION_ITEM

Event string: dota_action_item

Field Type Description
reason Short
itemdef Short
message Short

DOTA_CHAT_BAN_NOTIFICATION

Event string: dota_chat_ban_notification

Field Type Description
userid EntityIndex

DOTA_CHAT_EVENT

Event string: dota_chat_event

Field Type Description
userid EntityIndex
gold Short
message Short

DOTA_CHAT_TIMED_REWARD

Event string: dota_chat_timed_reward

Field Type Description
userid EntityIndex
itmedef Short
message Short

DOTA_PAUSE_EVENT

Event string: dota_pause_event

Field Type Description
userid EntityIndex
value Short
message Short

DOTA_CHAT_KILL_STREAK

Event string: dota_chat_kill_streak

Field Type Description
gold Short
killer_id Short
killer_streak Short
killer_multikill Short
victim_id Short
victim_streak Short

DOTA_CHAT_FIRST_BLOOD

Event string: dota_chat_first_blood

Field Type Description
gold Short
killer_id Short
victim_id Short

DOTA_CHAT_ASSASSIN_ANNOUNCE

Event string: dota_chat_assassin_announce

Field Type Description
assassin_id Short
target_id Short
message Short

DOTA_CHAT_ASSASSIN_DENIED

Event string: dota_chat_assassin_denied

Field Type Description
assassin_id Short
target_id Short
message Short

DOTA_CHAT_ASSASSIN_SUCCESS

Event string: dota_chat_assassin_success

Field Type Description
assassin_id Short
target_id Short
message Short

DOTA_PLAYER_UPDATE_HERO_SELECTION

Event string: dota_player_update_hero_selection

Field Type Description
tabcycle Boolean

DOTA_PLAYER_UPDATE_SELECTED_UNIT

Event string: dota_player_update_selected_unit

This event carries no data fields.


DOTA_PLAYER_UPDATE_QUERY_UNIT

Event string: dota_player_update_query_unit

This event carries no data fields.


DOTA_PLAYER_UPDATE_KILLCAM_UNIT

Event string: dota_player_update_killcam_unit

This event carries no data fields.


DOTA_PLAYER_TAKE_TOWER_DAMAGE

Event string: dota_player_take_tower_damage

Field Type Description
PlayerID PlayerID
damage Short

DOTA_HUD_ERROR_MESSAGE

Event string: dota_hud_error_message

Field Type Description
reason Byte
message String
sequenceNumber Int

DOTA_ACTION_SUCCESS

Event string: dota_action_success

This event carries no data fields.


DOTA_TEAM_NEUTRAL_STASH_ITEMS_CHANGED

Event string: dota_team_neutral_stash_items_changed

Field Type Description
teamnumber Short

DOTA_TEAM_NEUTRAL_STASH_ITEMS_ACKNOWLEDGED_CHANGED

Event string: dota_team_neutral_stash_items_acknowledged_changed

Field Type Description
teamnumber Short

DOTA_MONEY_CHANGED

Event string: dota_money_changed

This event carries no data fields.


DOTA_ENEMY_MONEY_CHANGED

Event string: dota_enemy_money_changed

This event carries no data fields.


DOTA_PORTRAIT_UNIT_STATS_CHANGED

Event string: dota_portrait_unit_stats_changed

This event carries no data fields.


DOTA_PORTRAIT_UNIT_MODIFIERS_CHANGED

Event string: dota_portrait_unit_modifiers_changed

Field Type Description
modifier_affects_abilities Boolean

DOTA_FORCE_PORTRAIT_UPDATE

Event string: dota_force_portrait_update

This event carries no data fields.


DOTA_INVENTORY_CHANGED

Event string: dota_inventory_changed

This event carries no data fields.


DOTA_HERO_ABILITY_POINTS_CHANGED

Event string: dota_hero_ability_points_changed

This event carries no data fields.


DOTA_ITEM_PICKED_UP

Event string: dota_item_picked_up

Field Type Description
itemname String
PlayerID PlayerID
ItemEntityIndex EntityIndex
HeroEntityIndex EntityIndex

DOTA_ITEM_PHYSICAL_DESTROYED

Event string: dota_item_physical_destroyed

Field Type Description
itemname String
PlayerID PlayerID
ItemEntityIndex EntityIndex
HeroEntityIndex EntityIndex

DOTA_NEUTRAL_ITEM_SENT_TO_STASH

Event string: dota_neutral_item_sent_to_stash

Field Type Description
player_id PlayerID
itemname String
item_entindex EntityIndex

DOTA_INVENTORY_ITEM_CHANGED

Event string: dota_inventory_item_changed

Field Type Description
entityIndex EntityIndex

DOTA_ABILITY_CHANGED

Event string: dota_ability_changed

Field Type Description
entityIndex EntityIndex

DOTA_SPECTATOR_TALENT_CHANGED

Event string: dota_spectator_talent_changed

Field Type Description
abilityname String
playerid PlayerID

DOTA_PORTRAIT_ABILITY_LAYOUT_CHANGED

Event string: dota_portrait_ability_layout_changed

This event carries no data fields.


DOTA_INVENTORY_ITEM_ADDED

Event string: dota_inventory_item_added

Field Type Description
item_slot Short
inventory_player_id PlayerID
itemname String
item_entindex EntityIndex
inventory_parent_entindex EntityIndex
is_courier Boolean

DOTA_INVENTORY_CHANGED_QUERY_UNIT

Event string: dota_inventory_changed_query_unit

This event carries no data fields.


Event string: dota_link_clicked

Field Type Description
link String
nav Boolean Internal to item panel - preserve the nav stack.
nav_back Boolean Internal to item panel - preserve the nav stack.
recipe Short
shop Short Show the item in a particular shop.

DOTA_SET_QUICK_BUY

Event string: dota_set_quick_buy

Field Type Description
item String
recipe Byte
toggle Boolean

DOTA_QUICK_BUY_CHANGED

Event string: dota_quick_buy_changed

Field Type Description
item String
recipe Byte

DOTA_PLAYER_SHOP_CHANGED

Event string: dota_player_shop_changed

Field Type Description
prevshopmask Byte
shopmask Byte

DOTA_HERO_ENTERED_SHOP

Event string: dota_hero_entered_shop

Field Type Description
shop_type Short
shop_entindex EntityIndex
hero_entindex EntityIndex

DOTA_PLAYER_SHOW_KILLCAM

Event string: dota_player_show_killcam

Field Type Description
nodes Byte
player Short

DOTA_PLAYER_SHOW_MINIKILLCAM

Event string: dota_player_show_minikillcam

Field Type Description
nodes Byte
player Short

GC_USER_SESSION_CREATED

Event string: gc_user_session_created

This event carries no data fields.


TEAM_DATA_UPDATED

Event string: team_data_updated

This event carries no data fields.


GUILD_DATA_UPDATED

Event string: guild_data_updated

This event carries no data fields.


GUILD_OPEN_PARTIES_UPDATED

Event string: guild_open_parties_updated

This event carries no data fields.


FANTASY_UPDATED

Event string: fantasy_updated

This event carries no data fields.


FANTASY_LEAGUE_CHANGED

Event string: fantasy_league_changed

This event carries no data fields.


FANTASY_SCORE_INFO_CHANGED

Event string: fantasy_score_info_changed

This event carries no data fields.


LEAGUE_ADMIN_INFO_UPDATED

Event string: league_admin_info_updated

This event carries no data fields.


LEAGUE_SERIES_INFO_UPDATED

Event string: league_series_info_updated

This event carries no data fields.


PLAYER_INFO_UPDATED

Event string: player_info_updated

This event carries no data fields.


PLAYER_INFO_INDIVIDUAL_UPDATED

Event string: player_info_individual_updated

Field Type Description
account_id Long

GAME_RULES_STATE_CHANGE

Event string: game_rules_state_change

This event carries no data fields.


MATCH_HISTORY_UPDATED

Event string: match_history_updated

Field Type Description
SteamID ULong

MATCH_DETAILS_UPDATED

Event string: match_details_updated

Field Type Description
matchID ULong

TEAM_DETAILS_UPDATED

Event string: team_details_updated

Field Type Description
teamID Long

LIVE_GAMES_UPDATED

Event string: live_games_updated

This event carries no data fields.


RECENT_MATCHES_UPDATED

Event string: recent_matches_updated

Field Type Description
Page Short

NEWS_UPDATED

Event string: news_updated

This event carries no data fields.


PERSONA_UPDATED

Event string: persona_updated

Field Type Description
SteamID ULong

TOURNAMENT_STATE_UPDATED

Event string: tournament_state_updated

This event carries no data fields.


PARTY_UPDATED

Event string: party_updated

This event carries no data fields.


LOBBY_UPDATED

Event string: lobby_updated

This event carries no data fields.


DASHBOARD_CACHES_CLEARED

Event string: dashboard_caches_cleared

This event carries no data fields.


LAST_HIT

Event string: last_hit

Field Type Description
PlayerID PlayerID
EntKilled Short
FirstBlood Boolean
HeroKill Boolean
TowerKill Boolean

PLAYER_COMPLETED_GAME

Event string: player_completed_game

Field Type Description
PlayerID PlayerID
Winner Byte

PLAYER_RECONNECTED

Event string: player_reconnected

Field Type Description
PlayerID PlayerID

NOMMED_TREE

Event string: nommed_tree

Field Type Description
PlayerID PlayerID

DOTA_RUNE_ACTIVATED_SERVER

Event string: dota_rune_activated_server

Field Type Description
PlayerID PlayerID
rune Short

DOTA_PLAYER_GAINED_LEVEL

Event string: dota_player_gained_level

Field Type Description
player Short
player_id PlayerID
level Short
hero_entindex EntityIndex
PlayerID PlayerID

DOTA_PLAYER_LEARNED_ABILITY

Event string: dota_player_learned_ability

Field Type Description
PlayerID PlayerID
player Short
abilityname String

DOTA_PLAYER_USED_ABILITY

Event string: dota_player_used_ability

Field Type Description
PlayerID PlayerID
abilityname String
caster_entindex EntityIndex

DOTA_NON_PLAYER_USED_ABILITY

Event string: dota_non_player_used_ability

Field Type Description
abilityname String
caster_entindex EntityIndex

DOTA_PLAYER_BEGIN_CAST

Event string: dota_player_begin_cast

Field Type Description
PlayerID PlayerID
abilityname String
caster_entindex EntityIndex

DOTA_NON_PLAYER_BEGIN_CAST

Event string: dota_non_player_begin_cast

Field Type Description
abilityname String
caster_entindex EntityIndex

DOTA_ABILITY_CHANNEL_FINISHED

Event string: dota_ability_channel_finished

Field Type Description
abilityname String
interrupted Boolean
caster_entindex EntityIndex

DOTA_HOLDOUT_REVIVE_COMPLETE

Event string: dota_holdout_revive_complete

Field Type Description
caster Short
target Short
channel_time Float

DOTA_HOLDOUT_REVIVE_ELIMINATED

Event string: dota_holdout_revive_eliminated

Field Type Description
caster Short
target Short
channel_time Float

DOTA_PLAYER_KILLED

Event string: dota_player_killed

Field Type Description
PlayerID PlayerID
HeroKill Boolean
TowerKill Boolean

DOTA_ASSIST_EARNED

Event string: dota_assist_earned

Field Type Description
entindex_hero EntityIndex
playerid_victim PlayerID

BINDPANEL_OPEN

Event string: bindpanel_open

This event carries no data fields.


BINDPANEL_CLOSE

Event string: bindpanel_close

This event carries no data fields.


KEYBIND_CHANGED

Event string: keybind_changed

This event carries no data fields.


DOTA_ITEM_DRAG_BEGIN

Event string: dota_item_drag_begin

This event carries no data fields.


DOTA_ITEM_DRAG_END

Event string: dota_item_drag_end

This event carries no data fields.


DOTA_SHOP_ITEM_DRAG_BEGIN

Event string: dota_shop_item_drag_begin

This event carries no data fields.


DOTA_SHOP_ITEM_DRAG_END

Event string: dota_shop_item_drag_end

This event carries no data fields.


DOTA_ITEM_PURCHASED

Event string: dota_item_purchased

Field Type Description
PlayerID PlayerID
itemname String
itemcost Short

DOTA_ITEM_COMBINED

Event string: dota_item_combined

Field Type Description
PlayerID PlayerID
itemname String
itemcost Short

DOTA_ITEM_USED

Event string: dota_item_used

Field Type Description
PlayerID PlayerID
itemname String

DOTA_ITEM_AUTO_PURCHASE

Event string: dota_item_auto_purchase

Field Type Description
item_id Short

DOTA_UNIT_EVENT

Event string: dota_unit_event

Field Type Description
victim Short
attacker Short
basepriority Short
priority Short
eventtype Short EDOTAHeroChaseEventType.

DOTA_QUEST_STARTED

Event string: dota_quest_started

Field Type Description
questIndex Long Entity index.

DOTA_QUEST_COMPLETED

Event string: dota_quest_completed

Field Type Description
questIndex Long Entity index.

GAMEUI_ACTIVATED

Event string: gameui_activated

This event carries no data fields.


GAMEUI_HIDDEN

Event string: gameui_hidden

This event carries no data fields.


PLAYER_FULLYJOINED

Event string: player_fullyjoined

Field Type Description
userid EntityIndex User ID on server.
name String Player name.

DOTA_SPECTATE_HERO

Event string: dota_spectate_hero

Field Type Description
entindex EntityIndex

DOTA_MATCH_DONE

Event string: dota_match_done

Field Type Description
winningteam Byte The ID of the winning team.

DOTA_MATCH_DONE_CLIENT

Event string: dota_match_done_client

This event carries no data fields.


JOINED_CHAT_CHANNEL

Event string: joined_chat_channel

Field Type Description
channelName String

LEFT_CHAT_CHANNEL

Event string: left_chat_channel

Field Type Description
channelName String

GC_CHAT_CHANNEL_LIST_UPDATED

Event string: gc_chat_channel_list_updated

This event carries no data fields.


FILE_DOWNLOADED

Event string: file_downloaded

Field Type Description
success Boolean
local_filename String
remote_url String

PLAYER_REPORT_COUNTS_UPDATED

Event string: player_report_counts_updated

Field Type Description
positive_remaining Byte
negative_remaining Byte
positive_total Short
negative_total Short

SCALEFORM_FILE_DOWNLOAD_COMPLETE

Event string: scaleform_file_download_complete

Field Type Description
success Boolean
local_filename String
remote_url String

ITEM_PURCHASED

Event string: item_purchased

Field Type Description
itemid Short

GC_MISMATCHED_VERSION

Event string: gc_mismatched_version

This event carries no data fields.


DOTA_WORKSHOP_FILESELECTED

Event string: dota_workshop_fileselected

Field Type Description
filename String

DOTA_WORKSHOP_FILECANCELED

Event string: dota_workshop_filecanceled

This event carries no data fields.


RICH_PRESENCE_UPDATED

Event string: rich_presence_updated

This event carries no data fields.


LIVE_LEAGUES_UPDATED

Event string: live_leagues_updated

This event carries no data fields.


DOTA_HERO_RANDOM

Event string: dota_hero_random

Field Type Description
userid EntityIndex
heroid Short

DOTA_RIVER_PAINTED

Event string: dota_river_painted

Field Type Description
userid EntityIndex
riverid Short

DOTA_SCAN_USED

Event string: dota_scan_used

Field Type Description
teamnumber Short

DOTA_SCAN_FOUND_ENEMY

Event string: dota_scan_found_enemy

Field Type Description
teamnumber Short

DOTA_RD_CHAT_TURN

Event string: dota_rd_chat_turn

Field Type Description
userid EntityIndex

DOTA_AD_NOMINATED_BAN

Event string: dota_ad_nominated_ban

Field Type Description
heroid Short

DOTA_AD_BAN

Event string: dota_ad_ban

Field Type Description
heroid Short

DOTA_AD_BAN_COUNT

Event string: dota_ad_ban_count

Field Type Description
count Short

DOTA_AD_HERO_COLLISION

Event string: dota_ad_hero_collision

Field Type Description
heroid Short
playerid1 PlayerID
playerid2 PlayerID

DOTA_FAVORITE_HEROES_UPDATED

Event string: dota_favorite_heroes_updated

This event carries no data fields.


PROFILE_OPENED

Event string: profile_opened

This event carries no data fields.


PROFILE_CLOSED

Event string: profile_closed

This event carries no data fields.


ITEM_PREVIEW_CLOSED

Event string: item_preview_closed

This event carries no data fields.


DASHBOARD_SWITCHED_SECTION

Event string: dashboard_switched_section

Field Type Description
section Short

DOTA_TOURNAMENT_ITEM_EVENT

Event string: dota_tournament_item_event

Field Type Description
winner_count Short
event_type Short

DOTA_HERO_SWAP

Event string: dota_hero_swap

Field Type Description
playerid1 PlayerID
playerid2 PlayerID

DOTA_RESET_SUGGESTED_ITEMS

Event string: dota_reset_suggested_items

This event carries no data fields.


HALLOWEEN_HIGH_SCORE_RECEIVED

Event string: halloween_high_score_received

This event carries no data fields.


HALLOWEEN_PHASE_END

Event string: halloween_phase_end

Field Type Description
phase Byte
team Byte

HALLOWEEN_HIGH_SCORE_REQUEST_FAILED

Event string: halloween_high_score_request_failed

This event carries no data fields.


DOTA_HUD_SKIN_CHANGED

Event string: dota_hud_skin_changed

Field Type Description
skin String
style Byte

DOTA_INVENTORY_PLAYER_GOT_ITEM

Event string: dota_inventory_player_got_item

Field Type Description
itemname String

PLAYER_IS_EXPERIENCED

Event string: player_is_experienced

This event carries no data fields.


PLAYER_IS_NOTEXPERIENCED

Event string: player_is_notexperienced

This event carries no data fields.


DOTA_TUTORIAL_LESSON_START

Event string: dota_tutorial_lesson_start

This event carries no data fields.


DOTA_TUTORIAL_TASK_ADVANCE

Event string: dota_tutorial_task_advance

This event carries no data fields.


DOTA_TUTORIAL_SHOP_TOGGLED

Event string: dota_tutorial_shop_toggled

Field Type Description
shop_opened Boolean

RICHPRESENCE_CUSTOM_UPDATED

Event string: richpresence_custom_updated

This event carries no data fields.


GAME_END_VISIBLE

Event string: game_end_visible

This event carries no data fields.


ENABLE_CHINA_LOGOMARK

Event string: enable_china_logomark

This event carries no data fields.


HIGHLIGHT_HUD_ELEMENT

Event string: highlight_hud_element

Field Type Description
elementname String
duration Float

HIDE_HIGHLIGHT_HUD_ELEMENT

Event string: hide_highlight_hud_element

This event carries no data fields.


INTRO_VIDEO_FINISHED

Event string: intro_video_finished

This event carries no data fields.


MATCHMAKING_STATUS_VISIBILITY_CHANGED

Event string: matchmaking_status_visibility_changed

This event carries no data fields.


PRACTICE_LOBBY_VISIBILITY_CHANGED

Event string: practice_lobby_visibility_changed

This event carries no data fields.


DOTA_COURIER_TRANSFER_ITEM

Event string: dota_courier_transfer_item

Field Type Description
hero_entindex EntityIndex
courier_entindex EntityIndex
item_entindex EntityIndex

FULL_UI_UNLOCKED

Event string: full_ui_unlocked

This event carries no data fields.


CLIENT_DISCONNECT

Event string: client_disconnect

Field Type Description
reason_code Int
reason_desc String

HERO_SELECTOR_PREVIEW_SET

Event string: hero_selector_preview_set

Field Type Description
setindex Short

ANTIADDICTION_TOAST

Event string: antiaddiction_toast

Field Type Description
message String
duration Float

HERO_PICKER_SHOWN

Event string: hero_picker_shown

This event carries no data fields.


HERO_PICKER_HIDDEN

Event string: hero_picker_hidden

This event carries no data fields.


DOTA_LOCAL_QUICKBUY_CHANGED

Event string: dota_local_quickbuy_changed

This event carries no data fields.


HUD_FLIP_CHANGED

Event string: hud_flip_changed

Field Type Description
flipped Boolean

FROSTY_POINTS_UPDATED

Event string: frosty_points_updated

This event carries no data fields.


DEFEATED

Event string: defeated

Field Type Description
entindex EntityIndex

RESET_DEFEATED

Event string: reset_defeated

This event carries no data fields.


BOOSTER_STATE_UPDATED

Event string: booster_state_updated

This event carries no data fields.


TREE_CUT

Event string: tree_cut

Field Type Description
tree_x Float
tree_y Float

UGC_DETAILS_ARRIVED

Event string: ugc_details_arrived

Field Type Description
published_file_id ULong

UGC_SUBSCRIBED

Event string: ugc_subscribed

Field Type Description
published_file_id ULong

UGC_UNSUBSCRIBED

Event string: ugc_unsubscribed

Field Type Description
published_file_id ULong

UGC_DOWNLOAD_REQUESTED

Event string: ugc_download_requested

Field Type Description
published_file_id ULong

UGC_INSTALLED

Event string: ugc_installed

Field Type Description
published_file_id ULong

PRIZEPOOL_RECEIVED

Event string: prizepool_received

Field Type Description
success Boolean
prizepool ULong
leagueid ULong

MICROTRANSACTION_SUCCESS

Event string: microtransaction_success

Field Type Description
txnid ULong

DOTA_RUBICK_ABILITY_STEAL

Event string: dota_rubick_ability_steal

Field Type Description
abilityIndex Short
abilityLevel Byte

COMMUNITY_CACHED_NAMES_UPDATED

Event string: community_cached_names_updated

This event carries no data fields.


SPEC_ITEM_PICKUP

Event string: spec_item_pickup

Field Type Description
player_id PlayerID
item_name String
purchase Boolean
gift Boolean
gift_player_id PlayerID

SPEC_AEGIS_RECLAIM_TIME

Event string: spec_aegis_reclaim_time

Field Type Description
reclaim_time Float

ACCOUNT_ALL_HERO_CHALLENGE_CHANGED

Event string: account_all_hero_challenge_changed

Field Type Description
account_id ULong

TEAM_SHOWCASE_UI_UPDATE

Event string: team_showcase_ui_update

Field Type Description
show Boolean
account_id ULong
hero_entindex EntityIndex
display_ui_on_left Boolean

DOTA_MATCH_SIGNOUT

Event string: dota_match_signout

This event carries no data fields.


DOTA_ILLUSIONS_CREATED

Event string: dota_illusions_created

Field Type Description
original_entindex EntityIndex

DOTA_YEAR_BEAST_KILLED

Event string: dota_year_beast_killed

Field Type Description
killer_player_id PlayerID
message Short
beast_id ULong

DOTA_PLAYER_SPAWNED

Event string: dota_player_spawned

Field Type Description
PlayerID PlayerID

DOTA_HERO_UNDOSELECTION

Event string: dota_hero_undoselection

Field Type Description
playerid1 PlayerID

DOTA_CHALLENGE_SOCACHE_UPDATED

Event string: dota_challenge_socache_updated

This event carries no data fields.


DOTA_PLAYER_TEAM_CHANGED

Event string: dota_player_team_changed

This event carries no data fields.


PARTY_INVITES_UPDATED

Event string: party_invites_updated

This event carries no data fields.


LOBBY_INVITES_UPDATED

Event string: lobby_invites_updated

This event carries no data fields.


CUSTOM_GAME_MODE_LIST_UPDATED

Event string: custom_game_mode_list_updated

This event carries no data fields.


CUSTOM_GAME_LOBBY_LIST_UPDATED

Event string: custom_game_lobby_list_updated

This event carries no data fields.


FRIEND_LOBBY_LIST_UPDATED

Event string: friend_lobby_list_updated

This event carries no data fields.


DOTA_TEAM_PLAYER_LIST_CHANGED

Event string: dota_team_player_list_changed

This event carries no data fields.


DOTA_PLAYER_CONNECTION_STATE_CHANGED

Event string: dota_player_connection_state_changed

This event carries no data fields.


DOTA_PLAYER_DETAILS_CHANGED

Event string: dota_player_details_changed

This event carries no data fields.


CUSTOM_GAME_PLAYER_COUNT_UPDATED

Event string: custom_game_player_count_updated

Field Type Description
custom_game_id ULong

CUSTOM_GAME_FRIENDS_PLAYED_UPDATED

Event string: custom_game_friends_played_updated

Field Type Description
custom_game_id ULong

CUSTOM_GAMES_FRIENDS_PLAY_UPDATED

Event string: custom_games_friends_play_updated

This event carries no data fields.


DOTA_PLAYER_UPDATE_ASSIGNED_HERO

Event string: dota_player_update_assigned_hero

Field Type Description
playerid PlayerID

DOTA_PLAYER_HERO_SELECTION_DIRTY

Event string: dota_player_hero_selection_dirty

This event carries no data fields.


DOTA_NPC_GOAL_REACHED

Event string: dota_npc_goal_reached

Field Type Description
npc_entindex EntityIndex Entity index of the npc which was following a path and has reached a goal entity.
goal_entindex EntityIndex Entity index of the path goal entity which has been reached.
next_goal_entindex EntityIndex Entity index of the next goal entity on the path (if any) which the npc will now be pathing towards.

DOTA_PLAYER_SELECTED_CUSTOM_TEAM

Event string: dota_player_selected_custom_team

Field Type Description
player_id PlayerID Player id of the player who select a team.
team_id Short Id of the team the player selected.
success Boolean Was the player successfully assigned to the selected team.

DOTA_COIN_WAGER

Event string: dota_coin_wager

Field Type Description
userid EntityIndex
message Short
coins ULong

DOTA_WAGER_TOKEN

Event string: dota_wager_token

Field Type Description
userid EntityIndex
message Short
amount Int

DOTA_RANK_WAGER

Event string: dota_rank_wager

Field Type Description
userid EntityIndex

DOTA_BOUNTY

Event string: dota_bounty

Field Type Description
userid EntityIndex
target Short
bounty_event Short

DOTA_CANDY

Event string: dota_candy

Field Type Description
userid EntityIndex
candy_event Short

DOTA_AD_RANDOMED

Event string: dota_ad_randomed

Field Type Description
userid EntityIndex
item_ability_id Short

DOTA_CUSTOM_CAMERA_UPDATED

Event string: dota_custom_camera_updated

Field Type Description
flags Int DOTACustomCameraEventFlags_t.
zoom Float
x Float
y Float
extra_yaw Float
pitch Float
duration Float
player_id Int Only used if associated flag is set.

DOTA_EVENT_GAME_CAMERA_ZOOM_UPDATED

Event string: dota_event_game_camera_zoom_updated

Field Type Description
zoom Int
duration Float 0 - instantaneous camera update.

DOTA_EVENT_GAME_CAMERA_POSITION_UPDATED

Event string: dota_event_game_camera_position_updated

Field Type Description
x Float
y Float
duration Float 0 - instantaneous camera update.

DOTA_CUSTOM_CAMERA_PITCH_UPDATED

Event string: dota_custom_camera_pitch_updated

Field Type Description
pitch Float

COLORBLIND_MODE_CHANGED

Event string: colorblind_mode_changed

This event carries no data fields.


DOTA_REPORT_SUBMITTED

Event string: dota_report_submitted

Field Type Description
result Int
report_flags Int
message String

CLIENT_RELOAD_GAME_KEYVALUES

Event string: client_reload_game_keyvalues

This event carries no data fields.


DOTA_HERO_INVENTORY_ITEM_CHANGE

Event string: dota_hero_inventory_item_change

Field Type Description
player_id Int
hero_entindex EntityIndex
item_entindex EntityIndex
item_ability_id Int
removed Boolean
dropped Boolean
sold Boolean
in_sellback_windown Boolean

GAME_RULES_SHUTDOWN

Event string: game_rules_shutdown

This event carries no data fields.


AEGIS_EVENT

Event string: aegis_event

Field Type Description
player_id PlayerID
chat_message_type Short

DOTA_BUYBACK

Event string: dota_buyback

Field Type Description
entindex EntityIndex
player_id Int

BOUGHT_BACK

Event string: bought_back

Field Type Description
player_id PlayerID

DOTA_SHRINE_KILL

Event string: dota_shrine_kill

Field Type Description
killer_userid EntityIndex
teamnumber Short
gold Short

PARTICLE_SYSTEM_START

Event string: particle_system_start

Field Type Description
targetname String

PARTICLE_SYSTEM_STOP

Event string: particle_system_stop

Field Type Description
targetname String
immediate Boolean

DOTA_COMBAT_EVENT_MESSAGE

Event string: dota_combat_event_message

Field Type Description
message String
teamnumber Short
player_id Int
player_id2 Int
value Float
value1 Float
value2 Float
value3 Float
int_value Int
int_value2 Int
ability_name String
locstring_value String
locstring_value2 String
string_replace_token String

DOTA_ITEM_SPAWNED

Event string: dota_item_spawned

Field Type Description
item_ent_index EntityIndex
player_id Int

DOTA_PLAYER_RECONNECTED

Event string: dota_player_reconnected

Field Type Description
player_id Int

DOTA_ON_HERO_FINISH_SPAWN

Event string: dota_on_hero_finish_spawn

Field Type Description
heroindex Int
hero String

DOTA_CREATURE_GAINED_LEVEL

Event string: dota_creature_gained_level

Field Type Description
entindex EntityIndex
level Short

DOTA_HERO_TELEPORT_TO_UNIT

Event string: dota_hero_teleport_to_unit

Field Type Description
hero_entindex EntityIndex
unit_entindex EntityIndex

DOTA_NEUTRAL_CREEP_CAMP_CLEARED

Event string: dota_neutral_creep_camp_cleared

Field Type Description
camp_name String
camp_type Int
killer_player_id Int

DOTA_WATCH_TOWER_CAPTURED

Event string: dota_watch_tower_captured

Field Type Description
entindex EntityIndex
team_number Short
old_team_number Short

DOTA_TEAM_KILL_CREDIT

Event string: dota_team_kill_credit

Field Type Description
killer_userid EntityIndex
victim_userid EntityIndex
teamnumber Short
herokills Short

DOTA_ALCHEMIST_GRANTED_SCEPTER

Event string: dota_alchemist_granted_scepter

Field Type Description
alchemist_userid EntityIndex
grantee_userid EntityIndex

DOTA_PROTECTOR_SPAWNED

Event string: dota_protector_spawned

Field Type Description
player_id Int

DOTA_CRAFTING_XP

Event string: dota_crafting_xp

Field Type Description
userid EntityIndex
type Short
xp Short

DOTA_ROSHAN_ROAR

Event string: dota_roshan_roar

Field Type Description
teamnumber Short

DOTA_UNIT_AGHSHARD_STATUS_CHANGE

Event string: dota_unit_aghshard_status_change

Field Type Description
entindex EntityIndex
has_scepter Boolean
has_shard Boolean

DOTA_STONE_OF_RECALL_USED

Event string: dota_stone_of_recall_used

Field Type Description
caster_userid EntityIndex

DOTA_BLESSING_CHOSEN

Event string: dota_blessing_chosen

Field Type Description
blessing_receipient_id Short
blessing Int

NPC_SPAWNED

Event string: npc_spawned

Field Type Description
entindex EntityIndex
is_respawn Short

NPC_SPAWN_FINISHED

Event string: npc_spawn_finished

Field Type Description
entindex EntityIndex

NPC_REPLACED

Event string: npc_replaced

Field Type Description
old_entindex EntityIndex
new_entindex EntityIndex

ENTITY_HURT

Event string: entity_hurt

Field Type Description
entindex_killed EntityIndex
entindex_attacker EntityIndex
entindex_inflictor EntityIndex
damagebits Long
damage Float

CHAT_NEW_MESSAGE

Event string: chat_new_message

The specified channel contains new messages.

Field Type Description
channel Byte

CHAT_MEMBERS_CHANGED

Event string: chat_members_changed

The specified channel has had players leave or join.

Field Type Description
channel Byte

DOTA_HERO_ON_GAIN_AGGRO

Event string: dota_hero_on_gain_aggro

An NPC has gained aggro (is attacking) a hero.

Field Type Description
entindex_attacker EntityIndex
entindex_hero EntityIndex

DOTA_ANCIENT_DECORATION_EVENT

Event string: dota_ancient_decoration_event

Field Type Description
entindex EntityIndex
teamnumber Int
eventname String