This guide shows you how to configure your server with an admin password and add yourself as an admin in-game. You can share this password with trusted players to grant them access to various admin commands. Learn more about server commands in our Server Commands guide.
First, you need to access your configuration settings. There are several ways to do this – we list them below with instructions on setting the password. We recommend the Web Interface option as it is the most user-friendly. Once you have set your admin password, you can proceed to the next section.
The easiest way is through the Configuration tab (raw text view) of your game server.
In the Configuration tab, look for the option Gameserver Password. There you set and enter your desired password.
After selecting your password, be sure to scroll up and click the green Save button to confirm the change.
The server must be stopped before editing the config. Otherwise, changes will be reset upon server restart.
Alternatively, you can edit the raw file directly by clicking the blue edit button in the Configuration tab of your game server (raw text view), as shown here:
A text editor will open directly on the page where you can edit the file. Search for the option AdminPassword (using CTRL+F helps) and change it to your desired admin password. Then save the file and restart your server.
The server must be stopped before editing the config. Otherwise, changes will be reset upon server restart.
The last way to access the raw file is via FTP. If you are not familiar with FTP, we recommend our Access via FTP guide. This method takes a bit longer. If you want to edit the file directly, we recommend using the Configuration tab (raw text view) of your game server instead.
After setting your admin password, you need to add yourself as an admin in-game. Start Palworld and connect to your server. If you need help, check out our Connecting to Server guide.
In-game, open the chat with Enter. Then enter the following command, replacing [password] with your previously set admin password:
/AdminPassword [password]
If everything is correct, you will receive a success message in the chat. If an error message appears, please check that the admin password you entered is correct and matches the one set earlier.
