Install the module

Put the module in your place, keep its key in a secret, and start it.

On this page

Put it in your place

  1. Download the module

    Atomo.rbxmxModuleScript Atomo, with Queue inside · 37 KBDownload
  2. Insert it into ServerStorage

    In Studio’s Explorer, right-click ServerStorage, choose Insert from File and pick the file. Keep the names: Atomo, with Queue inside it.

    With Rojo, put the file where your project maps ServerStorage: Rojo turns a .rbxmx file into the module as it is.

  3. Keep the reporting key in a secret

    Make the key on the game’s Overview or in its Settings, under Reporting key. Then, in the Creator Dashboard (opens a new tab), open the experience, Secrets, Create Secret:

    • Name: atomo_report
    • Secret: the key
    • Domain: api.useatomo.com, so Roblox sends it nowhere else

    Only the experience’s owner, or its group’s owner, can make secrets.

  4. Allow HTTP requests

    In Studio, File, Experience Settings, Security: turn on Allow HTTP Requests, and publish.

  5. Start it, once

    In a Script in ServerScriptService, before players join:

    Server script
    local HttpService = game:GetService("HttpService")
    local ServerStorage = game:GetService("ServerStorage")
    local Atomo = require(ServerStorage.Atomo)
    
    local found, secret = pcall(function()
        return HttpService:GetSecret("atomo_report")
    end)
    Atomo.start({
        url = "https://api.useatomo.com",
        key = if found then secret else nil,
    })
    

    GetSecret errors where the secret isn’t there; the pcall keeps your script running, and the module then says once that it has no key, and reports nothing.

Then report each load and save: Report saves.

Try it in Studio

Studio can’t read the experience’s secrets while you play there, and the module does nothing in Studio unless you ask it to. To try it there:

  • Add the key as a local secret: File, Experience Settings, Security, Local Secrets, named atomo_report.
  • Add studio = true to Atomo.start, and play. Each save shows in the dashboard within about 15 seconds.
While trying it in Studio
Atomo.start({
    url = "https://api.useatomo.com",
    key = if found then secret else nil,
    studio = true,
})

Take studio = true out when you’re done, so Studio’s test saves stay out of Atomo. When you stop playing, Studio doesn’t wait for what is left to be sent.

One copy, on the server

  • Require it from server scripts only. On a client it does nothing, and says Atomo: it only works on the server.
  • Use one copy, and never inside an Actor: each Actor has a copy of its own, with limits of its own. Placed inside one, it does nothing and says so.
  • Call Atomo.start once. A second call is ignored.

A newer module, or a new key

To update, insert the newer file in place of the old Atomo, and publish. Each server reads the module and the key when it starts, so servers already running keep the old ones until they close.