Skip to main content

Palworld Dedicated Server Settings

How to change the Palworld Server Settings using Docker Environment variables.

Environment variables

You can use the following values to change the settings of the server on boot. It is highly recommended you set the following environment values before starting the server:

  • PLAYERS
  • PORT
  • PUID
  • PGID
VariableInfoDefault ValuesAllowed ValuesAdded in Version
TZTimezone used for time stamping backup serverUTCSee TZ Identifiers0.1.0
PLAYERS*Max amount of players that are able to join the server161-320.1.0
PORT*UDP port that the server will expose82111024-655350.1.0
PUID*The uid of the user the server should run as1000!00.6.0
PGID*The gid of the group the server should run as1000!00.6.0
MULTITHREADING**Improves performance in multi-threaded CPU environments. It is effective up to a maximum of about 4 threads, and allocating more than this number of threads does not make much sense.falsetrue/false0.1.0
COMMUNITYWhether or not the server shows up in the community server browser (USE WITH SERVER_PASSWORD)falsetrue/false0.1.0
PUBLIC_IPYou 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.x0.1.0
PUBLIC_PORTYou 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-655350.1.0
SERVER_NAMEA name for your server"string"0.1.0
SERVER_DESCRIPTIONYour server Description"string"0.1.0
SERVER_PASSWORDSecure your community server with a password"string"0.1.0
ADMIN_PASSWORDSecure administration access in the server with a password"string"0.4.0
UPDATE_ON_BOOT**Update/Install the server when the docker container starts (THIS HAS TO BE ENABLED THE FIRST TIME YOU RUN THE CONTAINER)truetrue/false0.3.0
RCON_ENABLED***Enable RCON for the Palworld servertruetrue/false0.1.0
RCON_PORTRCON port to connect to255751024-655350.1.0
REST_API_ENABLEDEnable REST API for the palworld serverfalsetrue/false0.35.0
REST_API_PORTREST API port to connect to82121024-655350.35.0
QUERY_PORTQuery port used to communicate with Steam servers270151024-655350.1.0
ALLOW_CONNECT_PLATFORM!!Doesn't work this version!!Steamunknown0.35.0
BACKUP_CRON_EXPRESSIONSetting affects frequency of automatic backups.0 0 * * *Needs a Cron-Expression - See Configuring Automatic Backups with Cron0.19.0
BACKUP_ENABLEDEnables automatic backupstruetrue/false0.19.0
USE_BACKUP_SAVE_DATAEnables native automatic backupstruetrue/false0.35.0
DELETE_OLD_BACKUPSDelete backups after a certain number of daysfalsetrue/false0.19.0
OLD_BACKUP_DAYSHow many days to keep backups30any positive integer0.19.0
AUTO_UPDATE_CRON_EXPRESSIONSetting affects frequency of automatic updates.0 * * * *Needs a Cron-Expression - See Configuring Automatic Updates with Cron0.20.0
AUTO_UPDATE_ENABLEDEnables automatic updatesfalsetrue/false0.20.0
AUTO_UPDATE_WARN_MINUTESHow long to wait to update the server, after the player were informed. (This will be ignored, if no Players are connected)30Integer0.20.0
AUTO_REBOOT_CRON_EXPRESSIONSetting affects frequency of automatic updates.0 0 * * *Needs a Cron-Expression - See Configuring Automatic Reboots with Cron0.21.0
AUTO_REBOOT_ENABLEDEnables automatic rebootsfalsetrue/false0.21.0
AUTO_REBOOT_WARN_MINUTESHow long to wait to reboot the server, after the player were informed.5Integer0.21.0
AUTO_REBOOT_EVEN_IF_PLAYERS_ONLINERestart the Server even if there are players online.falsetrue/false0.21.0
TARGET_MANIFEST_IDLocks game version to corespond with Manfiest ID from Steam Download Depot.See Manifest ID Table0.27.0
DISCORD_WEBHOOK_URLDiscord webhook url found after creating a webhook on a discord serverhttps://discord.com/api/webhooks/<webhook_id>0.22.0
DISCORD_SUPPRESS_NOTIFICATIONSEnables/Disables @silent messages for the server messages.falseboolean0.34.0
DISCORD_CONNECT_TIMEOUTDiscord command initial connection timeout30!00.22.0
DISCORD_MAX_TIMEOUTDiscord total hook timeout30!00.22.0
DISCORD_PRE_UPDATE_BOOT_MESSAGEDiscord message sent when server begins updatingServer is updating..."string"0.31.0
DISCORD_PRE_UPDATE_BOOT_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PRE_UPDATE_BOOT_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_POST_UPDATE_BOOT_MESSAGEDiscord message sent when server completes updatingServer update complete!"string"0.31.0
DISCORD_POST_UPDATE_BOOT_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_POST_UPDATE_BOOT_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PRE_START_MESSAGEDiscord message sent when server begins to startServer has been started!"string"0.31.0
DISCORD_PRE_START_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PRE_START_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PRE_SHUTDOWN_MESSAGEDiscord message sent when server begins to shutdownServer is shutting down..."string"0.31.0
DISCORD_PRE_SHUTDOWN_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PRE_SHUTDOWN_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_POST_SHUTDOWN_MESSAGEDiscord message sent when server has stoppedServer is stopped!"string"0.31.0
DISCORD_POST_SHUTDOWN_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_POST_SHUTDOWN_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PLAYER_JOIN_MESSAGEDiscord message sent when player joins the serverplayer_name has joined Palworld!"string"0.31.0
DISCORD_PLAYER_JOIN_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PLAYER_JOIN_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PLAYER_LEAVE_MESSAGEDiscord message sent when player leaves the serverplayer_name has left Palworld."string"0.31.0
DISCORD_PLAYER_LEAVE_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PLAYER_LEAVE_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PRE_BACKUP_MESSAGEDiscord message when starting to create a backupCreating backup..."string"0.31.0
DISCORD_PRE_BACKUP_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PRE_BACKUP_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_POST_BACKUP_MESSAGEDiscord message when a backup has been madeBackup created at file_path"string"0.31.0
DISCORD_POST_BACKUP_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_POST_BACKUP_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_PRE_BACKUP_DELETE_MESSAGEDiscord message when starting to remove older backupsRemoving backups older than old_backup_days days"string"0.31.0
DISCORD_PRE_BACKUP_DELETE_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_PRE_BACKUP_DELETE_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_POST_BACKUP_DELETE_MESSAGEDiscord message when successfully removed older backupsRemoved backups older than old_backup_days days"string"0.31.0
DISCORD_POST_BACKUP_DELETE_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_POST_BACKUP_DELETE_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISCORD_ERR_BACKUP_DELETE_MESSAGEDiscord message when there has been an error removing older backupsUnable to delete old backups, OLD_BACKUP_DAYS is not an integer. OLD_BACKUP_DAYS=old_backup_days"string"0.31.0
DISCORD_ERR_BACKUP_DELETE_MESSAGE_ENABLEDIf the Discord message is enabled for this messagetrueboolean0.31.0
DISCORD_ERR_BACKUP_DELETE_MESSAGE_URLDiscord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL)"string"0.31.0
DISABLE_GENERATE_SETTINGSWhether to automatically generate the PalWorldSettings.inifalsetrue/false0.24.0
DISABLE_GENERATE_ENGINEWhether to automatically generate the Engine.initruetrue/false0.30.0
ENABLE_PLAYER_LOGGINGEnables Logging and announcing when players join and leavetruetrue/false0.31.0
PLAYER_LOGGING_POLL_PERIODPolling period (in seconds) to check for players who have joined or left5!00.31.0
ARM_COMPATIBILITY_MODESwitches the compatibility layer from Box86 to QEMU when executing steamcmd for server updates. This setting is only applicable for ARM64 hosts.falsetrue/false0.30.0

*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

Game Ports

The server needs the following ports by default.

PortInfo
8211Game Port (UDP)
27015Query Port (UDP)
25575RCON Port (TCP)