On a Mindustry server you remove players through the console of your server. There is no file to edit – all bans are stored in binary form in config/settings.bin.
Kick a player
kick <PlayerName>
The player is disconnected immediately and a message is shown in the chat for everyone. After a short block of around 30 seconds they can rejoin.
Ban a player
When banning you always specify the type first:
ban <id/name/ip> <value>
| Variant | When to use it |
|---|---|
ban id <UUID> |
The most reliable ban. Works even while the player is offline. |
ban name <PlayerName> |
Only for players who are currently online. |
ban ip <IP address> |
Blocks an entire IP address. |
The server confirms with Banned. and kicks the player right away if they are still connected.
Show bans
bans
Lists all banned UUIDs with their last known name as well as all banned IP addresses.
Lift a ban
unban <UUID/IP address>
The server confirms with Unbanned player: <value>.
Undo a votekick
If other players removed someone by votekick, unban does not help – there is a dedicated command for that:
pardon <UUID>
This allows the player to rejoin.
Further blocking options
| Command | Description |
|---|---|
name-ban [add/remove/clear] [expression] |
Blocks player names based on a regular expression, ignoring upper and lower case |
subnet-ban [add/remove] [address] |
Blocks a whole IP range based on the beginning of the address |
dos-ban [add/remove] [ip] |
Blocks an IP address because of connection flooding |
Command overview
| Command | Description |
|---|---|
players |
Show all connected players with UUID and IP |
kick <PlayerName> |
Disconnect a player from the server |
ban id <UUID> |
Ban a player permanently by UUID |
ban name <PlayerName> |
Ban an online player by name |
ban ip <IP> |
Ban an IP address |
bans |
Show all bans |
unban <UUID/IP> |
Lift a ban |
pardon <UUID> |
Undo a votekick |
