API

Architecture

Where each module lives and how logs reach Flux.

Layout

  • ReplicatedStorage: FluxShared, FluxClient, FluxRemoteEvent. First FluxServer.Init creates 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: FluxClient uses debug.info / debug.traceback, micro-batches, then FireServer — 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.