Skip to content
← All projects

// Personal ·

Luna API

A hardened REST client wrapper that every other Luna module uses to talk to TSO's central backend, handling auth, retries, and JSON sanitization across more than 20 endpoint domains.

  • Lua
  • GMod
  • REST API

Not a server itself but the shared HTTP client every gameplay module (economy, levels, achievements, casino, chat) calls through: a single client class wraps GMod’s HTTP library with API-key auth, per-endpoint concurrency caps, and automatic redaction of sensitive fields before debug logging, covering endpoint domains from players and economy to casino, chat filtering, staff and warnings. Extensive inline comments reference specific internal audit findings that hardened it over time, indicating it went through a formal security review process.