From 81c4de18ab14d8438cf3d649d851e713de94978e Mon Sep 17 00:00:00 2001 From: Panda260 Date: Fri, 27 Jan 2023 12:15:45 +0100 Subject: [PATCH 1/3] add: server startup password as variable --- .../teamspeak_ARM64/egg-teamspeak3-arm64-server.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json index 975baecb..1f6cf47e 100644 --- a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json +++ b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json @@ -13,7 +13,7 @@ "ghcr.io\/parkervcp\/yolks:box64": "ghcr.io\/parkervcp\/yolks:box64" }, "file_denylist": [], - "startup": "box64 .\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} license_accepted=1", + "startup": "box64 .\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} serveradmin_password={{SERVERADMIN_PASSWORD}} license_accepted=1", "config": { "files": "{}", "startup": "{\r\n \"done\": \"listening on 0.0.0.0:\"\r\n}", @@ -28,6 +28,16 @@ } }, "variables": [ + { + "name": "Server Query Admin Password", + "description": "The password for the server query admin user.", + "env_variable": "SERVERADMIN_PASSWORD", + "default_value": "changeme", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:32", + "field_type": "text" + }, { "name": "Server Version", "description": "The version of Teamspeak 3 to use when running the server.", From 1eb8b8929d3d5835b1939bee47601936b68d7a61 Mon Sep 17 00:00:00 2001 From: Panda260 Date: Fri, 27 Jan 2023 21:45:22 +0100 Subject: [PATCH 2/3] changed the password rule from required to nullable --- voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json index 1f6cf47e..8d74bb7a 100644 --- a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json +++ b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json @@ -35,7 +35,7 @@ "default_value": "changeme", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:32", + "rules": "nullable|string|max:32", "field_type": "text" }, { From 5b462c28f8ebaf174d7a66370f31a3c8e4d3f9c2 Mon Sep 17 00:00:00 2001 From: Panda260 Date: Fri, 27 Jan 2023 22:12:50 +0100 Subject: [PATCH 3/3] remove default value --- voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json index 8d74bb7a..3cb31542 100644 --- a/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json +++ b/voice_servers/teamspeak_ARM64/egg-teamspeak3-arm64-server.json @@ -32,7 +32,7 @@ "name": "Server Query Admin Password", "description": "The password for the server query admin user.", "env_variable": "SERVERADMIN_PASSWORD", - "default_value": "changeme", + "default_value": "", "user_viewable": true, "user_editable": true, "rules": "nullable|string|max:32",