Granting administrator permissions gives you simple, comprehensive management and full control over your server. As an administrator, you can use all the options and features available in the game directly in-game. The steps you need to follow to grant administrator permissions on your server are described below.
To grant administrator permissions to yourself or other players, you need your server's admin password. You can find it in ZapX under the Configuration tab, in Startup parameters, in the Admin Password field. ZapX generates it automatically when you create your server. You can view it there and change it as needed.
If you change the password, save the startup parameters and restart your server once. You can then connect to your server and open the server settings in-game by pressing the ESC key. Enter the admin password there to make yourself an admin.
Each time your server starts, it writes the admin password from the startup parameters to the Saved/Config/LinuxServer/ServerSettings.ini file (AdminPassword). If you change AdminPassword directly in the file, your value will be overwritten the next time the server restarts. For this reason, always change the password under Startup parameters.
You can then use admin commands in-game. Below is an overview of the most commonly used commands.
Enter these commands in-game while connected as an admin. They are not included in your server's RCON command list, which is also used by the Console in ZapX. The only command available there as well is SetServerSetting; see RCON.
| Command | Description |
|---|---|
| MakeMeAdmin [AdminPassword] | Enables admin mode |
| MakeMeNormal | Disables admin mode |
| LearnEmote [emote] | Unlocks an emote for your character. Requires admin mode |
| God | Enables/disables God mode |
| PlayerCanBuildEverywhere [PlayerName] | Allows the specified player to build anywhere, even when building is disabled |
| Teleport | Teleports you onto a surface or into the air |
| TeleportPlayer X[float] Y[float] Z[float] | Teleports you or another player to the specified coordinates |
| TeleportToPlayer [PlayerName] | Teleports you to the specified player |
| Fly | Enables fly mode |
| Ghost | Enables ghost mode (invisible, noclip) |
| SetServerSetting serverSetting[FString] Value[FString] | Allows you to change the server settings from ServerSettings.ini while in-game |
You can find other server settings, such as PvP, experience, or Purge, in Server Configuration.
