Staff and bypass
This page is about people: who is staff and who is exempt from the protections. To allow a script's action, see Script integration.
Staff roles
Each role has a list of permissions. This is the default, in config/config.lua:
Permissions.roles = {
owner = { "*" }, -- everything
admin = {
"bans.view", "bans.revoke", "bans.create",
"logs.view", "objects.view", "blocks.view",
"players.view", "players.kick", "review.handle",
"allowlist.manage", "perms.view", "entities.delete",
"staff.godmode",
},
mod = { "bans.view", "logs.view", "blocks.view", "review.handle" },
viewer = { "bans.view", "logs.view", "blocks.view" },
}| Permission | Allows |
|---|---|
blocks.view | On-screen detection alerts and the detection list |
players.view | Player map, spectate, screenshot and screen recording |
players.kick | Go to, bring and kick |
bans.view, bans.create, bans.revoke | View, create and undo bans |
review.handle | Decide the cases under review |
allowlist.manage | Give quick bypass from /shield |
entities.delete | Delete entities |
staff.godmode | Become invincible from /shield |
Giving someone a role
The simplest way is the panel: Permissions and Bypass. It takes effect within a minute, with no file to edit.
From the file:
Permissions.assignments = {
["license:0000000000000000000000000000000000000000"] = "owner",
["discord:000000000000000000"] = "admin",
["steam:110000100000000"] = "mod",
}Once you save the file, it takes effect within 10 seconds.
Anyone with a role opens the in-game panel with /shield. What staff do through it (go to a player, spectate, become invincible) is already exempt from the protections while it lasts.
Bypass
Bypass keeps a player out of punishment. Use it for staff who work with the server's admin menu and for testing.
From most recommended to least:
1. Bypass page, in the panel
With a time limit, a reason and the name of who granted it. It takes effect within a minute and expires on its own at the end of the time limit.
2. Quick bypass, in game
In /shield, open the player's card and choose 30 min, 2 h, 1 day or 7 days. It takes effect right away and shows up in the same list as the panel. It requires the allowlist.manage permission.
3. Bypass for a single detection
For someone who needs one thing and not everything. In server.cfg:
# this admin can teleport and use noclip; everything else still applies to them
add_ace identifier.license:0000000000000000000000000000000000000000 mengazo.shield.bypass.teleport allow
add_ace identifier.license:0000000000000000000000000000000000000000 mengazo.shield.bypass.noclip_suspect allow
# a whole group
add_ace group.admin mengazo.shield.bypass.invisibility allow
add_principal identifier.license:0000000000000000000000000000000000000000 group.admin
# blips only (police radar and GPS)
add_ace group.police mengazo.shield.bypass.blips allow
# everything
add_ace group.dono mengazo.shield.bypass.all allowThe name after bypass. is the detection's name in lowercase: teleport, noclip_suspect, invisibility, godmode_suspect, spectator, freecam, movement_speed. Each detection's name appears in the Blocks records, in the panel.
An ACE change takes up to 1 minute to apply to players who are already online.
4. From the file
Permissions.bypass = {
"license:0000000000000000000000000000000000000000",
}No time limit. It only goes away by editing the file. It takes effect within 10 seconds after saving.
What gets recorded
By default, what a player in bypass does is not recorded. To keep the trail, without punishing:
Permissions.auditBypass = trueThe records show up with the audit action.
Precautions
- Full bypass is an account with no anticheat. If that account leaks or is lent out, whoever is on it can do whatever they want. Prefer a short time limit or the single-detection bypass.
- Integrating the admin menu is better than bypass. If the menu's noclip and invisibility tell the Shield (
notifyAction), staff work without bypass and stay protected. - Staff in bypass are no good for testing. To check whether a script is integrated, use a regular account.
- A known cheater with a staff role is a real case. Review the bypass list from time to time.
