Skip to main content
← All guides

Opening a Palworld dedicated server (Ubuntu)

Here's how to open a Palworld dedicated server for playing with friends on an Ubuntu or Debian server. The server keeps running even when your PC is off, and we'll set it up to restart automatically if it goes down.

Before you start

If it's hard to do yourself, you can leave the setup to Nevv Tech Support. A server set up through tech support can be managed on the web from the game console on the server detail page — start, stop, see who's online, send notices and back up.

1. Install SteamCMD

The Palworld server files are downloaded with Valve's SteamCMD. SteamCMD needs 32-bit libraries.

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y curl lib32gcc-s1 lib32stdc++6
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -fsSL https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | tar -xz

2. Download the Palworld server

The Steam app ID for the Palworld dedicated server is 2394010. It takes anywhere from a few minutes to a few tens of minutes.

~/steamcmd/steamcmd.sh +force_install_dir ~/palworld +login anonymous +app_update 2394010 validate +quit
mkdir -p ~/.steam/sdk64
cp ~/steamcmd/linux64/steamclient.so ~/.steam/sdk64/

If you see Success! App '2394010' fully installed., it worked. The second and third lines prevent an error where the server can't find the Steam library.

3. Configure the server

Copy the default settings file, then change the server name, join password, admin password and maximum number of players.

cd ~/palworld
mkdir -p Pal/Saved/Config/LinuxServer
cp DefaultPalWorldSettings.ini Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
CFG=Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
sed -i -e 's/ServerName="[^"]*"/ServerName="My Server"/' \
       -e 's/ServerPassword="[^"]*"/ServerPassword="join-password"/' \
       -e 's/AdminPassword="[^"]*"/AdminPassword="admin-password"/' \
       -e 's/ServerPlayerMaxNum=[0-9]*/ServerPlayerMaxNum=32/' "$CFG"
  • Replace My Server, join-password and admin-password with the values you want before running it. Don't use symbols like / & " in passwords (they break the command).
  • If you leave the join password empty (ServerPassword=""), anyone who knows the address can join.
  • This file has every setting on one line (OptionSettings=(...)). Change other values the same way.

4. Set it to start automatically (systemd)

Register it so it keeps running after you close the SSH window, and starts again if the server goes down or reboots.

sudo tee /etc/systemd/system/palworld.service > /dev/null <<EOF
[Unit]
Description=Palworld server
After=network-online.target
Wants=network-online.target

[Service]
User=$USER
WorkingDirectory=$HOME/palworld
ExecStart=$HOME/palworld/PalServer.sh -port=8211 -players=32 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS
Restart=always
RestartSec=10
KillSignal=SIGINT
TimeoutStopSec=90

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now palworld

Check that it's running.

systemctl status palworld
journalctl -u palworld -f

The first start can take a few minutes while it creates the world. Leave the journalctl screen with Ctrl + C.

5. Connect

Palworld uses UDP port 8211. If you've turned on the firewall (ufw), open it. (Opening firewall ports)

sudo ufw allow 8211/udp

In the game, go to the Join Multiplayer Game screen, enter the address below in the address field at the bottom, and connect.

ip-address:8211

On a server whose detail page shows a service port (a KT-⁠A private-IP server): From outside, players can only come in through the service port, and the service port is forwarded to the same number inside the server. Change -port=8211 in step 4 and PublicPort=8211 in the settings file to the service port number, and enter the address as connection address from the server details:service port. See What's a port? Common ports at a glance for details.

To become an admin in the game, enter /AdminPassword admin-password in the chat window.

6. Change settings — always after stopping it

Palworld writes its current settings back to PalWorldSettings.ini when it shuts down. If you edit the file while the server is running and then restart, your changes are lost. Always do it in this order.

sudo systemctl stop palworld
nano ~/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
sudo systemctl start palworld

7. Update

If players can't connect after the game updates, update the server too.

sudo systemctl stop palworld
~/steamcmd/steamcmd.sh +force_install_dir ~/palworld +login anonymous +app_update 2394010 validate +quit
sudo systemctl start palworld

8. Back up the world

Saves are in the ~/palworld/Pal/Saved folder. It's safest to compress them while the server is stopped.

sudo systemctl stop palworld
tar -czf ~/palworld-backup-$(date +%Y%m%d-%H%M).tar.gz -C ~/palworld Pal/Saved
sudo systemctl start palworld

To download the archive to your PC, see Uploading and downloading files on your server; to back up automatically every day, see Backing up your server data.

Common problems

SymptomWhat to check
Can't connect from the server listWhether you entered IP:port directly in the address field, and whether you opened the firewall for UDP (opening it as TCP won't work)
Can't connect on a server with a service portWhether the ports in -port=, PublicPort= and the connection address are all the service port number
Changed settings disappearWhether you edited it while it was running — stop it first, then edit, as in step 6
Players get kicked or it lags badly as more joinNot enough memory — check with free -h, Checking a slow server
steamclient.so errorWhether you did the ~/.steam/sdk64 copy in step 2

If your problem isn't solved, open a ticket on our Discord.

Opening a Palworld dedicated server (Ubuntu) - Nevv Guides