How to enable query on a Minecraft server
Set enable-query=true in server.properties and restart the server. Server list sites and status tools can then read player counts on query.port.
enable-query
Controls whether the server answers GameSpy4 query requests used by server list sites and status tools.
enable-query=<value> Examples
enable-query=true Answer query requests.
Values
| Value | What it does |
|---|---|
| true | On |
| falseDefault | Off |
Arguments
valueRequired- The value to write after the equals sign.
What it does
When true, the server listens for query requests on query.port and returns the player list, version and other details. Server list sites and some status bots use it.
Good to know
- Changes take effect after a server restart.
Run it on your server
On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.
Your own
Minecraft server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.