Skip to content
/SLASHPLAY

How to enable the management server in Minecraft

Set management-server-enabled=true in server.properties with a port and secret, then restart the server. It turns on the JSON-RPC API over WebSocket.

management-server-enabled

Controls whether the server management protocol, a JSON-RPC API over WebSocket, is turned on.

management-server-enabled=<value>

Examples

management-server-enabled=true

Turn on the management API.

Values

ValueWhat it does
true On
falseDefault Off

Arguments

valueRequired
The value to write after the equals sign.

What it does

The management server lets external tools read and change server state, such as players, allowlist and settings, over a WebSocket API. Requests must carry the management-server-secret.

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.