Skip to content

Admins

Admins are listed in the s&box file config/users.json, inside the server folder. Give the admin claim to the Steam accounts (SteamID64, shown on their Steam profile URL or with https://steamid.io):

[
{
"SteamId": "76561198000000000",
"Name": "Charles",
"Claims": [ "admin" ]
}
]

The server reloads the file by itself; connected players get their rights within a few seconds. Admins can open the admin menu (Admin Menu key, / by default, in the s&box key binds) and run the Legacy admin commands from their own console: inv.give, inv.giveplayer, teleport.topos, teleport.toplayer, airdrop.drop, env.time, env.daylength, env.nightlength, airdrop.min_players (rl_admin_help lists their syntax). The server console can run all of them too.

The admin menu has the tabs Items, Animals, Resources, Build, Player, World, Players and Bots. On the Players tab an admin can teleport to a player or bring them, heal, feed, clear radiation, switch god mode, respawn, kill, kick, learn blueprints, give an item or a kit, and send them back to where they last died; some of these also work on sleepers. The Bots tab changes the number and aim of the AI survivors (rl_bots and rl_bot_accuracy) while the server runs. To take down a player’s building, hold the use key on it: Remove takes the piece or object you look at, Remove Base the whole building with the doors and objects placed on it. The Uber Stone Hatchet (Items tab) does the same piece by piece, one hit each. Neither works for players who only have the menu through rl_admin_menu_all. Admin actions are written to the server log (and the dashboard) with the admin’s name. An admin from users.json cannot be kicked, banned or killed by an admin who is not one, and a player who loses the admin rights loses god mode, fly and instant craft at once.