Skip to content
← All projects

// Personal ·

Luna Levels

A per-gamemode XP and prestige system where DarkRP, TTT, Deathrun and Prop Hunt events feed into an external leveling backend, with a profile-page UI showing progress and a live XP feed.

  • Lua
  • GMod
  • REST API

Holds no leveling formula of its own — level, XP and prestige all come back from backend API responses and are cached client-side, guarded against out-of-order async replies with per-player sequence numbers. XP sources are gamemode-specific hook integrations (DarkRP sales, TTT kills by role matchup, Deathrun finishes, Prop Hunt kills) that funnel through a shared reward-key system into the economy module’s catalog. Unusually for this codebase, it ships a real unit test suite covering the UI’s pure-math helpers, independent of the GMod runtime.