Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up a Dedicated Palworld Server on a VPS

In Palworld, if the host closes the game, the rest of the group gets kicked out. A dedicated server on a VPS keeps the world running 24 hours a day without relying on anyone’s PC. This guide sets it up on Ubuntu using SteamCMD, a dedicated user account, and a systemd service, and explains how to configure the world and protect the game.

What Kind of VPS Do You Need?

  • Memory: This is the resource that takes up the most space. The official documentation recommends 16 GB; 8 GB is sufficient for small groups, but memory usage increases as the game goes on, so it’s a good idea to restart the game daily.
  • CPU: 4 cores with good performance per core.
  • Storage: About 10 GB for the game, plus space for world copies.
  • Network: UDP port 8211 is open.

1. Install SteamCMD

SteamCMD is Valve's tool for downloading dedicated servers. On Ubuntu, it's in the multiverse repository and requires the 32-bit libraries:

sudo add-apt-repository -y multiversesudo dpkg --add-architecture i386sudo apt updatesudo apt install -y steamcmd

During installation, you'll need to accept the Steam license agreement.

2. Create a user specifically for the server

ever run a game server as root: if the process is compromised, the attacker would gain control of the entire VPS.

sudo useradd -m -s /bin/bash palworldsudo -iu palworld

3. Download the server

ow that you're logged in as user palworld, download the dedicated server (Steam application 2394010) to your own folder:

/usr/games/steamcmd +force_install_dir /home/palworld/palserver +login anonymous +app_update 2394010 validate +quit

If an error regarding steamclient.so appears at startup, copy the library to the path where the server looks for it:

mkdir -p ~/.steam/sdk64cp "$(find ~ -name steamclient.so -path '*linux64*' | head -n 1)" ~/.steam/sdk64/

4. First startup

Start it once manually so it can create its configuration folders, and make sure it doesn't display any errors:

cd ~/palserver./PalServer.sh -port=8211 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS

When the console stops advancing, stop it with Ctrl+C.

5. Customize the world using PalWorldSettings.ini

The server reads its configuration from a file that starts out empty. It copies the template with the default values and opens it:

cp ~/palserver/DefaultPalWorldSettings.ini ~/palserver/Pal/Saved/Config/LinuxServer/PalWorldSettings.ininano ~/palserver/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini

All the settings are on a single long line, inside OptionSettings=(...). These are the ones you should check first:

  • ServerName and ServerDescription: what the players will see.
  • ServerPassword: password to log in. Leave it blank only if you want the server to be open to anyone.
  • AdminPassword: Provides access to in-game administration commands. Use a long password that is different from ServerPassword.
  • ServerPlayerMaxNum: number of seats. If you exceed 16, you'll need more memory.
  • ExpRate, PalCaptureRate, and DeathPenalty: the pace and difficulty of the game.

Edit the file while the server is down, and be sure to use commas and quotation marks correctly: a syntax error could cause the server to ignore your changes without warning.

6. Open the port

Log out of user palworld with exit and allow UDP traffic for the game:

sudo ufw allow 8211/udp

Players connect from the dedicated servers menu by entering the VPS's IP address and port, for example, 203.0.113.10:8211.

7. Leave it as a service

With systemd, the server starts up automatically when the VPS is powered on, restarts if it crashes, and checks for updates before each boot:

sudo tee /etc/systemd/system/palworld.service > /dev/null <<'EOF'[Unit]Description=Palworld dedicated serverAfter=network-online.targetWants=network-online.target[Service]User=palworldWorkingDirectory=/home/palworld/palserverExecStartPre=/usr/games/steamcmd +force_install_dir /home/palworld/palserver +login anonymous +app_update 2394010 validate +quitExecStart=/home/palworld/palserver/PalServer.sh -port=8211 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDSRestart=on-failureRestartSec=15TimeoutStartSec=600[Install]WantedBy=multi-user.targetEOFsudo systemctl daemon-reloadsudo systemctl enable --now palworldjournalctl -u palworld -f

Server Maintenance

Daily Server Restart

To free up accumulated memory, schedule a reboot for a time when there are no players using sudo crontab -e:

0 6 * * * /usr/bin/systemctl restart palworld

Share the schedule with your community, and if you're logged in as an administrator, save the game using the command /Save before each restart: anything that hasn't been saved will be lost.

Backups of the saved world

The world and characters are in Pal/Saved/SaveGames. Make the copy while the server is down so that the files remain consistent; before shutting it down, save the game using /Save from within the game:

sudo systemctl stop palworldsudo tar -czf /root/palworld-$(date +%F).tar.gz -C /home/palworld/palserver/Pal/Saved SaveGamessudo systemctl start palworld

Also keep a copy outside the VPS: if the disk fails, a copy on the same server won't do you any good.

Restore a copy

If an update or an error corrupts the world, stop the server, move the current folder to a separate location with a unique name, and restore the copy in its place. The commands are chained together with && so that the server only starts if everything went well:

S=/home/palworld/palserver/Pal/Savedsudo systemctl stop palworld \  && sudo mv "$S/SaveGames" "$S/SaveGames.before-restore-$(date +%Y%m%d-%H%M%S)" \  && sudo tar -xzf /root/palworld-2026-01-15.tar.gz -C "$S" \  && sudo chown -R palworld:palworld "$S/SaveGames" \  && sudo systemctl start palworld

Do not delete the SaveGames.before-restore-… folder until you have verified that the restored game loads properly.

ext step

If your group grows and you run out of memory, choose a game server plan with more RAM and move the SaveGames folder to the new server.

Related guides