mirror of
https://github.com/Pumpkin-MC/Pumpkin-Website.git
synced 2025-02-07 00:19:51 +00:00
732 B
732 B
Query
Query protocol is an simple way to query the server about its status. Pumpkin fully supports the query protocol.
Configuring Query
enabled
: Boolean
Whether to listen for query protocol requests or not.
:::code-group
[query]
enabled = true
:::
port
: Integer (0-65535) (optional)
What port to listen to query protocol requests. If not specified, it uses the same port as the server.
:::code-group
[query]
enabled = true
port = 12345
:::
Default Config
By default query is disabled. It will run on the server port if enabled unless specified explicitly.
:::code-group
[query]
enabled = true
port = 25565
:::