Roles
| Role | Can |
|---|---|
| Admin | Everything, including giving roles (/op name) |
| Survival Moderator | Kick, ban, announce, build and use blocks everywhere |
| Creative Moderator | The same, with creative powers |
| Survival Player | The default: build in unclaimed areas, claim land |
| Limited Survival Player | Build only where allowed |
| Survival Visitor | Look and chat only |
Give a role with /player <name> role <code>, for example /player Tyron role sumod. New players get the server's default role (DefaultRoleCode in serverconfig.json).
The whitelist
Since 1.20 a new dedicated server only lets whitelisted players in. Add players with /whitelist add <name>, remove them with /whitelist remove <name>, and switch the whitelist with /serverconfig whitelistmode on or off.
Bans
Ban with /ban <name> <duration> <reason>, for example /ban griefer 1 week griefing the spawn (the game asks for a reason), and lift a ban with /unban <name>. The game keeps them in Playerdata/playersbanned.json.
On Flux
- The Roles & Access tab lists every player the server knows, with their role, whitelist and ban, and changes any of them in one click; a player who never joined can be added ahead of time.
- Who Can Join in Deployment Settings switches the whitelist; the server starts with it off, so friends with the address can join.
- Admins in Deployment Settings gives the Admin role on start.
Frequently asked questions
How do I make myself admin?
Run /op <your name> in the server console, or on Flux type your name in Admins in Deployment Settings, or give yourself the Admin role in the Roles & Access tab.
Do bans survive a restart?
Yes: the game writes every ban to Playerdata/playersbanned.json as it is made.