Skip to content

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.

toml
[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.

toml
[query]
enabled = true
port = 12345

Default Config

By default query is disabled. It will run on the server port if enabled unless specified explicitly.

toml
[query]
enabled = true
port = 25565

Released under the MIT License.