API
Architecture
Where each module lives and how logs reach Flux.
Layout
- ReplicatedStorage:
FluxShared,FluxClient,FluxRemoteEvent. FirstFluxServer.Initcreates the RemoteEvent if missing. - ServerScriptService:
FluxServer— queue, HTTP batch (default 20 entries per request, API max 25), POST/api/v1/logs/batch. Plan rate limits count each log entry in the batch. - Client:
FluxClientusesdebug.info/debug.traceback, micro-batches, thenFireServer— no HttpService, no key.
Security & performance
Keys stay server-only; the server validates RemoteEvent payloads and stamps userId from the sender. Queue + worker + retries + per-player throttling — details in Security.