Connect a game
Create an API key in the Creator Dashboard, give it the right permissions and connect your Roblox games and groups to Modhelm.
16 min read
Modhelm bans players through the Roblox Open Cloud ban API, the same system the Creator Hub uses. For that, every game needs an API key. The key is stored encrypted, never shown in full again and checked every day. You can connect as many games as you like, including games owned by a Roblox group.
Before you start
- You must own the game, or be a member of the owning group with permission to create API keys.
- Have the Universe ID ready. It is not the Place ID. In the Creator Dashboard open Creations, hover over your game, open the three dot menu and pick Copy Universe ID. If you linked a group, you can also pick the game from a list (see below).
Create an API key
- Open the Creator Dashboard at create.roblox.com and go to Open Cloud > API Keys.
- Click Create API Key and give the key a name, for example
Modhelm. - Under Access Permissions, add the API systems from the table below. Pick your game for each one and allow the listed operations.
- You do not need to set anything under Security. Leave Restrict IP addresses off. A key limited to certain IP addresses does not work from Modhelm.
- Leave the expiration date empty. Modhelm keeps the key active for you (see below).
- Click Save & Generate Key and copy the key. Roblox shows it only this once.
What the key needs
| API system | Operations | Needed? | What Modhelm uses it for |
|---|---|---|---|
| User Restrictions | Read, Write | Needed | Ban, temporary ban, unban, reading the ban list |
| Memory Stores (queue) | Dequeue, Discard | Optional | Reports from inside the game through the queue ModhelmReports |
| Memory Stores (sorted map) | Read | Optional | Showing who is online in the game right now |
| Messaging Service | Publish | Optional | Kicking banned players from running servers right away |
The User Restrictions permissions must cover exactly this game. The scope names you may see in error messages are universe.user-restriction:read, universe.user-restriction:write, memory-store.queue:dequeue, memory-store.queue:discard, memory-store.sorted-map:read and universe-messaging-service:publish.
Connect the game in the dashboard
- Open your server in the dashboard and click Games in the sidebar under Settings > Setup.
- Click Connect game. The window shows the list What the key needs at the top.
- Enter the Universe ID, or pick a game of your group under Or pick from a group. Then paste the API key.
- Click Check key. Modhelm asks Roblox and shows the Key check as a list.
- If you like, pick a Report channel for this game.
- Click Connect.
The key check
Every item shows There, Missing or Not checked.
| Item | Needed or optional |
|---|---|
| Roblox accepts the key | Needed |
| User Restrictions: Read | Needed |
| User Restrictions: Write | Needed |
| The ban list of this game can be read | Needed |
| Memory Stores queue (reports from the game) | Optional |
| Memory Stores sorted map (who is online) | Optional |
| Messaging Service (kick from a running server) | Optional |
| Expiry date | Optional, warns when the key runs out in 14 days or less |
When something is missing, the reason is shown right next to it. For example: the permission is not on the key, the permission is there but this game is not selected, the key has expired or is turned off, or the game belongs to a group and the key has to be created in the group.
The game is only connected when every needed item is there. Until then Connect stays greyed out. Change the key in the Creator Dashboard, come back and click Check key again. Optional items may be missing.
After connecting, only the last four characters of the key are visible.
Several games and Roblox groups
You can connect any number of games to one server. Each game needs its own key.
Link a group
If your games belong to a Roblox group, link the group. Then you see its games right on the page.
- In the Roblox groups section, enter the Group ID or link, for example
roblox.com/communities/123456. - Click Link group.
- Click Show games next to the group. The group's public games appear. Games that are already connected show Connected, the others have a Connect button that opens the window with the Universe ID already filled in.
Modhelm only reads public data of the group for this. The first 200 games are shown. Unlink removes the group again, its connected games stay connected.
Report channel per game
Reports about a game go to the Server report channel by default. You can give every game its own channel, for example when different teams look after different games. Set it in the Connect a game window, or later in the game's menu with Change report channel. Leave it on the server report channel to keep all reports in one place. You set the server's channel on the Report rules page under Where reports go. The Log channels page shows the report channel of every game at a glance.
In the dashboard you can filter reports by game or see them all together.
What you can do with a game
The menu of every game in the list offers:
- Check again: checks the key right now.
- Replace key: paste a new key. It is checked the same way. The old key is only deleted when the new one has every needed item.
- Change report channel
- In-game reports: see below.
- Import bans: reads the ban list of this game.
- Pause and Use again: while paused, Modhelm does not ban, check or kick in this game. The key stays saved.
- Open on Roblox
- Remove
The Status column shows for example Connected, Key runs out on ..., Key expired, Key invalid, Ban permission missing, Access denied, Group key needed, Not checked yet or Paused.
Keep the key alive
Roblox expires an API key after 60 days without use, even without an expiration date. Modhelm prevents that: once a day Modhelm checks every key with the same list as when connecting and makes a read call with it. If a key has its own expiration date, Modhelm writes an entry to your log channel 7, 3 and 1 days before.
If a key stops working, the Games page shows the note "One game needs attention: its key is missing something." at the top, and the log channel gets a message. Create a new key and click Replace key.
While a key cannot read bans, unban requests for that game still work: the player can send the request, and your team sees it marked as not checked.
Optional: reports from inside the game
If players should report directly in the game, add Memory Stores with the queue permissions Dequeue and Discard to the same key. Then open In-game reports in the game's menu, turn the switch on and copy the script under Script for your game with Copy script. The full setup including the Luau module is in Reports.
Without this feature you do not need any script in your game. Modhelm bans through Roblox Open Cloud.
Optional: kick banned players right away
A Roblox ban applies the next time the player tries to join. Someone who is playing right now stays in the server until they leave. With the Messaging Service permission, Modhelm can send a message to running game servers so they remove the player right away. The switch Kick banned players right away is on the Bans and punishments page and is on by default. It only applies to games whose key has the permission, and your game has to handle the message itself.
Optional: see who is online and join their server
With the Memory Stores permission Read for sorted maps and the Modhelm live script in your game, your team sees whether a reported player is playing right now. The report card in Discord shows Online now with the game and the server. On the report page, the player page and in the app, Check if online looks it up.
Next to every game the player is in, Join opens Roblox and puts you into the player's server, so you can watch the player before you decide. The button only shows when Roblox told us the place and the server. Servers in Roblox Studio cannot be joined.
The button never goes stale. It does not remember a server: when you click it, Modhelm looks up where the player is right now, even on a card from hours ago. You need to be logged in and be a moderator of the server. If the player has left, the page says No longer in the game with the time and server Modhelm last saw them in, and you can put them on the watchlist from there.
Live alerts for watched players
When a player on your watchlist joins one of your games, Modhelm posts <player> joined <game> with the server, since when, and a Join button that always finds their current server. If they switch servers, the same message changes to the new server. When they leave, it changes to <player> left <game> with the time they were last seen. One visit is one message, so the channel does not fill up. If they come back within 15 minutes, the same message is used again.
The message goes to the watchlist channel, or the log channel when you have not set one. Modhelm checks every two minutes and reuses the same Roblox lookups as the rest of the live features, so it costs almost nothing. Admins switch the alerts on or off on the Watchlist page (on by default). Per player, the watchlist entry decides whether joins are announced at all.
Live servers
Live servers in the sidebar lists every running server of a game with its players, their Roblox names and pictures, the place and the last update. The list refreshes every 30 seconds. Players with an open report, on the watchlist or banned come first in their server and are marked, so you see at a glance where to look. With several games, pick the game at the top.
Moderators can do this per server:
- Join server opens Roblox in exactly that server.
- Message to this server shows a short text at the top of every player's screen for a few seconds.
- Shut down server kicks everyone in that server with the reason you write. You confirm it first.
And per game:
- Message to all servers sends the text to every running server.
- Restart all servers closes every running server; players can join again right away. This button only shows when the game key has the permission universe:write (Universes API in the Creator Dashboard).
Messages and shutdowns need the Messaging Service permission and the live script in your game. Every action is in the audit log, and Modhelm limits how often it can run: five messages or shutdowns per game and minute, two restarts per game in ten minutes. Links and usernames are not allowed in messages and reasons.
Optional: moderate your Roblox groups
For the groups linked on the Games page, Modhelm can handle join requests and ranks. It needs a game key with the permissions group:read and group:write (Groups API in the Creator Dashboard). Create that key inside the group, or with an account that may manage the group.
Group requests in the sidebar shows the join requests that wait for your team. Admins set the rules there, per group:
- Check join requests switches the screening on. Every five minutes Modhelm reads the new requests and checks each player: banned in your server, linked to a banned account (alt links of your server), and the account age.
- For each check you choose Accept, Decline or Ask the team in Discord. Players that pass every check are accepted, or sent to your team if you prefer.
- Requests for the team go to the log channel with Accept and Decline. They also show on the page. Every decision is in the audit log.
- Role after a ban moves a player to a role of your choice when they are banned in Roblox. Roblox does not let apps remove members from a group, so a ban cannot exile them.
Join requests carry no IP address, so there is no VPN check here.
Moderators change a player's role on the player page under Roblox groups, or in Discord with Group rank on the player card (/lookup). Modhelm allows ten rank changes per server and minute.
Optional: player data in data stores
If your game keeps player data in Roblox data stores, Modhelm can show it and reset it for exploiters. On the Games page under Player data, admins add each data store with its key, for example Player_{userId} (Modhelm puts the player's Roblox id in), the scope (usually global) and what Reset does: delete the entry or write a value a new player has, like {"coins": 0, "items": []}. Ordered data stores, for example leaderboards, work too.
Moderators then see Player data on the player page. Show data reads the entries and shows them as text; nothing can be edited there. Reset asks for a reason, saves a copy of the current value in Modhelm first and only then changes the entry in Roblox. Restore writes that copy back. Every reset and restore is in the audit log, and Modhelm allows five per server and minute. The player gets the new value the next time they join.
The game key needs the Data Stores permissions Read, Create, Update and Delete (universe-datastores.objects), and for ordered data stores universe.ordered-data-store.scope.entry:read and :write.
Optional: data store browser
Admins find Data stores in the sidebar. There you pick a data store of the game, look up keys by how they start, read the value as JSON and change it, create a new key or delete one. Every change needs a reason and is in the audit log. Modhelm only saves when the game did not change the value in the meantime, so nothing the game wrote gets lost. Under Versions you see earlier values (Roblox keeps them 30 days) and can put one back. Ordered data stores show as a top list: type the name the game uses. With Write for ordered data stores you can change a value in the top list. Memory Store shows the items of a sorted map read only (needs memory-store.sorted-map:read).
The browser uses the game key too. It needs List Data Stores (universe-datastores.control:list) and List Entries (universe-datastores.objects:list) to list, Read to show a value, Create and Update to save, Delete to delete and List Versions (universe-datastores.versions:list) for the versions. What the key does not have stays hidden, and the page names the missing permission.
Optional: own actions
Below the browser, admins build their own actions, for example Give coins, Set level, Add item or Show bank. An action names the data store, the key of the player (for example Player_{userId}) and a path inside the value (for example stats.coins), and says what it does there: show the value, set it, add a number, add something to a list or remove it from a list. The value is fixed or typed when running it, numbers can have a smallest and largest value. You choose whether moderators may run it or only admins.
The team finds the actions on the player page under Actions. Modhelm reads the entry, changes only that path and writes it back. If the game changed the entry in the meantime, Modhelm applies the action again on the new value. Every run needs a reason and is in the audit log with the value before and after; the old version stays in the browser under Versions. Actions need Read, Create and Update on the game key.
Moderators can also run actions in Discord: /action roblox:<player> action:<name> reason:<why> and value: when the action asks for one. Show actions answer with the value, only to you.
Import existing bans
At the very bottom of the Games page is the section Import bans. There you take over the ban lists of all games at once or import a file from an old system. To read a single game, use Import bans in the game's menu. Bans from the Creator Hub or from scripts end up in the player files, so your team sees them as priors. The import runs in the background. More in Switching from another bot.
Error messages and what they mean
| Message | Cause | What to do |
|---|---|---|
| This API key doesn't work. | The key was deleted, turned off, copied only in part or moderated by Roblox. | Check that you pasted the whole key. Otherwise create a new key. |
| This API key has expired. | The expiration date has passed, or the key was unused for 60 days before connecting. | In the Creator Dashboard switch Enable Key off and on again, then Check again. Or create a new key. |
| The key is missing something for this game. | A needed item of the key check is missing. | The key check shows which item is missing and why. |
| We couldn't find a Roblox game with this universe ID. | The ID is a Place ID or has a typo. | Copy the Universe ID again from the game's menu. |
| This game is already connected to this server. | The same game is already in the list. | Nothing to do. Use Replace key if needed. |
| Too many attempts. | More than 8 key checks per minute on this server. | Wait a moment and try again. |
| Roblox is limiting requests right now. | Roblox is rate limiting. | Wait a minute and try again. |
| Roblox isn't responding right now. | An outage at Roblox or a network problem. | Try again in a few minutes. The status page shows whether Roblox is reachable from our side. |
| Group key needed, or "Resources not authorized" in a log | The key is not allowed for this game: it was made in your own account while the game belongs to a group, or this game is not picked for User Restrictions. | Create the key inside the group, or pick this game for User Restrictions with Read and Write. Then Check again. |
If a ban could not reach Roblox, the log channel writes for example "The ban could not be applied in Train Boss" and names the reason, such as "The API key of this game was rejected by Roblox.", "The API key is not allowed to ban players in this game.", "Roblox does not know this game." or "Roblox is busy right now. Please try the ban again later."
Remove a game
Pick Remove in the game's menu and confirm. The key is deleted from Modhelm. Reports and bans stay in your history, but new bans no longer reach this game. Bans that are active on Roblox stay active. If you only want to rest a game for a while, use Pause instead.