
thijsvanloef/palworld-server-docker and Windows 10.
[!IMPORTANT]
Looking to host a server for Xbox players? Follow this guide here!
| Company | About |
|---|---|
indifferent broccoli (:|) | Thank you to our sponsor indifferent broccoli. If you decide to rent a Palworld server, rather than host yourself, try indifferent broccoli's Palword server hosting 2-day free trial |
 | false | true/false |
| PUBLIC_IP | You can manually specify the global IP address of the network on which the server running. If not specified, it will be detected automatically. If it does not work well, try manual configuration. | x.x.x.x | |
| PUBLIC_PORT | You can manually specify the port number of the network on which the server running. If not specified, it will be detected automatically. If it does not work well, try manual configuration. | 1024-65535 | |
| SERVER_NAME | A name for your server | "string" | |
| SERVER_PASSWORD | Secure your community server with a password | "string" | |
| ADMIN_PASSWORD | Secure administration access in the server with a password | "string" | |
| UPDATE_ON_BOOT** | Update/Install the server when the docker container starts (THIS HAS TO BE ENABLED THE FIRST TIME YOU RUN THE CONTAINER) | true | true/false |
| RCON_ENABLED*** | Enable RCON for the Palworld server | true | true/false |
| RCON_PORT | RCON port to connect to | 25575 | 1024-65535 |
| QUERY_PORT | Query port used to communicate with Steam servers | 27015 | 1024-65535 |
*highly recommended to set
** Make sure you know what you are doing when running this option enabled
*** Required for docker stop to save and gracefully close the server
[!IMPORTANT] Boolean values used in environment variables are case sensitive because they are used in the shell script.
They must be set using exactly
trueorfalsefor the option to take effect.
| Port | Info |
|---|---|
| 8211 | Game Port (UDP) |
| 27015 | Query Port (UDP) |
| 25575 | RCON Port (TCP) |
RCON is enabled by default for the palworld-server-docker image. Opening the RCON CLI is quite easy:
bashdocker exec -it palworld-server rcon-cli
This will open a CLI that uses RCON to write commands to the Palworld Server.
| Command | Info |
|---|---|
| Shutdown {Seconds} {MessageText} | The server is shut down after the number of Seconds |
| DoExit | Force stop the server. |
| Broadcast | Send message to all player in the server |
| KickPlayer {SteamID} | Kick player from the server.. |
| BanPlayer {SteamID} | BAN player from the server. |
| TeleportToPlayer {SteamID} | Teleport to current location of target player. |
| TeleportToMe {SteamID} | Target player teleport to your current location |
| ShowPlayers | Show information on all connected players. |
| Info | Show server information. |
| Save | Save the world data. |
For a full list of commands go to: [***]
To create a backup of the game's save at the current point in time, use the command:
bashdocker exec palworld-server backup
This will create a backup at /palworld/backups/
The server will run a save before the backup if rcon is enabled.
To restore from a backup, use the command:
bashdocker exec -it palworld-server restore
The RCON_ENABLED environment variable must be set to true to use this command.
[!IMPORTANT] If docker restart is not set to policy
alwaysorunless-stoppedthen the server will shutdown and will need to be manually restarted.The example docker run command and docker compose file in How to Use already uses the needed policy
Locate the backup you want to restore in /palworld/backups/ and decompress it.
Need to stop the server before task.
bashdocker compose down
Delete the old saved data folder located at palworld/Pal/Saved/SaveGames/0/<old_hash_value>.
Copy the contents of the newly decompressed saved data folder Saved/SaveGames/0/<new_hash_value> to palworld/Pal/Saved/SaveGames/0/<new_hash_value>.
Replace the DedicatedServerName inside palworld/Pal/Saved/Config/LinuxServer/GameUserSettings.ini with the new folder name.
iniDedicatedServerName=<new_hash_value> # Replace it with your folder name.
Restart the game. (If you are using Docker Compose)
bashdocker compose up -d
The server is automatically backed up everynight at midnight according to the timezone set with TZ
Set BACKUP_ENABLED enable or disable automatic backups (Default is enabled)
BACKUP_CRON_EXPRESSION is a cron expression, in a Cron-Expression you define an interval for when to run jobs.
[!TIP] This image uses Supercronic for crons see supercronic or Crontab Generator.
Set BACKUP_CRON_EXPRESSION to change the default schedule.
Example Usage: If BACKUP_CRON_EXPRESSION to 0 2 * * *, the backup script will run every day at 2:00 AM.
To be able to use automatic Updates with this Server the following environment variables have to be set to true:
[!IMPORTANT]
If docker restart is not set to policy
alwaysorunless-stoppedthen the server will shutdown and will need to be manually restarted.The example docker run command and docker compose file in How to Use already use the needed policy
Set AUTO_UPDATE_ENABLED enable or disable automatic updates (Default is disabled)
AUTO_UPDATE_CRON_EXPRESSION is a cron expression, in a Cron-Expression you define an interval for when to run jobs.
[!TIP] This image uses Supercronic for crons see supercronic or Crontab Generator.
Set AUTO_UPDATE_CRON_EXPRESSION to change the default schedule.
To be able to use automatic reboots with this server RCON_ENABLED enabled.
[!IMPORTANT]
If docker restart is not set to policy
alwaysorunless-stoppedthen the server will shutdown and will need to be manually restarted.The example docker run command and docker compose file in How to Use already use the needed policy
Set AUTO_REBOOT_ENABLED enable or disable automatic reboots (Default is disabled)
AUTO_REBOOT_CRON_EXPRESSION is a cron expression, in a Cron-Expression you define an interval for when to run jobs.
[!TIP] This image uses Supercronic for crons see supercronic or Crontab Generator.
Set AUTO_REBOOT_CRON_EXPRESSION to change the set the schedule, default is everynight at midnight according to the timezone set with TZ
[!IMPORTANT]
These Environment Variables/Settings are subject to change since the game is still in beta. Check out the official webpage for the supported parameters.
Converting server settings to environment variables follow the same principles (with some exceptions):
For example:
All variables: [***]
When the server starts, a PalWorldSettings.ini file will be created in the following location: <mount_folder>/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
Please keep in mind that the ENV variables will always overwrite the changes made to PalWorldSettings.ini.
[!IMPORTANT] Changes can only be made to
PalWorldSettings.iniwhile the server is off.Any changes made while the server is live will be overwritten when the server stops.
For a more detailed list of server settings go to: Palworld Wiki
For more detailed server settings explanations go to: shockbyte
Generate a webhook url for your *** server in your ***'s server settings.
Set the environment variable with the unique token at the end of the *** webhook url example: [***]
send *** messages with docker run:
sh-e ***_WEBHOOK_URL="[***]" \ -e ***_PRE_UPDATE_BOOT_MESSAGE="Server is updating..." \
send *** messages with docker compose:
yaml- ***_WEBHOOK_URL=[***] - ***_PRE_UPDATE_BOOT_MESSAGE=Server is updating...
[!WARNING] Downgrading to a lower game version is possible, but it is unknown what impact it will have on existing saves.
Please do so at your own risk!
If TARGET_MANIFEST_ID environment variable is set, will lock server version to specific manifest. The manifest corresponds to the release date/update versions. Manifests can be found using SteamCMD or websites like SteamDB.
| Version | Manifest ID |
|---|---|
| 1.3.0 | 1354752814336157338 |
| 1.4.0 | 4190579964382773830 |
| 1.4.1 | 6370735655629434989 |
Issues/Feature requests can be submitted by using this link.
Known issues are listed in the documentation
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务