How to enforce the whitelist in Minecraft
Set enforce-whitelist=true in server.properties and restart the server. Players not on the whitelist are kicked when it is reloaded or turned on.
enforce-whitelist
Controls whether players not on the whitelist are kicked when the whitelist is reloaded or turned on.
enforce-whitelist=<value> Examples
enforce-whitelist=true Kick non-whitelisted players right away.
Values
| Value | What it does |
|---|---|
| true | On |
| falseDefault | Off |
Arguments
valueRequired- The value to write after the equals sign.
What it does
With true, online players who are not on the whitelist are kicked as soon as the whitelist is enabled or reloaded. Without it, they stay until they disconnect.
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.