eggs/voice_servers/ts3_manager/egg-t-s3-manager.json

62 lines
3.1 KiB
JSON
Raw Normal View History

2020-12-05 15:52:54 +08:00
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
2023-10-07 14:41:49 +08:00
"version": "PTDL_v2",
"update_url": null
2020-12-05 15:52:54 +08:00
},
2023-10-07 14:41:49 +08:00
"exported_at": "2023-10-07T08:41:21+02:00",
2020-12-05 15:52:54 +08:00
"name": "TS3 Manager",
2023-10-07 14:43:34 +08:00
"author": "eggs@goover.dev",
2020-12-05 15:52:54 +08:00
"description": "The Open Source Webinterface For TeamSpeak Servers",
"features": null,
2023-10-07 14:41:49 +08:00
"docker_images": {
"ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
},
"file_denylist": [],
2020-12-05 15:52:54 +08:00
"startup": ".\/start_ts3-manager -p ${SERVER_PORT}",
"config": {
"files": "{}",
2023-10-07 14:41:49 +08:00
"startup": "{\r\n \"done\": \"Server listening on\"\r\n}",
2020-12-05 15:52:54 +08:00
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
2023-10-07 14:41:49 +08:00
"script": "#!\/bin\/bash\r\n# Valheim Installation Script\r\n\r\n## install needed packages\r\napt update\r\napt install -y git unzip jq wget tar curl\r\n\r\n## env\r\nexport HOME=\/mnt\/server\r\ncd $HOME\r\n\r\n## get release info and download links\r\nLATEST_RELEASE=$(curl -L -s -H 'Accept: application\/json' https:\/\/github.com\/${GITHUB_PACKAGE}\/releases\/latest)\r\nLATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's\/.*\"tag_name\":\"\\([^\"]*\\)\".*\/\\1\/')\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_LINK=\"https:\/\/github.com\/${GITHUB_PACKAGE}\/releases\/download\/$LATEST_VERSION\/$MATCH-$LATEST_VERSION\"\r\nelse \r\n DOWNLOAD_LINK=\"https:\/\/github.com\/${GITHUB_PACKAGE}\/releases\/download\/v$VERSION\/$MATCH-$VERSION-v$VERSION\"\r\nfi\r\n\r\necho $DOWNLOAD_LINK\r\nwget $DOWNLOAD_LINK\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n mv -f $MATCH-$LATEST_VERSION $HOME\/start_ts3-manager\r\n chmod +x start_ts3-manager\r\nelse\r\n mv -f $MATCH-v$VERSION $HOME\/start_ts3-manager\r\n chmod start_ts3-manager\r\nfi\r\n\r\necho \"-------------------------------------------------------\"\r\necho \"Installation completed\"\r\necho \"-------------------------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
2020-12-05 15:52:54 +08:00
"entrypoint": "bash"
}
},
"variables": [
{
"name": "GITHUB_PACKAGE",
"description": "",
"env_variable": "GITHUB_PACKAGE",
"default_value": "joni1802\/ts3-manager",
"user_viewable": false,
"user_editable": false,
2023-10-07 14:41:49 +08:00
"rules": "required|string|max:50",
"field_type": "text"
2020-12-05 15:52:54 +08:00
},
{
"name": "VERSION",
"description": "",
"env_variable": "VERSION",
"default_value": "latest",
2020-12-05 15:58:49 +08:00
"user_viewable": true,
"user_editable": true,
2023-10-07 14:41:49 +08:00
"rules": "required|string|max:30",
"field_type": "text"
2020-12-05 15:52:54 +08:00
},
{
"name": "MATCH",
"description": "",
"env_variable": "MATCH",
"default_value": "ts3-manager-linux-x64",
"user_viewable": false,
"user_editable": false,
2023-10-07 14:41:49 +08:00
"rules": "required|string|max:50",
"field_type": "text"
2020-12-05 15:52:54 +08:00
}
]
}