pufferpanel / templates

PufferPanel server templates. These templates are importable via the PufferPanel web interface.
Apache License 2.0
80 stars 137 forks source link

Teamspeak3 server template not up2date #104

Open MauriceNorden opened 2 years ago

MauriceNorden commented 2 years ago

Hello there,

Recently i tried to install a teamspeak server via pufferpanel Sadly teamspeak made some changed to the way they want you to accept licences. So i made a couple of changes to the old template:

{ "name": "teamspeak3", "display": "Teamspeak 3", "type": "voice", "install": [ { "files": [ "https://files.teamspeak-services.com/releases/server/${version}/teamspeak3-server_linux_amd64-${version}.tar.bz2" ], "type": "download" }, { "commands": [ "tar -xvjf teamspeak3-server_linux_amd64-${version}.tar.bz2" ], "type": "command" }, { "target": "teamspeak3-server_linux_amd64/.ts3server_license_accepted", "type": "mkdir" } ], "run": { "stopCode": 2, "command": "./teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh default_voice_port=${vport} query_port=${qport} filetransfer_port=${ftport} voice_ip=${ip} license_accepted=${eula}", "pre": [], "post": [], "environmentVars": {} }, "data": { "eula": { "type": "option", "desc": "Do you accept the Teamspeak EULA? 1 = Yes, 0 = No.", "display": "EULA", "required": true, "value": "0", "options": [ { "value": "0", "display": "No" }, { "value": "1", "display": "Yes" } ] }, "ftport": { "type": "integer", "desc": "What Port do you want your file transfer server to run on?", "display": "Port Number", "value": "30033" }, "ip": { "type": "string", "desc": "What IP do you want your voice server to run on?", "display": "IP Address", "value": "0.0.0.0" }, "qport": { "type": "string", "desc": "What Port do you want your query server to run on?", "display": "Port Number", "value": "10011" }, "version": { "type": "string", "desc": "What version of Teamspeak do you want to use?", "display": "Version", "required": true, "value": "3.13.6" }, "vport": { "type": "integer", "desc": "What Port do you want your voice server to run on?", "display": "Port Number", "value": "9987" } }, "environment": { "type": "tty" }, "supportedEnvironments": [ { "type": "tty" } ] }

If you have any questions about the changes or need a little more detail about the teamspeak changes, please let me know

-Maurice

nepcore commented 2 years ago

Instead of posting the json blob in an issue, please open a pull request for your changes
That way it's not only a lot easier to see what changed, it's also easier to discuss specific changes if needed and to apply them

MauriceNorden commented 2 years ago

ahhh okay, will do