2020-12-17 03:12:42 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1"
|
|
|
|
},
|
|
|
|
"exported_at": "2020-12-16T20:11:55+01:00",
|
|
|
|
"name": "Crewlink server",
|
|
|
|
"author": "panel@oxtroit.com",
|
2020-12-31 05:53:27 +08:00
|
|
|
"description": "An egg designed to allow support for Proximity Chat in Among Us using CrewLink Server",
|
2020-12-17 03:12:42 +08:00
|
|
|
"features": null,
|
|
|
|
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
|
|
|
|
"startup": "yarn start",
|
|
|
|
"config": {
|
|
|
|
"files": "{}",
|
|
|
|
"startup": "{\r\n \"done\": \"<info> CrewLink Server started\"\r\n}",
|
|
|
|
"logs": "{}",
|
|
|
|
"stop": "^c"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
|
|
|
"script": "#!\/bin\/bash\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nINSTALL_REPO=\"https:\/\/github.com\/ottomated\/crewlink-server.git\"\r\necho -e Install repo set to ${INSTALL_REPO}\r\necho -e \"\/mnt\/server is empty.\\ncloning files from repo\"\r\necho -e \"running 'git clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .'\"\r\ngit clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .\r\n\r\nif [ -f \/mnt\/server\/package.json ]; then\r\n \/usr\/local\/bin\/yarn install\r\nfi\r\n\r\necho -e \"install complete\"\r\nexit 0",
|
|
|
|
"container": "node:12-buster-slim",
|
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "Github branch",
|
|
|
|
"description": "Set this to 'devel' if you wanna run a develop server.",
|
|
|
|
"env_variable": "BRANCH",
|
|
|
|
"default_value": "master",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string|max:20"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Domain",
|
|
|
|
"description": "Domain of your server or ip of your server",
|
|
|
|
"env_variable": "ADDRESS",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "nullable|string|max:50"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server name",
|
|
|
|
"description": "Specifiy the name of your Crewlink server",
|
|
|
|
"env_variable": "NAME",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2021-03-27 06:07:58 +08:00
|
|
|
"rules": "required|string|max:75"
|
2020-12-17 03:12:42 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Use HTTPS",
|
|
|
|
"description": "Enables https. You must place privkey.pem and fullchain.pem in your CWD.",
|
|
|
|
"env_variable": "HTTPS",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "nullable|string|max:20"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Path to SSL",
|
|
|
|
"description": "Alternate path to SSL certificates.",
|
|
|
|
"env_variable": "SSLPATH",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "nullable|string|max:250"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Port",
|
|
|
|
"description": "Choose the port your server should run on",
|
|
|
|
"env_variable": "PORT",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string|max:20"
|
|
|
|
}
|
|
|
|
]
|
2020-12-31 05:49:51 +08:00
|
|
|
}
|