games-standalone/leaguesandbox/egg-pterodactyl-league-sandbox.json

31 lines
1.3 KiB
JSON
Raw Normal View History

2024-06-02 20:44:28 +02:00
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": null,
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T00:17:21+00:00",
"name": "LeagueSandbox",
"author": "domi@imagine.team",
"description": "A simple egg to run LeagueSandbox server in pterodactyl",
"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": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"Game is ready.\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"container": "bitnami/dotnet-sdk:6-debian-11",
"entrypoint": "bash",
"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\""
}
},
"variables": []
}