License guard (SklopGuard)
An optional check you build into a Sklop asset so that if a buyer's license is revoked, the asset stops working in their game. It is for assets sold on Sklop and only checks Sklop licenses.
What it does
- On the server, it asks Sklop whether the experience's owner still holds a valid license for the asset.
- It re-checks about every 15 minutes. If the license has been revoked, it runs your
onRevokedcallback so the asset turns itself off. - A revocation sticks. The experience remembers it in its own DataStore, so the asset stays off after server restarts, even if Sklop can't be reached later or HTTP requests are turned off. Only Sklop restoring the license turns it back on.
- HTTP requests are required in live servers. If they're turned off, the asset stays off and says why in the server output. The check is skipped while testing in Studio.
- A short outage never breaks a licensed game: if Sklop or Roblox can't be reached, or the owner can't be resolved, a licensed asset keeps running and checks again later.
- It never sends player data. It sends only the asset's slug and the experience's creator ID.
Set it up
- Put the file inside your asset as a ModuleScript named
SklopGuard, next to the asset's main server Script. Keep it there — the asset requires it, so removing it stops the asset from starting. - Enable HTTP Requests in Game Settings → Security.
- Require it and wrap your asset's shutdown in
onRevoked:
local Guard = require(script.Parent.SklopGuard)
Guard.Protect({
product = "your-asset-slug", -- from the asset's store URL: /store/<slug>
onRevoked = function(reason) -- "license_revoked" or "http_disabled"
-- Stop the asset however makes sense: disable scripts, halt loops, hide UI.
script.Disabled = true
end,
})How a revoked license reaches a running game
There is no inbound connection into a Roblox server, so the guard polls Sklop. When an admin revokes a license, the next check (within about 30 minutes, or when a fresh server starts) returns revoked, the asset runs your onRevoked, and the revocation is saved in the experience. Restoring the license clears it on the next check; the asset works again from the next server start.
Group experiences
For a group-owned experience, the guard checks the group owner's license. If the buyer is not the group owner, enforcement is limited to what Roblox exposes about the game; the guard still fails open rather than disable a game it can't resolve.
Sklop is an independent developer studio and is not affiliated with, endorsed, or sponsored by Roblox Corporation. Roblox is a registered trademark of Roblox Corporation.