Offload repetitive upstream calls, smooth out rate limits, and serve consistent low‑latency data to all internal services. Centralized scheduling spreads load & avoids bursts. Fine‑grained token permissions keep access tight.
GET /erlc/server Header: X-API-Token: TOKEN # Force refresh (needs 'fresh' perm) GET /erlc/server?fresh=1 POST /roblox/username_to_id { "usernames": ["scobra_scope"], "excludeBannedUsers": true }
Responses are raw upstream JSON (or binary) with caching handled transparently. Command POSTs are queued & retried on 429 automatically.
Live registry derived directly from server configuration.
Path | Permission | Method | Cache Mode | TTL | Interval |
---|
These endpoints are public (no token), cached for 600 seconds, and rate-limited to 20 requests/min per IP. Responses are plain text numbers.
Path | Method | Description |
---|---|---|
/stats/playercount | GET | Current ERLC player count (derived from /erlc/server/players) |
/stats/ALBM/membercount | GET | Discord member count for the Alabama Roleplay guild |
/stats/AHP/membercount | GET | Discord member count for the Alabama Highway Patrol Department |
/stats/AFD/membercount | GET | Discord member count for the Alabama Fire Department |
/stats/APD/membercount | GET | Discord member count for the Alabama Police Department |
/stats/FBI/membercount | GET | Discord member count for the FBI Department |
/stats/DOT/membercount | GET | Discord member count for the DOT Department |