As an administrator, you have full control of your Mindustry game server: You can kick and ban players, manage a whitelist, and limit the number of players. In this guide, we'll show you how to give yourself and your team administrator rights and which commands can help.
You assign administrator rights for Mindustry through your game server's Console. Enter server commands directly in the input line there—without a leading slash. Your server must be running and hosting a game.
- Connect to your server as described in our guide Connect to the server.
- In ZapX, open the Console tab for your game server.
- Enter the following command and replace the name with your player name:
admin add DeinSpielername
The console confirms the change with Changed admin status of player. You now have administrator rights in the game.
The command only works with a name while the player is online. If they're not currently on the server, use their player ID (UUID) instead. You can find the IDs of all known players with info <Name> or search <part of name>.
Use admins to list all administrators, and admin remove <Name or ID> to revoke a player's rights. The admin list is retained even after a restart.
You can also enter the following commands in the Console:
| Command | Effect |
|---|---|
players | Lists all players who are currently online |
kick <Name> | Kicks a player from the server |
ban name <Name> | Bans a player who is currently online |
ban id <ID> | Bans a player by their ID |
ban ip <IP> | Bans an IP address |
bans | Lists all banned IDs and IP addresses |
unban <IP or ID> | Lifts a ban |
pardon <ID> | Allows a player who was kicked by a vote to rejoin the server |
say <Message> | Sends a message to all players |
playerlimit <Number> | Limits the number of players; playerlimit off removes the limit |
Use help to list all available commands in the console, or help <Command> to get an explanation of a specific command.
If you only want to let selected players join your server, use the whitelist:
- Enable it with
config whitelist true. - If a player who isn't on the whitelist tries to join, they'll be denied. The Console will display the relevant command with their ID, for example
whitelist add <ID>. - Enter that command—the player can then join.
Use whitelist without any additional arguments to see all approved players, or whitelist remove <ID> to remove a player. Use config whitelist false to disable the whitelist.
The whitelist applies to you and your team, too. Anyone who hasn't been approved will also be denied access—just add yourselves as described in steps 2 and 3.
Congratulations! You've successfully assigned administrator rights and learned the most important commands for managing players. Find more server settings in our guide to Server configuration. Our support team is available every day if you have any questions! 🙂
