FreeMCHost logoFreeMCHost
All articles
Guide

Minecraft Server Whitelist: Commands and Setup

Turn the whitelist on, add and remove players, enforce it and avoid the common mistakes.

December 5, 20263 min read

Turn it on

In the console, without the slash:

whitelist on
whitelist add PlayerName
whitelist list

To remove someone: whitelist remove PlayerName. After editing whitelist.json by hand, run whitelist reload.

Make it strict

In server.properties:

white-list=true
enforce-whitelist=true

With enforce-whitelist, players removed from the list are disconnected when it is reloaded.

Bedrock players

Through Floodgate, Bedrock names carry a prefix. Use fwhitelist add Name from Floodgate.

A whitelist is not a backup

It keeps strangers out, not friends with bad intentions. Install CoreProtect and keep backups.