Valheim
Deprecation notice
Support for this game has been deprecated, following a lack of usage in Apps.
This page is being kept for historial documentation purposes.
Please read the overwolf.games.events documentation page to learn how to use Overwolf game events.
Sample Apps
Available Features
Game events status
It is highly recommended to communicate errors and warnings to your app users.
Check here the game events status. OR - easily check the game events status from your app, using our API.
gep_internal
Info Updates
key | Category | Values | Notes | Since GEP Ver. |
---|---|---|---|---|
gep_internal | gep_internal | Local + Public version number | See notes | 143.0 |
gep_internal note
Data Example:
{"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 current game scene. | See notes | 169.0 |
player_name | game_info | Name of local Player | See notes | 169.0 |
death | game_info | Total number of deaths | See notes | 169.0 |
state | game_info | In progress / Not in progress | See notes | 169.0 |
time | game_info | Current time of day | See notes | 171.1 |
inventory | game_info | Names and amounts of items in inventory slots. | See notes | 171.1 |
scene note
Data Example:
{"game_info":{"scene":"MainMenu"}},"feature":"game_info"}
{"game_info":{"scene":"SelectCharacter"}},"feature":"game_info"}
{"game_info":{"scene":"WorldList"}},"feature":"game_info"}
{"game_info":{"scene":"ServerList"}},"feature":"game_info"}
{"game_info":{"scene":"Loading"}},"feature":"game_info"}
player_name note
Data Example:
{"game_info":{"player_name":"Shargaas"}},"feature":"game_info"}
death note
This info is updated on the start of a match. The number of deaths is saved across multiple sessions.
Data Example:
{"game_info":{"death":"14"}},"feature":"game_info"}
state note
Data Example:
{"game_info":{"state":"in_progress"}},"feature":"game_info"}
{"game_info":{"state":"ended"}},"feature":"game_info"}
time note
Possible values:
- DAY
- AFTERNOON
- NIGHT
Data Example:
{"info":{"game_info":{"time":"{"day":"11","day_time":"0.610754","part":"AFTERNOON"}"}},"feature":"game_info"}
inventory note
Data Example:
{"info":{"game_info":{"inventory":"{"slot_0":{"name":"tem_axe_blackmetal","type":"OneHandedWeapon","count":"1","max_count":"1"},"slot_1":{"name":"tem_bow_draugrfang","type":"Bow","count":"1","max_count":"1"},"slot_2":{"name":"tem_mace_needle","type":"OneHandedWeapon","count":"1","max_count":"1"},"slot_3":{"name":"tem_shield_blackmetal","type":"Shield","count":"1","max_count":"1"},"slot_4":{"name":"tem_sledge_iron","type":"TwoHandedWeapon","count":"1","max_count":"1"},"slot_5":{"name":"tem_hammer","type":"Tool","count":"1","max_count":"1"},"slot_6":{"name":"tem_pickaxe_iron","type":"TwoHandedWeapon","count":"1","max_count":"1"},"slot_7":{"name":"tem_hoe","type":"Tool","count":"1","max_count":"1"},"slot_8":{"name":"tem_chest_pcuirass","type":"Chest","count":"1","max_count":"1"},"slot_9":{"name":"tem_arrow_needle","type":"Ammo","count":"100","max_count":"100"},"slot_10":{"name":"tem_arrow_needle","type":"Ammo","count":"8","max_count":"100"},"slot_11":{"name":"tem_fishingbait","type":"Ammo","count":"37","max_count":"100"},"slot_12":{"name":"tem_fishingrod","type":"TwoHandedWeapon","count":"1","max_count":"1"},"slot_13":{},"slot_14":{},"slot_15":{},"slot_16":{"name":"tem_cape_lox","type":"Shoulder","count":"1","max_count":"1"},"slot_17":{"name":"tem_loxpie","type":"Consumable","count":"5","max_count":"10"},"slot_18":{"name":"tem_fishwraps","type":"Consumable","count":"2","max_count":"10"},"slot_19":{"name":"tem_bloodpudding","type":"Consumable","count":"5","max_count":"10"},"slot_20":{"name":"tem_mead_hp_minor","type":"Consumable","count":"9","max_count":"10"},"slot_21":{},"slot_22":{},"slot_23":{},"slot_24":{"name":"tem_helmet_padded","type":"Helmet","count":"1","max_count":"1"},"slot_25":{"name":"tem_legs_pgreaves","type":"Legs","count":"1","max_count":"1"},"slot_26":{"name":"tem_beltstrength","type":"Utility","count":"1","max_count":"1"},"slot_27":{"name":"tem_bread","type":"Consumable","count":"7","max_count":"20"},"slot_28":{"name":"tem_arrow_frost","type":"Ammo","count":"35","max_count":"100"},"slot_29":{"name":"tem_thistle","type":"Material","count":"6","max_count":"50"},"slot_30":{"name":"tem_necktail","type":"Material","count":"1","max_count":"50"},"slot_31":{"name":"tem_bonefragments","type":"Material","count":"1","max_count":"50"}}"}},"feature":"game_info"}
Events
Event | Event Data | Fired When (announcement) | Notes | Since GEP Ver. |
---|---|---|---|---|
respawn | null | Entering a game / Dying. | See notes | 169.0 |
location | XYZ numerics | Local player's location changes. | See notes | 171.1 |
match_start note
Data Example:
{"name":"respawn","data":""}
location note
Data Example:
{"events":[{"name":"location","data":"{"x":"-563.196045","y":"78.863182","z":"353.648682"}"}]}
kill
Events
Event | Event Data | Fired When (announcement) | Notes | Since GEP Ver. |
---|---|---|---|---|
damage | Numeric damage value performed. | Damage is done | See notes | 171.1 |
kill | Type of enemy killed. | Enemy dies. | See notes | 171.1 |
damage note
Data Example:
{"events":[{"name":"damage","data":"{"damage":"45.066856","current_hp":"0.000000","max_hp":"40.000000","enemy_name":"skeleton","enemy_category":"Undead"}"}]}
kill note
Data Example:
{"events":[{"name":"kill","data":"{"enemy_name":"skeleton","enemy_category":"Undead"}"}]}