From fab184ab901812a116a90357a285c538bca94ee8 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 19 Jan 2024 13:52:45 +0100 Subject: [PATCH 01/14] uploading palworld egg ToDo: -create README - update README files --- .../palworld/egg-palworld.json | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 game_eggs/steamcmd_servers/palworld/egg-palworld.json diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json new file mode 100644 index 00000000..97f3c518 --- /dev/null +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -0,0 +1,94 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2024-01-19T13:50:56+01:00", + "name": "Palworld", + "author": "admin@ballaual.de", + "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", + "features": null, + "docker_images": { + "ghcr.io\/parkervcp\/steamcmd:debian": "ghcr.io\/parkervcp\/steamcmd:debian" + }, + "file_denylist": [ + "PalServer.sh" + ], + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" adminpassword=\"{{ADMIN_PASSWORD}}\"", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## copy template config file\r\necho Copy template config file into config folder!\r\nrm \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\ncp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "container": "ghcr.io\/parkervcp\/installers:debian", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "App ID", + "description": "Do not edit!", + "env_variable": "SRCDS_APPID", + "default_value": "2394010", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|in:2394010", + "field_type": "text" + }, + { + "name": "Auto Update", + "description": "Auto update the server on start.", + "env_variable": "AUTO_UPDATE", + "default_value": "1", + "user_viewable": true, + "user_editable": true, + "rules": "required|boolean", + "field_type": "text" + }, + { + "name": "Max Players", + "description": "", + "env_variable": "MAX_PLAYERS", + "default_value": "32", + "user_viewable": true, + "user_editable": true, + "rules": "required|int|min:1|max:32", + "field_type": "text" + }, + { + "name": "Server Name", + "description": "", + "env_variable": "SRV_NAME", + "default_value": "A Pterodactyl hosted Palword Server", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:64", + "field_type": "text" + }, + { + "name": "Server Password", + "description": "If specified, players must provide this password to join the server.", + "env_variable": "SRV_PASSWORD", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "nullable|alpha_dash|between:1,30", + "field_type": "text" + }, + { + "name": "Admin Password", + "description": "If specified, players must provide this password (via the in-game chat or RCON) to gain access to administrator commands on the server.", + "env_variable": "ADMIN_PASSWORD", + "default_value": "ChangeMe", + "user_viewable": true, + "user_editable": true, + "rules": "nullable|alpha_dash|between:1,30", + "field_type": "text" + } + ] +} \ No newline at end of file From 56e8fb9da21c016b8ab24ae0774b9c2dfa4619b1 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 19 Jan 2024 15:51:58 +0100 Subject: [PATCH 02/14] adding README file for the egg --- game_eggs/steamcmd_servers/palworld/README.md | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 game_eggs/steamcmd_servers/palworld/README.md diff --git a/game_eggs/steamcmd_servers/palworld/README.md b/game_eggs/steamcmd_servers/palworld/README.md new file mode 100644 index 00000000..953bde2e --- /dev/null +++ b/game_eggs/steamcmd_servers/palworld/README.md @@ -0,0 +1,93 @@ +# Palworld + +### Steam Description +Fight, farm, build and work alongside mysterious creatures called "Pals" in this completely new multiplayer, open world survival and crafting game! + +### Authors / Contributors + + + + + + + + + + +
+ +
Alexander Ballauf +
+
+ 💻 + 🔨 +
+ +
QuintenQVD0 +
+
+ 💻 +
+ +
heckler +
+
+ 💡 +
+ +
Daniel Barton +
+
+ 💻 +
+ +
Rodhin +
+
+ 💻 +
+ +
B0rbor4d +
+
+ 💡 +
+ +
Zach +
+
+ 💡 +
+ +## Known Issues / FAQ + +1) The server won't show up in the Community-Server tab.
+-> As there are so many people creating dedicated servers you might load a few times more servers (Press the load 200 next servers).
+-> You might press the button for a while until you are able to find the server with your name! + +2) As of now (release day - January 19th 2024) you are not able to join a password protected server by IP. + +3) The server does not show up in the steam server list.
+-> This is currently and might never be supported. + +## Recommended server settings + +### RAM + +Referring to the [official documentation](https://tech.palworldgame.com/dedicated-server-guide) you should use at least 8GB of RAM for your server to run.
+ +### Storage + +As of January 19th 2024 the server requires about 5GB of storage capacity. This might extend with further content/updates. + +## Server Ports + +Note: RCON is disabled by default.
+You can enable it inside the cofig (/home/container/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini)
+ +| Port | Default | +| --------------- | ------- | +| Game | 8221 | +| RCON (optional) | 25575 | + +The ports can be changed. Dont forget to edit your config file... \ No newline at end of file From 39832ae4707924ad5eac3d95b3d92dc70b442023 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 19 Jan 2024 15:54:08 +0100 Subject: [PATCH 03/14] adding palworld to all README files --- README.md | 1 + game_eggs/README.md | 1 + game_eggs/steamcmd_servers/README.md | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 62090d57..dcc1e72e 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,7 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Onset](game_eggs/steamcmd_servers/onset) * [Open Fortress](game_eggs/steamcmd_servers/open_fortress) * [Operation Harsh Doorstop](game_eggs/steamcmd_servers/operation_harsh_doorstop) +* [Palworld](game_eggs/steamcmd_servers/palworld) * [Pavlov VR](game_eggs/steamcmd_servers/pavlov_vr) * [PixARK](game_eggs/steamcmd_servers/pixark) * [Portal Knights](game_eggs/steamcmd_servers/portal_knights) diff --git a/game_eggs/README.md b/game_eggs/README.md index 1a4b6b09..44e7afda 100644 --- a/game_eggs/README.md +++ b/game_eggs/README.md @@ -181,6 +181,7 @@ * [Onset](steamcmd_servers/onset) * [Open Fortress](steamcmd_servers/open_fortress) * [Operation Harsh Doorstop](steamcmd_servers/operation_harsh_doorstop) +* [Palworld(steamcmd_servers/palworld) * [Pavlov VR](steamcmd_servers/pavlov_vr) * [PixARK](steamcmd_servers/pixark) * [Portal Knights](steamcmd_servers/portal_knights) diff --git a/game_eggs/steamcmd_servers/README.md b/game_eggs/steamcmd_servers/README.md index fe0c2fb2..051ed15d 100644 --- a/game_eggs/steamcmd_servers/README.md +++ b/game_eggs/steamcmd_servers/README.md @@ -176,6 +176,10 @@ This is a collection of servers that use SteamCMD to install. [Operation Harsh Doorstop](operation_harsh_doorstop) +## Palworld + +[Palworld](palworld) + ## Pavlov VR [Pavlov VR](pavlov_vr) From 39f170fc25fdac41cba04cf3d1912bc8367fc6d1 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 19 Jan 2024 16:05:15 +0100 Subject: [PATCH 04/14] fix typo in README Co-Authored-By: Chris Tunbridge <967304+destreyf@users.noreply.github.com> --- game_eggs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_eggs/README.md b/game_eggs/README.md index 44e7afda..57da5edf 100644 --- a/game_eggs/README.md +++ b/game_eggs/README.md @@ -181,7 +181,7 @@ * [Onset](steamcmd_servers/onset) * [Open Fortress](steamcmd_servers/open_fortress) * [Operation Harsh Doorstop](steamcmd_servers/operation_harsh_doorstop) -* [Palworld(steamcmd_servers/palworld) +* [Palworld](steamcmd_servers/palworld) * [Pavlov VR](steamcmd_servers/pavlov_vr) * [PixARK](steamcmd_servers/pixark) * [Portal Knights](steamcmd_servers/portal_knights) From 640401fa17a9971ae16cffbe4dc0f1d53c3d7ebc Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 19 Jan 2024 19:41:42 +0100 Subject: [PATCH 05/14] fix missing hyphen to pass serveradmin password Co-Authored-By: Andy <16029826+kickbut101@users.noreply.github.com> --- game_eggs/steamcmd_servers/palworld/egg-palworld.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index 97f3c518..22d7a520 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-19T13:50:56+01:00", + "exported_at": "2024-01-19T19:39:44+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -15,7 +15,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", From 6aabb745ab52d888ddfd60abde6471d5bd8c15bb Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sat, 20 Jan 2024 09:43:44 +0100 Subject: [PATCH 06/14] Add: steam feature, logic for backing up config files, right validation for max players, default no admin pass --- .../steamcmd_servers/palworld/egg-palworld.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index 22d7a520..811f008e 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,18 +4,20 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-19T19:39:44+01:00", + "exported_at": "2024-01-20T09:42:33+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", - "features": null, + "features": [ + "steam_disk_space" + ], "docker_images": { "ghcr.io\/parkervcp\/steamcmd:debian": "ghcr.io\/parkervcp\/steamcmd:debian" }, "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" $(if [ -n \"$SRV_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SRV_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", @@ -24,7 +26,7 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## copy template config file\r\necho Copy template config file into config folder!\r\nrm \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\ncp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## copy template config file\r\necho \"Copy template config file into config folder!\"\r\n\r\nif [ -f \"\/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\" ]; then\r\n echo \"Config file already exitis, backing up and overwriting with a new one\"\r\n mv \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings_$(date +\"%Y%m%d%H%M%S\").ini\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nelse \r\n echo \"Creating new config file\"\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nfi\r\n\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", "container": "ghcr.io\/parkervcp\/installers:debian", "entrypoint": "bash" } @@ -57,7 +59,7 @@ "default_value": "32", "user_viewable": true, "user_editable": true, - "rules": "required|int|min:1|max:32", + "rules": "required|numeric|between:1,32", "field_type": "text" }, { @@ -84,10 +86,10 @@ "name": "Admin Password", "description": "If specified, players must provide this password (via the in-game chat or RCON) to gain access to administrator commands on the server.", "env_variable": "ADMIN_PASSWORD", - "default_value": "ChangeMe", + "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "nullable|alpha_dash|between:1,30", + "rules": "required|alpha_dash|between:1,30", "field_type": "text" } ] From e5129aed772f983627656fad58d286cbae526cdc Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sat, 20 Jan 2024 11:19:29 +0100 Subject: [PATCH 07/14] Revert the password logic in the startup --- game_eggs/steamcmd_servers/palworld/egg-palworld.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index 811f008e..f928efda 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-20T09:42:33+01:00", + "exported_at": "2024-01-20T11:18:56+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -17,7 +17,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" $(if [ -n \"$SRV_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SRV_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", From cec5f12d7e1cbc67647eb4d1415d382d40e300c2 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Sat, 20 Jan 2024 11:38:56 +0100 Subject: [PATCH 08/14] Update README.md - corrected default game port - added memory leak as known issue - added some workaround tips / notes for knows issues - updated RAM requirement as they changed their docs --- game_eggs/steamcmd_servers/palworld/README.md | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/README.md b/game_eggs/steamcmd_servers/palworld/README.md index 953bde2e..5392077a 100644 --- a/game_eggs/steamcmd_servers/palworld/README.md +++ b/game_eggs/steamcmd_servers/palworld/README.md @@ -62,19 +62,31 @@ Fight, farm, build and work alongside mysterious creatures called "Pals" in this ## Known Issues / FAQ 1) The server won't show up in the Community-Server tab.
--> As there are so many people creating dedicated servers you might load a few times more servers (Press the load 200 next servers).
--> You might press the button for a while until you are able to find the server with your name! +-> As there are so many people creating dedicated servers you might load a few times more servers (Press the "show next 200 server" button).
+-> You might press the button for a while until you are able to find your server.
+-> Temporary workaround: Start your server without password and join via IP. After that set a password and restart it.
+ Now you should able to find your server in the recent tab. -2) As of now (release day - January 19th 2024) you are not able to join a password protected server by IP. +2) When joining a password protected server by IP i can't enter a password.
+-> As of now (release day - January 19th 2024) you are not able to join a password protected server by IP.
+-> This will be fixed in a upcoming patch/update. 3) The server does not show up in the steam server list.
-> This is currently and might never be supported. +4) The server has a huge memory leak.
+-> Seems to be an issue that they are aware of.
+-> Workaround: Schedule a server restart every 6h. You might edit the value according to your system! + ## Recommended server settings ### RAM -Referring to the [official documentation](https://tech.palworldgame.com/dedicated-server-guide) you should use at least 8GB of RAM for your server to run.
+Referring to the [official documentation](https://tech.palworldgame.com/dedicated-server-guide) you should use at least 16GB of RAM for your server to run smoothly.
+ +### CPU + +Intel / AMD processor with at least 4 cores. ### Storage @@ -87,7 +99,7 @@ You can enable it inside the cofig (/home/container/Pal/Saved/Config/LinuxServer | Port | Default | | --------------- | ------- | -| Game | 8221 | +| Game | 8211 | | RCON (optional) | 25575 | The ports can be changed. Dont forget to edit your config file... \ No newline at end of file From 828dd7243c7d84ef60421803c8ccdfba8c93ac76 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Sat, 20 Jan 2024 14:17:55 +0100 Subject: [PATCH 09/14] fix -publicip / -publicport missing "=" Co-Authored-By: Quinten <67589015+QuintenQVD0@users.noreply.github.com> --- game_eggs/steamcmd_servers/palworld/egg-palworld.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index f928efda..abc3b8a7 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-20T11:18:56+01:00", + "exported_at": "2024-01-20T14:16:27+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -17,7 +17,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip {{SERVER_IP}} -publicport {{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{SERVER_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", From 6ac00dced755b4853f676501d823e89dac9c64f0 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:19:51 +0100 Subject: [PATCH 10/14] Add PUBLIC_IP variable as the allocation can be local ip. --- .../steamcmd_servers/palworld/egg-palworld.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index abc3b8a7..5ab20b5c 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-20T14:16:27+01:00", + "exported_at": "2024-01-21T12:17:19+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -17,7 +17,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{SERVER_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", @@ -91,6 +91,16 @@ "user_editable": true, "rules": "required|alpha_dash|between:1,30", "field_type": "text" + }, + { + "name": "The Public IP", + "description": "Set this to the public ip", + "env_variable": "PUBLIC_IP", + "default_value": "", + "user_viewable": true, + "user_editable": false, + "rules": "required|string|", + "field_type": "text" } ] } \ No newline at end of file From c52e15987de3cf25ef333871a7c0e8e4f2ecb356 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Thu, 25 Jan 2024 14:10:06 +0100 Subject: [PATCH 11/14] Updating README for patch 0.1.3.0 --- game_eggs/steamcmd_servers/palworld/README.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/README.md b/game_eggs/steamcmd_servers/palworld/README.md index 5392077a..af008133 100644 --- a/game_eggs/steamcmd_servers/palworld/README.md +++ b/game_eggs/steamcmd_servers/palworld/README.md @@ -62,27 +62,27 @@ Fight, farm, build and work alongside mysterious creatures called "Pals" in this ## Known Issues / FAQ 1) The server won't show up in the Community-Server tab.
--> As there are so many people creating dedicated servers you might load a few times more servers (Press the "show next 200 server" button).
--> You might press the button for a while until you are able to find your server.
--> Temporary workaround: Start your server without password and join via IP. After that set a password and restart it.
- Now you should able to find your server in the recent tab. +-> This is a known problem and the devs will hopefully fix that asap. Best choice is to connect by IP and Password. -2) When joining a password protected server by IP i can't enter a password.
--> As of now (release day - January 19th 2024) you are not able to join a password protected server by IP.
--> This will be fixed in a upcoming patch/update. +2) The server has a memory leak.
+-> This is also an issue that they are aware of.
+-> The `bEnableInvaderEnemy` option seems to have a huge impact on the current RAM usage. Disabling it might be choice.
+-> Tip: Schedule a server restart every 6h. You might adjust the value according to your system!
3) The server does not show up in the steam server list.
-> This is currently and might never be supported. -4) The server has a huge memory leak.
--> Seems to be an issue that they are aware of.
--> Workaround: Schedule a server restart every 6h. You might edit the value according to your system! +4) The config file gets deleted / reset on server restart.
+-> If your server ports is different than the default port (8211) you need to adjust the port inside the config.
+-> Before editing the config file always make sure to fully stop the server first. Otherwise all changes wont be saved. ## Recommended server settings ### RAM -Referring to the [official documentation](https://tech.palworldgame.com/dedicated-server-guide) you should use at least 16GB of RAM for your server to run smoothly.
+Due to at least one memory leak the server requires about 16-32GB RAM.
+Referring to the [official documentation](https://tech.palworldgame.com/dedicated-server-guide) you can start the server with 8GB but you will run out of memory very quickly.
+The minimum should be 16GB but 32GB are fairly recommended for now.
### CPU From 9eac0bf6f2d2de260c275b53c1862833c3266c2c Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 26 Jan 2024 13:01:24 +0100 Subject: [PATCH 12/14] re-implement @QuintenQVD0 password logic since version 0.1.3.0 you are able to join a password protected server by ip adress. i've tested this feature and it works as intended. Co-Authored-By: Quinten <67589015+QuintenQVD0@users.noreply.github.com> --- .../steamcmd_servers/palworld/egg-palworld.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index 5ab20b5c..ce11a002 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-21T12:17:19+01:00", + "exported_at": "2024-01-26T12:59:39+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -17,7 +17,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -port={{SERVER_PORT}} -publicport={{SERVER_PORT}} -servername=\"{{SRV_NAME}}\" -players={{MAX_PLAYERS}} $(if [ -n \"$SRV_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SERVER_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", @@ -26,7 +26,7 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## copy template config file\r\necho \"Copy template config file into config folder!\"\r\n\r\nif [ -f \"\/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\" ]; then\r\n echo \"Config file already exitis, backing up and overwriting with a new one\"\r\n mv \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings_$(date +\"%Y%m%d%H%M%S\").ini\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nelse \r\n echo \"Creating new config file\"\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nfi\r\n\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## copy template config file\r\necho \"Copy template config file into config folder!\"\r\n\r\nif [ -f \"\/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\" ]; then\r\n echo \"Config file already exitis, backing up and overwriting with a new one\"\r\n mv \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings_$(date +\"%Y%m%d%H%M%S\").ini\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nelse \r\n echo \"Creating new config file\"\r\n cp \/mnt\/server\/DefaultPalWorldSettings.ini \/mnt\/server\/Pal\/Saved\/Config\/LinuxServer\/PalWorldSettings.ini\r\nfi\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", "container": "ghcr.io\/parkervcp\/installers:debian", "entrypoint": "bash" } @@ -93,13 +93,13 @@ "field_type": "text" }, { - "name": "The Public IP", - "description": "Set this to the public ip", + "name": "Public IP", + "description": "Set this to the servers public ip address.", "env_variable": "PUBLIC_IP", "default_value": "", "user_viewable": true, "user_editable": false, - "rules": "required|string|", + "rules": "required|string", "field_type": "text" } ] From fe5adb90c323be37c6f5a7d9174cc9e13d35b4f2 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Fri, 26 Jan 2024 13:12:52 +0100 Subject: [PATCH 13/14] fix oopsi in variable naming --- game_eggs/steamcmd_servers/palworld/egg-palworld.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index ce11a002..72d1fe89 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-26T12:59:39+01:00", + "exported_at": "2024-01-26T13:12:06+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -17,7 +17,7 @@ "file_denylist": [ "PalServer.sh" ], - "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -port={{SERVER_PORT}} -publicport={{SERVER_PORT}} -servername=\"{{SRV_NAME}}\" -players={{MAX_PLAYERS}} $(if [ -n \"$SRV_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SERVER_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -port={{SERVER_PORT}} -publicport={{SERVER_PORT}} -servername=\"{{SERVER_NAME}}\" -players={{MAX_PLAYERS}} $(if [ -n \"$SERVER_PASSWORD\" ]; then echo \"-serverpassword=\\\"${SERVER_PASSWORD}\\\"\"; fi) -adminpassword=\"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}", @@ -65,7 +65,7 @@ { "name": "Server Name", "description": "", - "env_variable": "SRV_NAME", + "env_variable": "SERVER_NAME", "default_value": "A Pterodactyl hosted Palword Server", "user_viewable": true, "user_editable": true, @@ -75,7 +75,7 @@ { "name": "Server Password", "description": "If specified, players must provide this password to join the server.", - "env_variable": "SRV_PASSWORD", + "env_variable": "SERVER_PASSWORD", "default_value": "", "user_viewable": true, "user_editable": true, From 258ea388390bd88b1b6c7b9a59d1a089e94d9f88 Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Sat, 27 Jan 2024 23:38:43 +0100 Subject: [PATCH 14/14] correct typo in servername default value Co-Authored-By: Nico Bleiler --- game_eggs/steamcmd_servers/palworld/egg-palworld.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_eggs/steamcmd_servers/palworld/egg-palworld.json b/game_eggs/steamcmd_servers/palworld/egg-palworld.json index 72d1fe89..b89d9977 100644 --- a/game_eggs/steamcmd_servers/palworld/egg-palworld.json +++ b/game_eggs/steamcmd_servers/palworld/egg-palworld.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-01-26T13:12:06+01:00", + "exported_at": "2024-01-27T23:37:16+01:00", "name": "Palworld", "author": "admin@ballaual.de", "description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!", @@ -66,7 +66,7 @@ "name": "Server Name", "description": "", "env_variable": "SERVER_NAME", - "default_value": "A Pterodactyl hosted Palword Server", + "default_value": "A Pterodactyl hosted Palworld Server", "user_viewable": true, "user_editable": true, "rules": "required|string|max:64",