What is SpawnLogger?
SpawnLogger is a BepInEx mod for MegaBonk that provides real-time tracking of spawned interactable objects during gameplay. Never miss a chest, shrine, or mysterious visitor again with an intuitive on-screen overlay that shows you exactly what’s active in your current run.Installation
Get SpawnLogger installed and ready to use
Quickstart
Start tracking spawns in minutes
Features
Explore what SpawnLogger can track
What does it track?
SpawnLogger monitors four critical types of interactable objects that spawn during your MegaBonk runs:Chests
Tracks the total number of chests spawned and how many remain unopened. The counter automatically decrements as you open chests, helping you ensure you don’t leave loot behind.ShadyGuys
Monitors mysterious ShadyGuy NPCs that appear during runs. See how many have spawned, how many you’ve interacted with, and how many have disappeared before you could reach them.Charge shrines
Keeps count of active Charge Shrines that need completing. The tracker updates in real-time as shrines are completed, showing you how many are still waiting.Moai shrines
Tracks the enigmatic Moai Shrines, displaying both the total spawned and how many you’ve successfully interacted with.The overlay UI
SpawnLogger displays a semi-transparent overlay in the bottom-left corner of your screen (positioned at 80% screen height). The overlay shows:The overlay automatically appears when chests spawn and persists across stage transitions using Unity’s
DontDestroyOnLoad functionality.Key features
Real-time tracking
Counters update instantly as you interact with objects or they despawn
Persistent overlay
The UI persists across stage transitions and only resets between rounds
Round-aware
Automatically resets tracking when rounds end and re-enables when new rounds start
Performance optimized
Uses Harmony patches for efficient hooking with minimal game impact
How it works
SpawnLogger uses HarmonyX to patch into MegaBonk’s game logic:- Spawn detection: Hooks into
SpawnInteractables.SpawnChests(),SpawnInteractables.SpawnShrines(), and related methods - Interaction tracking: Patches
TrackStats.OnChestOpened(),InteractableShadyGuy.Interact(), and shrine completion methods - Round lifecycle: Monitors
GameManagermethods likeStartPlaying(),OnDied(), andOnDestroy()to reset counters appropriately
Version information
- Current version: 0.5.3
- Author: Antiparty
- Plugin GUID:
Antiparty_SpawnLogger - BepInEx compatibility: IL2CPP Unity builds