Options

Everything Atomo.start takes, and what it does with a value it can't use.

On this page
Every option
Atomo.start({
    url = "https://api.useatomo.com",
    key = if found then secret else nil,
    scope = "global",
    studio = false,
    quiet = false,
    maxSize = 1024 * 1024,
})

Options

urlstringRequired

Atomo’s address for games: https://api.useatomo.com. https only, with no path; a slash at the end is fine.

keySecret | stringRequired

The reporting key. Give it the Secret from HttpService:GetSecret("atomo_report"): the key then never sits in a Luau string, and can’t be printed. A plain string of up to 200 characters works too, for a test place you never publish.

scopestringDefault "global"

The data stores’ scope, if your game passes one to GetDataStore. One scope for all of them; up to 50 characters.

studiobooleanDefault false

true sends from Studio as well. Without it the module does nothing in Studio, so test saves stay out of Atomo. See Try it in Studio.

quietbooleanDefault false

true says nothing in the output, not even why nothing is sent. The messages are few: keep them on.

maxSizenumberDefault 1 MB

The largest save to report, in bytes of JSON. A key whose save is larger isn’t reported again until the server closes. Up to 4 MB, the most Roblox keeps under one key; a larger number counts as 4 MB. Copying a 1 MB save takes about 4 ms.

A value it can’t use

The module doesn’t guess. If an option is wrong, it says which once in the output, such as Atomo: start needs an https address. Nothing is reported., and reports nothing. Your game carries on. A later Atomo.start with the value put right is taken.