Install the module
Put the module in your place, keep its key in a secret, and start it.
Put it in your place
Download the module
Atomo.rbxmxModuleScript Atomo, with Queue inside · 37 KBDownloadInsert it into ServerStorage
In Studio’s Explorer, right-click ServerStorage, choose Insert from File and pick the file. Keep the names:
Atomo, withQueueinside it.With Rojo, put the file where your project maps ServerStorage: Rojo turns a .rbxmx file into the module as it is.
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.
- Name:
Allow HTTP requests
In Studio, File, Experience Settings, Security: turn on Allow HTTP Requests, and publish.
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, })GetSecreterrors where the secret isn’t there; thepcallkeeps 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 = truetoAtomo.start, and play. Each save shows in the dashboard within about 15 seconds.
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.startonce. 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.