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", "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": { "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", "name": "LeagueSandbox",
"author": "domi@imagine.team", "author": "domi@imagine.team",
"description": "A simple egg to run LeagueSandbox server in pterodactyl", "description": "A simple egg to run LeagueSandbox server in pterodactyl",
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_dotnet", "features": null,
"startup": ".\/GameServerConsole", "docker_images": {
"ghcr.io\/parkervcp\/yolks:dotnet_6": "ghcr.io\/parkervcp\/yolks:dotnet_6"
},
"file_denylist": [],
"startup": ".\/GameServerConsole --port {{SERVER_PORT}}",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"Game is ready.\"\r\n}", "startup": "{\r\n \"done\": \"Game is ready.\"\r\n}",
@ -17,20 +22,10 @@
}, },
"scripts": { "scripts": {
"installation": { "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", "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": "mcr.microsoft.com\/dotnet\/sdk:5.0", "container": "bitnami\/dotnet-sdk:6-debian-11",
"entrypoint": "bash" "entrypoint": "bash"
} }
}, },
"variables": [ "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"
}
]
} }

View File

@ -1,6 +1,6 @@
# League Sandbox # 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://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) [![Build Status](https://travis-ci.org/LeagueSandbox/GameServer.svg?branch=indev)](https://travis-ci.org/LeagueSandbox/GameServer)