Skip to content

Commit

Permalink
Merge branch '1.0-develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpi committed Jun 29, 2024
2 parents 6f37f94 + 8ae76c3 commit 64c7897
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/Services/Allocations/AssignmentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AssignmentService
{
public const CIDR_MAX_BITS = 27;
public const CIDR_MAX_BITS = 25;
public const CIDR_MIN_BITS = 32;
public const PORT_FLOOR = 1024;
public const PORT_CEIL = 65535;
Expand Down
6 changes: 0 additions & 6 deletions app/Services/Eggs/EggConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ protected function convertStopToNewFormat(string $stop): array
}

$signal = substr($stop, 1);
if (strtoupper($signal) === 'C') {
return [
'type' => 'stop',
'value' => null,
];
}

return [
'type' => 'signal',
Expand Down
24 changes: 17 additions & 7 deletions database/Seeders/eggs/voice-servers/egg-teamspeak3-server.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2021-06-15T17:24:18-04:00",
"exported_at": "2023-01-28T00:52:56+01:00",
"name": "Teamspeak3 Server",
"author": "[email protected]",
"description": "VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.",
"features": null,
"images": [
"ghcr.io\/pterodactyl\/yolks:debian"
],
"docker_images": {
"ghcr.io\/pterodactyl\/yolks:debian": "ghcr.io\/pterodactyl\/yolks:debian"
},
"file_denylist": [],
"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",
"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",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"listening on 0.0.0.0:\"\r\n}",
Expand Down Expand Up @@ -87,6 +87,16 @@
"user_editable": false,
"rules": "required|integer|between:1025,65535",
"field_type": "text"
},
{
"name": "Server Query Admin Password",
"description": "The password for the server query admin user.",
"env_variable": "SERVERADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:32",
"field_type": "text"
}
]
}
}

0 comments on commit 64c7897

Please sign in to comment.