Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Palworld template #256

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions palworld/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Palworld Dedicated Server

## Template OS suport

This template only works for the following operating systems:

- Linux

## Server configurations

Edit file located in `Pal/Saved/Config/LinuxServer/PalWorldSettings.ini` and check the optimization guide in [More Info](#more-info) links.

## More info

- [Palworld tech guide - Dedicated server guide - Linux](https://tech.palworldgame.com/dedicated-server-guide#linux)
- [Palworld tech guide - Server commands](https://tech.palworldgame.com/server-commands)
- [Palworld tech guide - Optimize game balance](https://tech.palworldgame.com/optimize-game-balance)
106 changes: 106 additions & 0 deletions palworld/palworld.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"display": "Palworld Dedicated Server",
"type": "srcds",
"install": [
{
"appId": "1007",
"type": "steamgamedl"
},
{
"appId": "2394010",
"type": "steamgamedl"
},
{
"type": "command",
"commands": ["chmod +x Pal/Binaries/Linux/PalServer-Linux-Test"]
},
{
"type": "mkdir",
"target": "Pal/Saved/Config/LinuxServer"
},
{
"type": "writefile",
"text": "[/Script/Pal.PalGameWorldSettings]\nOptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=${serverplayermaxnum},ServerName=\"${servername}\",ServerDescription=\"${serverdescription}\",AdminPassword=\"${adminpassword}\",ServerPassword=\"${serverpassword}\",PublicPort=${publicport},PublicIP=\"${publicip}\",RCONEnabled=False,RCONPort=25575,Region=\"\",bUseAuth=True,BanListURL=\"https://api.palworldgame.com/api/banlist.txt\")\n",
"target": "Pal/Saved/Config/LinuxServer/PalWorldSettings.ini"
}
],
"run": {
"stopCode": 15,
"command": "./Pal/Binaries/Linux/PalServer-Linux-Test Pal -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS",
"workingDirectory": "",
"pre": [
{
"type": "steamgamedl",
"appId": "1007"
},
{
"type": "steamgamedl",
"appId": "2394010"
},
{
"type": "command",
"commands": ["chmod +x Pal/Binaries/Linux/PalServer-Linux-Test"]
}
],
"post": [],
"environmentVars": {}
},
"data": {
"serverplayermaxnum": {
"type": "integer",
"desc": "Maximum number of players",
"display": "Server Player Max Num",
"required": true,
"value": 32
},
"publicport": {
"type": "integer",
"desc": "What port to bind the server to",
"display": "Public Port",
"required": true,
"value": 8211
},
"publicip": {
"type": "string",
"desc": "What address to bind the server to (leave blank for auto)",
"display": "Public IP",
"required": false,
"value": ""
},
"servername": {
"type": "string",
"desc": "You server name that will show on server list",
"display": "Server Name",
"required": true,
"value": "Default Palworld Server"
},
"serverdescription": {
"type": "string",
"desc": "What is shown when selecting the server in the list.",
"display": "Server Description",
"required": true,
"value": ""
},
"adminpassword": {
"type": "string",
"desc": "Sets a Admin Password to be able to use commands in game (use command /AdminPassword <password>)",
"display": "Admin Password",
"required": true,
"value": ""
},
"serverpassword": {
"type": "string",
"desc": "Sets a Server Password to make it private.",
"display": "Server Password",
"required": false,
"value": ""
}
},
"environment": {
"type": "tty"
},
"requirements": {
"os": "linux",
"arch": "amd64"
}
}
Loading