Minecraft (Java Edition)
Whitelist your server

Whitelist your server

A whitelist allows you to only allow certain people to join your Minecraft server. It’s important to note that players will not be able to join by default if whitelist is enabled.

Managing your whitelist

These commands need to be typed out in the console, or the in-game chat by an operator using the / command, /whitelist for example instead of just whitelist which is what you would do in the console. To grant someone the operator permission do op name.

\\ Turn your whitelist on and off
Whitelist on & Whitelist off
 
\\ Add or remove players from your whitelist
Whitelist add name & Whitelist remove name
 
\\ View your whitelist
Whitelist list
 
\\ Apply changes made to the whitelist
Whitelist reload