From 78054ef4b44ea075b4cbffc00e543f07f23235a4 Mon Sep 17 00:00:00 2001 From: Skylar <118846397+NobleSkye@users.noreply.github.com> Date: Wed, 14 Jan 2026 03:06:01 -0800 Subject: [PATCH] removed hytale domain for just egg with ip --- .../Features/HytaleSubdomainFeature.php | 60 ------------------- database/Seeders/eggs/hytale/egg-hytale.json | 5 +- 2 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 app/Services/Subdomain/Features/HytaleSubdomainFeature.php diff --git a/app/Services/Subdomain/Features/HytaleSubdomainFeature.php b/app/Services/Subdomain/Features/HytaleSubdomainFeature.php deleted file mode 100644 index 66f97ca4f..000000000 --- a/app/Services/Subdomain/Features/HytaleSubdomainFeature.php +++ /dev/null @@ -1,60 +0,0 @@ -allocation->ip; - $port = $server->allocation->port; - $subdomain_split = explode(".", $subdomain); - $fullDomain = $subdomain_split[0] . '.' . $domain; - - $records = []; - - // A record pointing to the server IP - $records[] = [ - 'name' => $subdomain, - 'type' => 'A', - 'content' => $ip, - 'ttl' => 300, - ]; - - // SRV record for Hytale (only if not using default port) - if ($port != 25565) { - $records[] = [ - 'name' => '_hytale._tcp.' . $subdomain, - 'type' => 'SRV', - 'content' => [ - 'service' => '_hytale', - 'proto' => '_tcp', - 'name' => $subdomain, - 'priority' => 0, - 'weight' => 5, - 'port' => $port, - 'target' => $fullDomain, - 'content' => "SRV 0 5 {$port} {$fullDomain}", - ], - 'ttl' => 300, - ]; - } - - return $records; - } -} - diff --git a/database/Seeders/eggs/hytale/egg-hytale.json b/database/Seeders/eggs/hytale/egg-hytale.json index 647826ea9..ece52541a 100644 --- a/database/Seeders/eggs/hytale/egg-hytale.json +++ b/database/Seeders/eggs/hytale/egg-hytale.json @@ -9,8 +9,7 @@ "author": "hello@pterodactyl.io", "description": "Set out on an adventure built for both creation and play. Hytale blends the freedom of a sandbox with the momentum of an RPG: explore a procedurally generated world full of dungeons, secrets, and a variety of creatures, then shape it block by block.", "features": [ - "java_version", - "subdomain_hytale" + "java_version" ], "docker_images": { "ghcr.io/pterodactyl/games:hytale": "ghcr.io/pterodactyl/games:hytale" @@ -92,4 +91,4 @@ "field_type": "text" } ] -} \ No newline at end of file +}