Skip to content

Commit 3f38098

Browse files
authored
remove auto enabled query port from minecraft services
fix pterodactyl#620
1 parent dcfc184 commit 3f38098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

database/seeds/MinecraftServiceTableSeeder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private function addCoreOptions()
138138
'docker_image' => 'quay.io/pterodactyl/core:java',
139139
'config_startup' => '{"done": ")! For help, type ", "userInteraction": [ "Go to eula.txt for more info."]}',
140140
'config_logs' => '{"custom": false, "location": "logs/latest.log"}',
141-
'config_files' => '{"server.properties":{"parser": "properties", "find":{"server-ip": "0.0.0.0", "enable-query": "true", "server-port": "{{server.build.default.port}}", "query.port": "{{server.build.default.port}}"}}}',
141+
'config_files' => '{"server.properties":{"parser": "properties", "find":{"server-ip": "0.0.0.0", "server-port": "{{server.build.default.port}}"}}}',
142142
'config_stop' => 'stop',
143143
'config_from' => null,
144144
'startup' => null,
@@ -234,7 +234,7 @@ private function addCoreOptions()
234234
'description' => 'For a long time, Minecraft server owners have had a dream that encompasses a free, easy, and reliable way to connect multiple Minecraft servers together. BungeeCord is the answer to said dream. Whether you are a small server wishing to string multiple game-modes together, or the owner of the ShotBow Network, BungeeCord is the ideal solution for you. With the help of BungeeCord, you will be able to unlock your community\'s full potential.',
235235
'docker_image' => 'quay.io/pterodactyl/core:java',
236236
'config_startup' => '{"done": "Listening on ", "userInteraction": [ "Listening on /0.0.0.0:25577"]}',
237-
'config_files' => '{"config.yml":{"parser": "yaml", "find":{"listeners[0].query_enabled": true, "listeners[0].query_port": "{{server.build.default.port}}", "listeners[0].host": "0.0.0.0:{{server.build.default.port}}", "servers.*.address":{"127.0.0.1": "{{config.docker.interface}}", "localhost": "{{config.docker.interface}}"}}}}',
237+
'config_files' => '{"config.yml":{"parser": "yaml", "find":{"listeners[0].host": "0.0.0.0:{{server.build.default.port}}", "servers.*.address":{"127.0.0.1": "{{config.docker.interface}}", "localhost": "{{config.docker.interface}}"}}}}',
238238
'config_logs' => '{"custom": false, "location": "proxy.log.0"}',
239239
'config_stop' => 'end',
240240
'config_from' => null,
@@ -271,7 +271,7 @@ private function addCoreOptions()
271271
'docker_image' => 'quay.io/pterodactyl/core:java',
272272
'config_startup' => '{"done": ")! For help, type ", "userInteraction": [ "Go to eula.txt for more info."]}',
273273
'config_logs' => '{"custom": false, "location": "logs/latest.log"}',
274-
'config_files' => '{"server.properties":{"parser": "properties", "find":{"server-ip": "0.0.0.0", "enable-query": "true", "server-port": "{{server.build.default.port}}", "query.port": "{{server.build.default.port}}"}}}',
274+
'config_files' => '{"server.properties":{"parser": "properties", "find":{"server-ip": "0.0.0.0", "server-port": "{{server.build.default.port}}"}}}',
275275
'config_stop' => 'stop',
276276
'config_from' => null,
277277
'startup' => 'java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}',

0 commit comments

Comments
 (0)