Skip to content

Commit 64c7897

Browse files
committed
Merge branch '1.0-develop' into develop
2 parents 6f37f94 + 8ae76c3 commit 64c7897

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

app/Services/Allocations/AssignmentService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class AssignmentService
1616
{
17-
public const CIDR_MAX_BITS = 27;
17+
public const CIDR_MAX_BITS = 25;
1818
public const CIDR_MIN_BITS = 32;
1919
public const PORT_FLOOR = 1024;
2020
public const PORT_CEIL = 65535;

app/Services/Eggs/EggConfigurationService.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ protected function convertStopToNewFormat(string $stop): array
6464
}
6565

6666
$signal = substr($stop, 1);
67-
if (strtoupper($signal) === 'C') {
68-
return [
69-
'type' => 'stop',
70-
'value' => null,
71-
];
72-
}
7367

7468
return [
7569
'type' => 'signal',

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

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
33
"meta": {
4-
"version": "PTDL_v1",
4+
"version": "PTDL_v2",
55
"update_url": null
66
},
7-
"exported_at": "2021-06-15T17:24:18-04:00",
7+
"exported_at": "2023-01-28T00:52:56+01:00",
88
"name": "Teamspeak3 Server",
99
"author": "support@pterodactyl.io",
1010
"description": "VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.",
1111
"features": null,
12-
"images": [
13-
"ghcr.io\/pterodactyl\/yolks:debian"
14-
],
12+
"docker_images": {
13+
"ghcr.io\/pterodactyl\/yolks:debian": "ghcr.io\/pterodactyl\/yolks:debian"
14+
},
1515
"file_denylist": [],
16-
"startup": ".\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} query_http_port={{QUERY_HTTP}} query_ssh_port={{QUERY_SSH}} query_protocols={{QUERY_PROTOCOLS_VAR}} license_accepted=1",
16+
"startup": ".\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} query_http_port={{QUERY_HTTP}} query_ssh_port={{QUERY_SSH}} query_protocols={{QUERY_PROTOCOLS_VAR}} serveradmin_password={{SERVERADMIN_PASSWORD}} license_accepted=1",
1717
"config": {
1818
"files": "{}",
1919
"startup": "{\r\n \"done\": \"listening on 0.0.0.0:\"\r\n}",
@@ -87,6 +87,16 @@
8787
"user_editable": false,
8888
"rules": "required|integer|between:1025,65535",
8989
"field_type": "text"
90+
},
91+
{
92+
"name": "Server Query Admin Password",
93+
"description": "The password for the server query admin user.",
94+
"env_variable": "SERVERADMIN_PASSWORD",
95+
"default_value": "",
96+
"user_viewable": true,
97+
"user_editable": true,
98+
"rules": "nullable|string|max:32",
99+
"field_type": "text"
90100
}
91101
]
92-
}
102+
}

0 commit comments

Comments
 (0)