mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-23 21:22:54 +08:00
aa13403503
Other eggs might benefit from this as well, but for now will stick with MC that are known to spawn a lot of processes when modded.
34 lines
1.8 KiB
JSON
34 lines
1.8 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v1",
|
|
"update_url": null
|
|
},
|
|
"exported_at": "2021-11-25T23:59:39+00:00",
|
|
"name": "TyphoonLimbo",
|
|
"author": "parker@parkervcp.com",
|
|
"description": "Lightweight minecraft limbo server",
|
|
"features": [
|
|
"pid_limit"
|
|
],
|
|
"images": [
|
|
"ghcr.io\/parkervcp\/yolks:debian"
|
|
],
|
|
"file_denylist": [],
|
|
"startup": "`sleep 2 && .\/TyphoonLimbo`",
|
|
"config": {
|
|
"files": "{\r\n \"config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"listen_address\": \":{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
|
"startup": "{\r\n \"done\": \"launched on port\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^C"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n# TyphoonLimbo Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\nexport GOPATH=$HOME\/go\r\nexport PATH=$GOROOT\/bin:$GOPATH\/bin:$PATH\r\n\r\napt update\r\napt install -y git curl\r\n\r\ncd \/tmp\/\r\n\r\necho \"pulling the TyphoonLimbo pterodactyl branch\"\r\n\r\ngit clone https:\/\/github.com\/TyphoonMC\/TyphoonLimbo.git\r\ncd TyphoonLimbo\r\n\r\ngo get github.com\/TyphoonMC\/TyphoonCore\r\n\r\necho -e \"building TyphoonLimbo\"\r\ngo build\r\n\r\nmv TyphoonLimbo \/mnt\/server\/\r\n\r\nif [ -f \/mnt\/server\/config.json ]; then\r\n\techo -e \"config exists nothing to do\"\r\nelse\r\n\techo -e \"copying default config over\"\r\n\tcp config.json \/mnt\/server\/\r\nfi\r\n\r\necho -e \"install complete\"",
|
|
"container": "golang:1.14-buster",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": []
|
|
}
|