Back to Tutorials
Minecraft3 min readJuly 15, 2026
How to enable a whitelist on your Minecraft server
Ganidu Sathishka
Support Engineer at CyberNex | 4+ years customer technical support
Overview
A whitelist restricts the server to the players you add.
Step-by-Step Instructions
<ol><li>In the console of your server, type: whitelist on and press enter.</li><li>Wait for the message confirming the whitelist is on.</li><li>Add a player: whitelist add USERNAME in the console.</li><li>Wait for the confirmation message that the player was added.</li></ol>
Code / Configuration
<pre><code>whitelist on # enable the whitelist whitelist add Steve # allow "Steve" whitelist list # show whitelisted players</code></pre>
Info
Remove a player with whitelist remove USERNAME. You can also edit the whitelist.json file directly.
Related Hosting Services
// More in Minecraft
Related Tutorials
Related Articles
From the Blog
Was this guide helpful?
Join our Discord for more guides and direct help from our engineering team.
