Skip to content

Commit 09f2d53

Browse files
arcdigitalparkervcp
andcommitted
update teamspeak egg (closes pterodactyl#1628)
Co-authored-by: Michael (Parker) Parker <parkervcp@gmail.com>
1 parent a150790 commit 09f2d53

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

database/seeds/eggs/voice-servers/egg-teamspeak3-server.json

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"meta": {
44
"version": "PTDL_v1"
55
},
6-
"exported_at": "2019-05-01T16:35:15+00:00",
6+
"exported_at": "2019-07-05T11:59:29-04:00",
77
"name": "Teamspeak3 Server",
88
"author": "support@pterodactyl.io",
99
"description": "VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.",
10-
"image": "quay.io\/pterodactyl\/core:glibc",
11-
"startup": ".\/ts3server_minimal_runscript.sh default_voice_port={{SERVER_PORT}} query_port={{SERVER_PORT}} license_accepted=1",
10+
"image": "quay.io/parkervcp/pterodactyl-images:base_debian",
11+
"startup": "./ts3server default_voice_port={{SERVER_PORT}} query_port={{SERVER_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} license_accepted=1",
1212
"config": {
1313
"files": "{}",
14-
"startup": "{\"done\": \"listening on 0.0.0.0:\", \"userInteraction\": []}",
15-
"logs": "{\"custom\": true, \"location\": \"logs\/ts3.log\"}",
14+
"startup": "{\r\n \"done\": \"listening on 0.0.0.0:\",\r\n \"userInteraction\": []\r\n}",
15+
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs/ts3.log\"\r\n}",
1616
"stop": "^C"
1717
},
1818
"scripts": {
1919
"installation": {
20-
"script": "#!\/bin\/ash\n# TS3 Installation Script\n#\n# Server Files: \/mnt\/server\napk update\napk add tar curl\n\ncd \/mnt\/server\n\ncurl http:\/\/dl.4players.de\/ts\/releases\/${TS_VERSION}\/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2 | tar xj --strip-components=1",
20+
"script": "#!/bin/ash\r\n# TS3 Installation Script\r\n#\r\n# Server Files: /mnt/server\r\napk add --no-cache tar curl jq\r\n\r\nif [ -z ${TS_VERSION} ] || [ ${TS_VERSION} == latest ]; then\r\n TS_VERSION=$(wget https://teamspeak.com/versions/server.json -qO - | jq -r '.linux.x86_64.version')\r\nfi\r\n\r\ncd /mnt/server\r\n\r\n\r\necho -e \"getting files from http://files.teamspeak-services.com/releases/server/${TS_VERSION}/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2\"\r\ncurl http://files.teamspeak-services.com/releases/server/${TS_VERSION}/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2 | tar xj --strip-components=1",
2121
"container": "alpine:3.9",
2222
"entrypoint": "ash"
2323
}
@@ -27,10 +27,19 @@
2727
"name": "Server Version",
2828
"description": "The version of Teamspeak 3 to use when running the server.",
2929
"env_variable": "TS_VERSION",
30-
"default_value": "3.7.1",
30+
"default_value": "latest",
3131
"user_viewable": 1,
3232
"user_editable": 1,
33-
"rules": "required|regex:\/^([0-9_\\.-]{5,10})$\/"
33+
"rules": "required|string|max:6"
34+
},
35+
{
36+
"name": "File Transfer Port",
37+
"description": "The Teamspeak file transfer port",
38+
"env_variable": "FILE_TRANSFER",
39+
"default_value": "30033",
40+
"user_viewable": 1,
41+
"user_editable": 0,
42+
"rules": "required|integer|between:1,65535"
3443
}
3544
]
36-
}
45+
}

0 commit comments

Comments
 (0)