# Set up Palworld Dedicated Server with Zenlayer Virtual Machine

## Background Information

Palworld is a survival and crafting game where you can fight, farm, build and work alongside mysterious creatures called "Pals". This game offers an exciting multiplayer experience that can be enhanced by setting up a dedicated server. You can set up a Palworld dedicated server using Zenlayer's worldwide low-latency virtual machine.

For current list of promotional packages, please [**see here**](https://console.zenlayer.com/home/special-offers/palworld-server-hosting?promoId=4efbba39-096b-4e56-b56c-59683a9ad08c).

## Prerequisites

* You have a [**zenConsole**](https://console.zenlayer.com/dashboard) account. See [**Create an Account**](https://docs.console.zenlayer.com/welcome/platform/account-management/create-an-account) for more details.
* All screenshots are for illustration only. The actual interface shall prevail.
* The virtual machine name, IP addresses, login username and password are all for illustration only. Please provide correct information according to your actual situation.

## Procedures

### Steps on zenConsole

1. Go to [**zenConsole**](https://console.zenlayer.com/dashboard) and click **Get Promo**.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FMK8S49x3U297FnoKfH5y%2Fimage.png?alt=media&#x26;token=44d4ecf2-2530-41d8-937a-1ac636bdf942" alt=""><figcaption></figcaption></figure></div>
2. Select **Location** closest to you and click **Deploy now**.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Ftz5MhZu9XWW87nALtxfC%2Fimage.png?alt=media&#x26;token=888d7126-ac32-410b-9463-27622b06554b" alt="" width="563"><figcaption></figcaption></figure></div>
3. Keep the default settings, review the Summary and click **Confirm Order**.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FlFLC5THPysmzxTKvtGlE%2Fimage.png?alt=media&#x26;token=02240161-9fb9-422c-8b89-db787b0aef8f" alt=""><figcaption></figcaption></figure></div>
4. Wait for the virtual machine becoming **Powered On**. You'll receive an email containing public IP address, username and password. Copy the password.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FqEMLT3lWFN9g0NhBGl1C%2Fimage.png?alt=media&#x26;token=7ef99f23-ced1-4f5f-a73d-4bc72f82bbc2" alt="" width="563"><figcaption></figcaption></figure></div>
5. Press `Win + r` on your Windows computer and run `mstsc` command.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FwQVL1WRSAUYyi1AfS4Op%2Fimage.png?alt=media&#x26;token=e9bfcf6a-a5d4-4459-8c34-e3e8e190cf2b" alt="" width="375"><figcaption></figcaption></figure></div>
6. In **Remote Desktop Connection**, enter the public IP address and click Connect.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FvTdQlw6ua6ZnK8pJSWy9%2Fimage.png?alt=media&#x26;token=7d6acae8-e81e-4c5c-9f10-2ed96ddef54f" alt="" width="375"><figcaption></figcaption></figure></div>
7. Enter the Username and paste the Password you have received in your email to remote access your virtual machine.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Ff8oF0DNulJ2ClrOxN3nC%2Fimage.png?alt=media&#x26;token=752b5e0d-5910-402f-9a6f-1b96553b33ce" alt="" width="342"><figcaption></figcaption></figure></div>

   *<mark style="color:blue;">**Note**</mark>*\
   \&#xNAN;*<mark style="color:blue;">You can also remote access via VNC. See</mark>* [*<mark style="color:purple;">**Access a Virtual Machine via VNC**</mark>*](https://docs.console.zenlayer.com/welcome/virtual-machine/access-a-virtual-machine#access-a-windows-virtual-machine-via-vnc) *<mark style="color:blue;">for detailed steps.</mark>*
8. Double-click the Palworld game icon to run your virtual machine.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FbqxuhBN9vzvopuIHTq79%2Fimage.png?alt=media&#x26;token=5960fcab-ac09-4b08-b2d2-24121ad471ea" alt=""><figcaption></figcaption></figure></div>

When you see the interface above, you can close the remote connection window and follow the **Steps in Palworld** as follows.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

<mark style="color:blue;">Palworld's designated port, UDP Port 8211, will be open by default to ensure optimal game server functionality.</mark>
{% endhint %}

### Steps on Palworld

1. Install [Steam](https://cdn.cloudflare.steamstatic.com/client/installer/steam.dmg) and sign in.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FCaA9hZEdVFTSbGATU0SV%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065099874703.png?alt=media&#x26;token=8e2a72b4-e436-4a0a-8367-77e2787da00f" alt="" width="375"><figcaption></figcaption></figure></div>
2. Find Palworld and click **PLAY**.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FFwqVm71dZb5o1KbHXwPN%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065100231826.png?alt=media&#x26;token=b3619af7-3805-45da-8579-ce7178e13551" alt=""><figcaption></figcaption></figure></div>
3. Click **Join Multiplayer Game**.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FcNIk8ju69jw54N6oTOGl%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065100877035.png?alt=media&#x26;token=3c792b5b-fc90-4af7-9777-a7c35169d580" alt=""><figcaption></figcaption></figure></div>
4. Enter your own virtual machine IP address (here is `107.151.135.106` in this demo) and click **Connect** to start gaming.

   <div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fx568BCeg1RgwLBsBof5Y%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17067927772004.png?alt=media&#x26;token=c82926e3-18e9-48ff-9c52-49932deffdfd" alt=""><figcaption></figcaption></figure></div>

### Result

You have now hosted your dedicated server for Palworld with Zenlayer's virtual machine. Share the IP address to your friends and start your exciting multiplayer experience!

### What to Do Next

#### Update Game Version

You can remote access your virtual machine and go to `C:\steamcmd`. Double-click 1.bat file to update Palworld game version.

<figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FbW601DnPPW7pIy4Grqap%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065978874649.png?alt=media&#x26;token=97ff2926-2869-40c9-9b87-a363ff0ee784" alt=""><figcaption></figcaption></figure>

#### Customize Game Configurations

You can also customize your game configurations.

1. Remote access your virtual machine and go to `C:\steamcmd\steamapps\common\PalServer\Pal\Saved\Config\WindowsServer`.

   <figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FrT1zjIKiMdAkjXWzhSt2%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065102629634.png?alt=media&#x26;token=6d820f9b-ee4d-49d5-977a-e44af56de84a" alt=""><figcaption></figcaption></figure>
2. Modify the file and save the file.

   <figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FlCG883HD6RA9C3y3MkHV%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_17065102836448.png?alt=media&#x26;token=56773c5f-89ac-49fa-a21b-edc8f8d2018a" alt=""><figcaption></figcaption></figure>
3. Restart your virtual machine to make the change take effect.

The parameter descriptions in the configuration file is as follows:

<table><thead><tr><th width="343">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>DayTimeSpeedRate</td><td>Day time speed</td></tr><tr><td>NightTimeSpeedRate</td><td>Night time speed</td></tr><tr><td>ExpRate</td><td>EXP rate</td></tr><tr><td>PalCaptureRate</td><td>Pal capture rate</td></tr><tr><td>PalSpawnNumRate</td><td>Pal appearance rate</td></tr><tr><td>PalDamageRateAttack</td><td>Damage from pals multipiler</td></tr><tr><td>PalDamageRateDefense</td><td>Damage to pals multipiler</td></tr><tr><td>PlayerDamageRateAttack</td><td>Damage from player multipiler</td></tr><tr><td>PlayerDamageRateDefense</td><td>Damage to player multipiler</td></tr><tr><td>PlayerStomachDecreaceRate</td><td>Player hunger depletion rate</td></tr><tr><td>PlayerStaminaDecreaceRate</td><td>Player stamina reduction rate</td></tr><tr><td>PlayerAutoHPRegeneRate</td><td>Player auto HP regeneration rate</td></tr><tr><td>PlayerAutoHpRegeneRateInSleep</td><td>Player sleep HP regeneration rate</td></tr><tr><td>PalStomachDecreaceRate</td><td>Pal hunger depletion rate</td></tr><tr><td>PalStaminaDecreaceRate</td><td>Pal stamina reduction rate</td></tr><tr><td>PalAutoHPRegeneRate</td><td>Pal auto HP regeneration rate</td></tr><tr><td>PalAutoHpRegeneRateInSleep</td><td>Pal sleep health regeneration rate (in Palbox)</td></tr><tr><td>BuildObjectDamageRate</td><td>Damage to structure multipiler</td></tr><tr><td>BuildObjectDeteriorationDamageRate</td><td>Structure determination rate</td></tr><tr><td>CollectionDropRate</td><td>Getherable items multipiler</td></tr><tr><td>CollectionObjectHpRate</td><td>Getherable objects HP multipiler</td></tr><tr><td>CollectionObjectRespawnSpeedRate</td><td>Getherable objects respawn interval</td></tr><tr><td>EnemyDropItemRate</td><td>Dropped Items Multipiler</td></tr><tr><td>DeathPenalty</td><td>Death penalty None : No lost, Item : Lost item without equipment, ItemAndEquipment : Lost item and equipment, All : Lost All item, equipment, pal(in inventory)</td></tr><tr><td>GuildPlayerMaxNum</td><td>Max player of Guild</td></tr><tr><td>PalEggDefaultHatchingTime</td><td>Time(h) to incubate massive egg</td></tr><tr><td>ServerPlayerMaxNum</td><td>Maximum number of people who can join the server</td></tr><tr><td>ServerName</td><td>Server name</td></tr><tr><td>ServerDescription</td><td>Server description</td></tr><tr><td>AdminPassword</td><td>AdminPassword</td></tr><tr><td>ServerPassword</td><td>Set the server password</td></tr><tr><td>PublicPort</td><td>Public port number</td></tr><tr><td>PublicIP</td><td>Public IP</td></tr><tr><td>RCONEnabled</td><td>Enable RCON</td></tr><tr><td>RCONPort</td><td>Port number for RCON</td></tr></tbody></table>
