Dashboard

Configuration

Every option accepted by RoStructure.init.

Last updated Sep 29, 2026

Options

OptionRequiredMeaning
projectIdYesYour project ID. Sent as X-Project-Id and in every event.
ingestionKeyYesServer-held key that authenticates your game. Not a dashboard credential.
buildIdYesIdentifies the version of your game. "v" .. game.PlaceVersion is a good default.
endpointYesBase URL, for example https://api.rostructure.com.
pseudonymSaltNoSecret salt for anonymous player IDs. Defaults to the ingestion key. Keep it stable, or IDs change.
enableInStudioNoThe SDK does nothing in Studio unless this is true.
autoTrackNoToggle automatic events: { sessions, deaths, quits }, each on by default.
samplingNoKeep-probability per event name, for example { custom_event = 0.1 }. Use it only for noisy optional events.
flushIntervalNoSeconds a partial batch waits before sending. Default 5.
batchSizeNoEvents per request, 1 to 100. Default 100.
maxQueueNoEvents held in memory. Default 5,000. The oldest are dropped when full.
maxRetriesNoRetries per batch before it is dropped. Default 5.
debugNoPrints one line per request.