The admin account
During setup the server creates an admin account. Username and password are in the client area under Startup variables (Admin username, Admin password). Join with exactly this name and password – then you are admin.
Make your own player admin
Prefer playing under your own name?
- Join once with your player name so the server knows it.
- Open the Console tab in the client area.
- Enter:
setaccesslevel "PlayerName" admin
Other levels: moderator, overseer, gm, observer. setaccesslevel "PlayerName" none removes the rights.
Key commands
In the client area Console without /, in the game chat with / in front:
| Command | Effect |
|---|---|
players | Show online players |
servermsg "Text" | Message to everyone |
kickuser "Name" | Kick a player |
banuser "Name" | Ban a player |
unbanuser "Name" | Lift a ban |
adduser "Name" "Password" | Add a player (if the server only allows registered players) |
save | Save the world now |
quit | Save and stop the server |
In the game only (as admin):
| Command | Effect |
|---|---|
/godmode "Name" | Invulnerable on/off |
/invisible "Name" | Invisible to zombies on/off |
/teleport "Name" | Teleport to a player |
/additem "Name" Base.Axe | Give an item |
The game also has an admin menu with player list and tools (icon on the left edge of the screen).
Good to know
- Always put player names with spaces in quotes.
- More about zombies, loot and respawn: Sandbox settings.