forked from pelican-eggs/games-standalone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathegg-pterodactyl-league-sandbox.json
31 lines (31 loc) · 1.29 KB
/
egg-pterodactyl-league-sandbox.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"_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": "[email protected]",
"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": []
}