Update LeagueSandbox_Egg.json

This commit is contained in:
Quinten 2022-10-26 17:04:21 +02:00 committed by GitHub
parent 22f32384a7
commit 86ec63512a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,19 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2020-11-10T17:07:44-05:00",
"exported_at": "2022-07-20T18:39:16+02:00",
"name": "LeagueSandbox",
"author": "domi@imagine.team",
"description": "A simple egg to run LeagueSandbox server in pterodactyl",
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_dotnet",
"startup": ".\/GameServerConsole",
"features": null,
"docker_images": {
"ghcr.io\/parkervcp\/yolks:dotnet_6": "ghcr.io\/parkervcp\/yolks:dotnet_6"
},
"file_denylist": [],
"startup": ".\/GameServerConsole --port {{SERVER_PORT}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Game is ready.\"\r\n}",
@ -17,20 +22,10 @@
},
"scripts": {
"installation": {
"script": "apk update && apk add git\r\ngit clone $GIT_URL\r\nrm .git -rf\r\ncd GameServer\r\ngit submodule init\r\ngit submodule update\r\ndotnet build .\r\ncp -r GameServerConsole\/bin\/Debug\/netcoreapp3.0\/* \/mnt\/server\/\r\ncp -r Content \/mnt\/server\/Content",
"container": "mcr.microsoft.com\/dotnet\/sdk:5.0",
"script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y zip unzip jq curl wget git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\ngit clone https:\/\/github.com\/LeagueSandbox\/GameServer.git\r\nrm .git -rf\r\n\r\ncd GameServer\/\r\n\r\ngit submodule init\r\ngit submodule update\r\n\r\n#wget https:\/\/packages.microsoft.com\/config\/debian\/11\/packages-microsoft-prod.deb -O packages-microsoft-prod.deb\r\n#dpkg -i packages-microsoft-prod.deb\r\n#rm packages-microsoft-prod.deb\r\n#apt-get update\r\n#apt-get install -y apt-transport-https\r\n#apt-get update\r\n#apt-get install -y dotnet-sdk-5.0\r\n\r\ndotnet build .\r\ncp -r GameServerConsole\/bin\/Debug\/net6.0\/* \/mnt\/server\/\r\ncp -r Content \/mnt\/server\/Content\r\necho \"done\"",
"container": "bitnami\/dotnet-sdk:6-debian-11",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Git Url",
"description": "This is where the install script will clone the server files from",
"env_variable": "GIT_URL",
"default_value": "https:\/\/github.com\/LeagueSandbox\/GameServer",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:90|url"
}
]
"variables": []
}