From b5668289f5031c533a1230816aad0a7bf103e880 Mon Sep 17 00:00:00 2001 From: Dominika Jadowska Date: Sun, 6 Dec 2020 21:47:57 +0100 Subject: [PATCH] Add League Sandbox Egg --- README.md | 2 ++ leaguesandbox/LeagueSandbox_Egg.json | 36 ++++++++++++++++++++++++++++ leaguesandbox/README.md | 19 +++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 leaguesandbox/LeagueSandbox_Egg.json create mode 100644 leaguesandbox/README.md diff --git a/README.md b/README.md index f8f094a5..2d92c5a8 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,8 @@ If you are reading this it looks like you are looking to add an egg to your serv [Mindustry](/mindustry) +[LeagueSandbox](/leaguesandbox) + [Minetest](/minetest) (including MTG) [Minecraft](/minecraft) diff --git a/leaguesandbox/LeagueSandbox_Egg.json b/leaguesandbox/LeagueSandbox_Egg.json new file mode 100644 index 00000000..73ce9a95 --- /dev/null +++ b/leaguesandbox/LeagueSandbox_Egg.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-11-10T17:07:44-05: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", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Game is ready.\"\r\n}", + "logs": "{}", + "stop": "^C" + }, + "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", + "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" + } + ] +} \ No newline at end of file diff --git a/leaguesandbox/README.md b/leaguesandbox/README.md new file mode 100644 index 00000000..e5022466 --- /dev/null +++ b/leaguesandbox/README.md @@ -0,0 +1,19 @@ +# League Sandbox +### From their [Github](https://github.com/parkervcp/eggs) +[![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) + +Project website along with more specifications can be found from: https://leaguesandbox.github.io/ +Project chat on Discord: https://discord.gg/Bz3znAM + +### Install notes +Post install you are required to set +- `/home/container/Settings/GameInfo.json` `CONTENT_PATH` to just `Content` +- `/home/container/Settings/GameServerSettings.json` `autoStartClient` to `false` + +### Server Ports +Ports required to run the server in a table format. + +| Port | default | +| ---- | ------- | +| Game | 5119 | \ No newline at end of file