xayfuu-EnemyHitLog icon


Log enemy damage dealt to players and allies in the chat

Last updated 9 months ago
Total downloads 3581
Total rating 3 
Categories Mods
Dependency string xayfuu-EnemyHitLog-0.3.0
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

tristanmcpherson-R2API-2.5.6 icon

A modding API for Risk of Rain 2

Preferred version: 2.5.6
bbepis-BepInExPack-5.3.0 icon

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.3.0



Log damage taken in the chat.


  • Logs damage taken by players and allied entities (supports friendly fire)
  • Logs damage-on-tick (DoT) debuffs
  • Colorized labels for less dull messages
  • Toggles and Filters to reduce spam in the chat




This mod can become quite noisy. To have control over this, a configuration file is provided by this mod. It is located at /Risk of Rain 2/BepInEx/config/com.Xay.EnemyHitLog.cfg, generated after Risk of Rain 2 has been launched once with BepInEx with the mod installed.


You can toggle the following:

  • Player logging ([true]|false)
  • Ally logging, i.e. Engineer Turrets, Beetle Guard or Aurelionite (true|[false])
  • Utilities logging, i.e. Drones & Turrets (true|[false])

Setting the above toggles to false lets the mod become inactive.

  • Fall damage logging ([true]|false)
  • Shrine of Blood logging (true|[false])
  • Debuff logging ([true]|false)


You can filter out messages in the following ways:

  • DamageToMaxHealthThreshold: Do not log any damage which has a lower value than the given percentage of the Player's HP. For example, if this variable is 10, only damage as high as at least 10% of the Player's max. HP (not counting barrier and shield) will be logged to the chat. Default value is 5.


Drop the EnemyHitLog.dll into your /Risk of Rain 2/BepInEx/plugins folder.

Known Bugs/Missing Features

  • Some attacks may not be tracked by the RoR2 Hook, such as Clay Dunestriders' regeneration attack when it gets low HP

If you experience any bugs or have suggestions, let me know on GitHub by creating an Issue or bugging me in the Risk of Rain 2 Modding Discord.


  • Log timed Debuffs like Slow, ClayGoo, Nullified
  • Summarize Splash damage into one damage message



  • Added fall damage
  • Added Shrine of Blood damage
  • Added Poison, Blight, and Burn tick debuffs
  • Added friendly fire handling
  • Added FallDamage toggle to Config file (default is true)
  • Added ShrinesOfBlood toggle to Config file (default is false)
  • Added proper Captain label color
  • Updated some Survivor label colors
  • Updated mod logo
  • Updated some logging text
  • Updated/Fixed DamageToMaxHealthThreshold such that its filter functionality applies to any damage event
  • Fixed typos in Config descriptions and entity labels

- Added DamageToMaxHealthThreshold to configuration (see Configuration section)
- Added Debuffs to configuration (see Configuration section)
- Code refactoring and some optimizations

- ReadMe update

- First Release

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2020-8-23 0.3.0 2008 Version 0.3.0 Install
2020-4-3 0.2.1 825 Version 0.2.1 Install
2020-2-12 0.2.0 546 Version 0.2.0 Install
2020-2-11 0.1.1 115 Version 0.1.1 Install
2020-2-11 0.1.0 87 Version 0.1.0 Install