xayfuu-EnemyHitLog icon


Log enemy damage dealt to players in the chat

Last updated 4 months ago
Total downloads 1265
Total rating 2 
Dependency string xayfuu-EnemyHitLog-0.2.1
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-3.0.0 icon

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

Preferred version: 3.0.0
tristanmcpherson-R2API-2.4.2 icon

A modding API for Risk of Rain 2

Preferred version: 2.4.2


This mod attempts to post a message in the chat each time a player or ally was hit by an enemy with an attack.

Non-enemy damage such as fall damage and blood shrines are not logged.




  • Logs damage taken by Players and Player Allies/Drones
  • Logs damaging debuffs (Bleed, Burn)
  • Colorized character classes and elite enemies for less dull messages
  • Toggles and Filters are provided in a configuration file to reduce spam in the chat (see Configuration below)


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.


You can toggle the following:

  • Player logging (turned on by default)
  • Ally logging, i.e. Engineer Turrets, Beetle Guard or Aurelionite (turned off by default)
  • Utilities logging, i.e. Drones & Turrets (turned off by default)

Setting all toggles to false lets the mod become inactive.

If you wish to disable Debuff logging by itself without wanting to deactivate damage logging, simply set Debuffs to 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.


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 or in the Risk of Rain 2 Modding Discord.


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

- README.md update

- First Release

Available versions

Please note that the install buttons only work if you have compatible client software installed. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2020-4-3 0.2.1 669 xayfuu-EnemyHitLog-0.2.1.zip Install
2020-2-12 0.2.0 489 xayfuu-EnemyHitLog-0.2.0.zip Install
2020-2-11 0.1.1 65 xayfuu-EnemyHitLog-0.1.1.zip Install
2020-2-11 0.1.0 42 xayfuu-EnemyHitLog-0.1.0.zip Install