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

Updated pavlov egg #4

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
26 changes: 20 additions & 6 deletions pavlov_vr/egg-pavlov-v-r.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2020-06-07T23:55:45-07:00",
"exported_at": "2022-01-09T09:55:08-06:00",
"name": "Pavlov VR",
"author": "iamkubi@gmail.com",
"description": "Pavlov is a multiplayer shooter in VR",
"image": "quay.io\/pterodactyl\/core:source",
"features": null,
"images": [
"ghcr.io\/smooklu\/games:source"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's better about it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current core:source image is missing the dependency libc++-dev so I created my own image with that dependency. I also added a extra variable so anyone can install Pavlov Beta, Shack or Shack RC versions.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without that dependency, Pavlov Dedicated Server refuses to run. /home /container/Pavlov/Binaries/Linux/PavlovServer: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory

],
"file_denylist": [],
"startup": ".\/PavlovServer.sh -PORT={{SERVER_PORT}}",
"config": {
"files": "{}",
Expand All @@ -17,7 +22,7 @@
},
"scripts": {
"installation": {
"script": "apt update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update ${APP_ID} +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so",
"script": "apt update\r\napt install -y gdb curl lib32gcc1 libc++-dev unzip\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update ${APP_ID} ${BETA_VERSION} +quit\r\n.\/steamcmd.sh +login anonymous +app_update 1007 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp \/mnt\/server\/steam\/steamapps\/common\/Steamworks\\ SDK\\ Redist\/linux64\/steamclient.so \/mnt\/server\/.steam\/sdk64\/steamclient.so\r\ncp \/mnt\/server\/steam\/steamapps\/common\/Steamworks\\ SDK\\ Redist\/linux64\/steamclient.so \/mnt\/server\/Pavlov\/Binaries\/Linux\/steamclient.so\r\nchmod +x \/mnt\/server\/PavlovServer.sh\r\nmkdir -p \/mnt\/server\/Pavlov\/Saved\/Logs\r\nmkdir -p \/mnt\/server\/Pavlov\/Saved\/Config\/LinuxServer\r\nmkdir -p \/mnt\/server\/Pavlov\/Saved\/maps\r\ntouch \/mnt\/server\/Pavlov\/Saved\/Config\/mods.txt\r\ntouch \/mnt\/server\/Pavlov\/Saved\/Config\/blacklist.txt\r\ntouch \/mnt\/server\/Pavlov\/Saved\/Config\/whitelist.txt",
"container": "debian:buster-slim",
"entrypoint": "bash"
}
Expand All @@ -28,8 +33,17 @@
"description": "Steam App ID",
"env_variable": "APP_ID",
"default_value": "622970",
"user_viewable": 0,
"user_editable": 0,
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20"
},
{
"name": "Beta Version",
"description": "If you wish to install a beta version such as Shack, Shack RC, or Beta.",
"env_variable": "BETA_VERSION",
"default_value": "",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20"
}
]
Expand Down