Merge pull request #1932 from parkervcp/LeagueSandbox

Update LeagueSandbox
This commit is contained in:
Michael (Parker) Parker 2022-11-09 09:24:01 -05:00 committed by GitHub
commit 2af1b452cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 18 deletions

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-10-26T17:21:51+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\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": []
}

View File

@ -1,6 +1,6 @@
# League Sandbox
## From their [Github](https://github.com/LeagueSandbox/leaguesandbox.github.io)
## From their [Github](https://github.com/LeagueSandbox/GameServer)
[![Build status](https://ci.appveyor.com/api/projects/status/7olahkndcs3r295p/branch/indev?svg=true)](https://ci.appveyor.com/project/MythicManiac/gameserver/branch/indev)
[![Build Status](https://travis-ci.org/LeagueSandbox/GameServer.svg?branch=indev)](https://travis-ci.org/LeagueSandbox/GameServer)