{"meta":{"slug":"pterodactyl-egg-plains-of-pain","name":"Pterodactyl Egg Plains Of Pain","category":"plains_of_pain","source":"pelican","owner":"pelican-eggs","repo":"games-steamcmd","branch":"main","path":"plains_of_pain/pterodactyl-egg-plains-of-pain.json","rawUrl":"https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/main/plains_of_pain/pterodactyl-egg-plains-of-pain.json","indexedAt":1792246788483},"egg":{"_comment":"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO","meta":{"version":"PTDL_v2","update_url":null},"exported_at":"2025-11-15T12:26:36+00:00","name":"Plains of Pain","author":"quinten@pelican.dev","description":"Survive a brutal open world alone or with friends. Explore a procedural wasteland scorched by chaos. Build and defend your base, trade for what you need, complete deadly quests, and fight to claim faction outposts before someone else does. ","features":null,"docker_images":{"SteamCMD Debian":"ghcr.io/parkervcp/steamcmd:debian","SteamCMD Ubuntu":"ghcr.io/parkervcp/steamcmd:ubuntu"},"file_denylist":[],"startup":"./PlainsOfPain.x86_64  -nographics -batchmode -ignorecompilererror -servername \"{{SERVER_NAME}}\" -maxPlayers {{MAX_PLAYERS}} -port {{SERVER_PORT}} -queryPort {{QUERY_PORT}} -difficulty {{DIFFICULTY}} -worldSize {{WORLD_SIZE}} -cc -password {{SERVER_PASSWORD}}","config":{"files":"{}","startup":"{\n    \"done\": \"Set Game State: RUNNING\"\n}","logs":"{}","stop":"^C"},"scripts":{"installation":{"script":"#!/bin/bash\n# steamcmd Base Installation Script\n#\n# Server Files: /mnt/server\n# Image to install with is 'ghcr.io/parkervcp/installers:debian'\n\n\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\n#apt -y update\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\n\n## just in case someone removed the defaults.\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\n    echo -e \"steam user is not set.\\n\"\n    echo -e \"Using anonymous user.\\n\"\n    STEAM_USER=anonymous\n    STEAM_PASS=\"\"\n    STEAM_AUTH=\"\"\nelse\n    echo -e \"user set to ${STEAM_USER}\"\nfi\n\n## download and install steamcmd\ncd /tmp\nmkdir -p /mnt/server/steamcmd\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\ncd /mnt/server/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root /mnt\nexport HOME=/mnt/server\n\n## install game using steamcmd\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\n\n## set up 32 bit libraries\nmkdir -p /mnt/server/.steam/sdk32\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\n\n## set up 64 bit libraries\nmkdir -p /mnt/server/.steam/sdk64\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\n\n## add below your custom commands if needed\n\n## install end\necho \"-----------------------------------------\"\necho \"Installation completed...\"\necho \"-----------------------------------------\"","container":"ghcr.io/pelican-eggs/installers:debian","entrypoint":"bash"}},"variables":[{"name":"Auto Update","description":"Auto update the server on startup","env_variable":"AUTO_UPDATE","default_value":"1","user_viewable":true,"user_editable":true,"rules":"boolean","field_type":"text"},{"name":"Difficulty","description":"0 = Tourist\n1 = Rookies\n2 = True Wastelander\n3 = Veteran\n4 = Overlord","env_variable":"DIFFICULTY","default_value":"1","user_viewable":true,"user_editable":true,"rules":"required|in:0,1,2,3,4","field_type":"text"},{"name":"Max Players","description":"The max amount of players that can join at once","env_variable":"MAX_PLAYERS","default_value":"10","user_viewable":true,"user_editable":true,"rules":"numeric|between:1,200","field_type":"text"},{"name":"Query Port","description":"","env_variable":"QUERY_PORT","default_value":"27016","user_viewable":false,"user_editable":false,"rules":"required|numeric|between:1024,65535","field_type":"text"},{"name":"Server Name","description":"This name will appear in the server list in the game","env_variable":"SERVER_NAME","default_value":"My Server","user_viewable":true,"user_editable":true,"rules":"required|string","field_type":"text"},{"name":"Server Password","description":"If presents, protects server with password","env_variable":"SERVER_PASSWORD","default_value":"","user_viewable":true,"user_editable":true,"rules":"nullable|alpha_dash","field_type":"text"},{"name":"App ID","description":"","env_variable":"SRCDS_APPID","default_value":"2227360","user_viewable":false,"user_editable":false,"rules":"required|in:2227360","field_type":"text"},{"name":"Beta ID","description":"Beta branch of a steam app. Leave blank to install normal branch","env_variable":"SRCDS_BETAID","default_value":"","user_viewable":false,"user_editable":false,"rules":"nullable","field_type":"text"},{"name":"World Size","description":"11 = S\n21 = M\n31 = L\n41 = XL\n51 = XXL","env_variable":"WORLD_SIZE","default_value":"21","user_viewable":true,"user_editable":true,"rules":"required|in:11,21,31,41,51","field_type":"text"}]},"readme":"# Plains Of Pain\r\n\r\nSurvive a brutal open world alone or with friends. Explore a procedural wasteland scorched by chaos. Build and defend your base, trade for what you need, complete deadly quests, and fight to claim faction outposts before someone else does. \r\n\r\n## Server Ports\r\n\r\nPlains of Pain requires 2 ports\r\n\r\n| Port  | default |\r\n|-------|---------|\r\n| Game  | 7777    |\r\n| Query | 27016   |\r\n\r\n# Resources\r\n\r\n- 4 GB RAM and 2 CPUs for 10 players\r\n- 8 GB RAM and 4-6 CPUs for 50 players\r\n- 16 GB RAM, 8-12 CPUs for 100 players\r\n- 32 GB RAM, 16 CPUs for 200 players\r\n\r\n"}