Skip to content
/SLASHPLAY

How to set the management server secret in Minecraft

Set management-server-secret=<40-character random token> in server.properties and restart the server. Clients must send that token to connect.

management-server-secret

Sets the secret token clients must send to use the management server.

management-server-secret=<token>

Examples

management-server-secret=replace-with-a-40-character-random-token

Use your own long random token.

Arguments

tokenRequired
The value to write after the equals sign.

What it does

The server fills this with a random token when it first writes the file. Keep it private, since it grants control of the server through the management API.

Good to know

  • Changes take effect after a server restart.
  • Treat it like a password.

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.