You are viewing a potentially older version of this package. View all versions.
Dr_House-SpawnLogger-1.0.0 icon

SpawnLogger

Logs which player spawned which mod item during a Fusion session, viewable in-game via BoneMenu. Built for server moderation.

Date uploaded 2 days ago
Version 1.0.0
Download link Dr_House-SpawnLogger-1.0.0.zip
Downloads 18
Dependency string Dr_House-SpawnLogger-1.0.0

This mod requires the following mods to function

Lakatrazz-Fusion-1.14.2 icon
Lakatrazz-Fusion

A multiplayer mod for BONELAB, taking advantage of its physical interaction.

Preferred version: 1.14.2
bonelib-BoneLib-3.2.1 icon
bonelib-BoneLib

A BONELAB mod for making life easier for other mod creators.

Preferred version: 3.2.1

README

Spawn Logger

A LabFusion moderation utility for BONELAB. It watches every networked item spawn in a Fusion session and records who spawned what, so you can review it in-game without alt-tabbing to a log file.

Entirely passive: it does not despawn, block, kick, or take any moderation action itself. It only observes and reports — enforcement is left to you as the server host/moderator.

Features

  • Per-player history — BoneMenu gets a page per connected player, each showing that player's last 30 spawns (newest first), so you can drill into one suspect without wading through everyone else's spawns.
  • Combined feed — an "All Spawns" page merges everyone's last 30 spawns into one list for a quick at-a-glance overview.
  • Item names, not just barcodes — spawned barcodes are resolved against the game's asset warehouse to show the actual item title (e.g. Combat Shotgun) where one exists; falls back to the raw barcode for dynamically-generated content that has no registered title.
  • Noise filtering, so the log only shows what actually matters for moderation:
    • Base-game/SLZ-authored items are excluded (only mod-added content is logged).
    • Magazines are excluded (reloading a gun silently spawns one over the network — not useful signal).
    • Logging is held for 5 seconds after each level finishes loading, so a map's pre-placed world state / catch-up spawns for players joining mid-session aren't misattributed as someone "spawning" them.
  • Persistent player identity — players are tracked by their platform ID (Steam/Discord), not their per-session small ID, so a log doesn't silently get mixed up if IDs get recycled after someone disconnects.
  • Every entry is also written to the MelonLoader console/log file for a permanent record outside the menu.

Usage

  1. Join a Fusion server as normal.
  2. Open BoneMenu (in-game quick menu) → Spawn Logger.
    • Players → pick a player's name → see their last 30 mod-item spawns.
    • All Spawns → merged feed across everyone.
    • Clear All Logs → wipes everything recorded so far (local only, doesn't affect other clients).
  3. That's it — no configuration needed. Logging starts automatically ~5 seconds after each level loads.

How it works

Hooks LabFusion.Network.SpawnResponseMessage.OnSpawnFinished (a Harmony postfix), a message every client — host or not — receives as part of normal Fusion spawn syncing. It requires no elevated permissions and no cooperation from the server: it works identically whether you're the owner, an operator, or a default-permission player, on any server running Fusion.

Requirements

Manual installation

Drop SpawnLogger.dll into BONELAB/Mods/.

CHANGELOG

Changelog

1.1.1

  • Shipped build now targets MelonLoader 0.6.6 instead of 0.7.1, for broader compatibility across current MelonLoader installs (an older-built mod is more likely to keep working on a newer loader than the reverse). No functional/feature changes.

1.1.0

  • Added "Auto-Clear On Leave" toggle (on by default) that removes a disconnected player's log page and their entries from All Spawns. Saved via MelonPreferences, so it persists across servers and game restarts.

1.0.0

  • Initial release: per-player and merged ("All Spawns") logs viewable in BoneMenu.
  • Resolves spawned barcodes to their item title where possible.
  • Excludes magazines and base-game/SLZ-authored items.
  • Holds logging for 5 seconds after each level loads to skip catch-up/world-state spawns.