ShowEnemyHP
Shows enemy HP values over their heads! Fully customizable, Toggles with F2.
About this mod Author’s original text
Show Enemy HP (Megabonk)
Real-time HP above every enemy.
No more guesswork—see exact health values during combat with clean, readable UI.
Tested on: Megabonk v1.0.19
Loader support: MelonLoader v0.7.1 and BepInEx 6
Features
- HP values are rendered over enemies in world space.
- Display modes: Choose numeric text (default) or a minimal HP bar.
- Fast toggle: Press F2 to show/hide during a run.
- Font Styles: Choose between Default and NotoSansSC.
- Color gradients: 4 color schemes to customize HP coloring
- Classic
- Cosmic
- Electric
- Aurora
- Hot reload: Ctrl+R to reload ShowEnemyHP.cfg without restarting.
- Lightweight: Minimal overhead; only updates visible UI when needed.
Install
âš ï¸ Do not use MelonLoader and BepInEx in the same game folder.
Use separate installs or a manager like r2modman (BepInEx profiles are isolated).
Option A — r2modman (BepInEx)
- Install BepInEx 6 for Megabonk via r2modman.
- Place ShowEnemyHp.dll into your profile:
…\r2modmanPlus-local\Megabonk\profiles\\BepInEx\plugins\
- Launch the game from r2modman.
Logs: …\BepInEx\LogOutput.log
Option B — MelonLoader
- Install MelonLoader v0.7.1 into the game directory.
- Put ShowEnemyHp.dll into:
…\Megabonk\Mods\
- Launch the game normally.
Logs: …\MelonLoader\Latest.log
Usage
- Toggle UI: F2
- Reload config: Ctrl+R (updates scale, offset, color scheme, display mode, and font live)
Config
The mod writes an annotated config on first run:
…\UserData\ShowEnemyHP.cfg (for MelonLoader)
…\BepInEx\config\ShowEnemyHP.cfg (for BepInEx)
Options
- Scale (float) — world-space scale of the HP canvas
Range: 0.005–0.200 (default 0.03)
- VerticalOffset (float) — vertical offset from the enemy head position
Range: -5.0–5.0 (default -0.25)
- ColorScheme (enum) — gradient used to render HP
Options: Classic, Cosmic, Electric, Aurora
Default: Classic
- DisplayMode (enum) �?" choose how HP is rendered
Options: Numeric, Bar
Default: Numeric (text). Bar shows a simple fill bar with the same gradient.
- Font (string) — TMP font asset selection (whitelisted)
Options: Default, NotoSansSC _(falls back to Default if Noto is missing)_
Example
Show Enemy HP configuration
Scale adjusts the size of the floating HP canvas.
Range: 0.005 – 0.200 (default 0.03)
Scale = 0.03
VerticalOffset moves the label relative to the enemy head (positive is up).
Range: -5.0 – 5.0 (default -0.25)
VerticalOffset = -0.25
ColorScheme controls the HP gradient.
Options: Classic, Cosmic, Electric, Aurora
ColorScheme = Electric
DisplayMode switches between numeric text and the HP bar.
Options: Numeric, Bar
DisplayMode = Numeric
Font selects the TextMeshPro font asset used for HP numbers.
Options: Default, NotoSansSC
Font = NotoSansSC
Troubleshooting
No HP shown in-game
- Confirm the mod is loaded:
- MelonLoader: check MelonLoader/Latest.log for “Show Enemy HPâ€.
- BepInEx: check BepInEx/LogOutput.log for the plugin entry.
- Make sure you launched via the correct loader (r2modman for BepInEx; vanilla exe for Melon).
- Disable other overlay/UI mods briefly to rule out conflicts.
Config changes not applying
- Press Ctrl+R in-game to hot reload.
- If the file is malformed, the mod logs a warning and keeps previous values.
Compatibility & Performance
- Works with MelonLoader v0.7.1 and BepInEx 6 (IL2CPP).
- Update path is event-driven to minimize per-frame costs.
Uninstall
- Remove ShowEnemyHp.dll from Mods/ (Melon) or BepInEx/plugins/ (BepInEx).
- Optional: delete UserData/ShowEnemyHP.cfg.
Changelog
1.0.5
- Config system with hot reload (Ctrl+R)
- New color schemes: Cosmic, Electric, Aurora
- Fonts: Default, NotoSansSC (no global font scanning)
- HP Bar or HP Text options
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: