Script for one-click installation of 幻兽帕鲁 game server - Ubuntu/Debian

Published: 2024-03-05

```html


It is recommended to directly activate our company's system pre-installed with Palworld service; you can use web-based management, which is easy to operate.

One-click activation tutorial for Palworld game server   https://www.west.cn/faq/list.asp?unid=2553 


It is recommended to choose 4 cores, 16G memory, and 10M bandwidth, which can support 6-15 players.


Step 1: Install game service

1. Refer to the tutorial https://www.west.cn/faq/list.asp?unid=417  to remotely connect to the cloud server via SSH.  

2. Enter wget  http://downinfo.myhostadmin.net/palserver/install.sh && bash install.sh  and press Enter to install. The installation process takes a long time, please wait patiently.


image.png


3. After successful installation, you can enter the command netstat -lntpu   to check whether UDP port 8211 is listening. 


image.png


4. The server needs to allow port 8211 by default   , enter  sudo ufw allow 8211/udp  in the command line;


Step 2: Log in and start the game

1. Open the Steam client and log in to your Steam account.


image.png

  

2. In "Library", find Palworld (幻兽帕鲁) and start the game, then join multiplayer game (dedicated server).

image.png


3. Enter   server IP:8211  and click Connect, then you can enjoy the game.


image.png

image.png




Common commands:

# Start Palworld service

sudo systemctl start pal-server

# Restart Palworld service

sudo systemctl restart pal-server

# Stop Palworld service

sudo systemctl stop pal-server

# Check Palworld service status

sudo systemctl status pal-server



FAQ:

1. "The match you are trying to join is running an incompatible game version. Please try upgrading the game version." This prompt indicates that the Palworld deployed on the server needs to be updated. 


image.png


Please log in to the server through an SSH client and use the following command to update the game.


steamcmd +login anonymous +app_update 2394010 validate +quit


image.png


After the update is complete, enter the command sudo systemctl restart pal-server   to restart the game service.


Note: if the connection fails, check whether the service starts normally and whether the firewall allows port 8211.


```