Skip to content
← All projects

// Personal ·

Luna Logger

A central, pluggable action-logging system with roughly 90 one-file-per-event integrations across DarkRP addons, TTT, and admin tools, persisting to MySQL with a staff-facing log viewer.

  • Lua
  • GMod
  • MySQL

A small logging core handles writing, querying, purging, permissions and a live feed, while every loggable event — an ATM withdrawal, a mayor vault robbery, a bhop completion, an admin cuffing someone — is its own small module that registers a hook and calls the core’s log method with a templated message. Writes are batched into multi-row inserts rather than one per event, and old or excess rows are purged automatically. Log text uses a custom inline markup for player names, money and entities that’s escaped against tag injection and rendered client-side in a tabbed, infinite-scroll staff UI.