ConsulHosting
VPS HostingVirtual Private Servers for hosting online infrastructure.Managed VPS HostingManaged VPS Hosting for websites with DirectAdmin, cPanel or Plesk.
Web HostingWeb hosting for hobbyists up to medium-sized businesses.Domain NamesRegister a new domain or transfer your existing one to ConsulHosting.Reseller HostingWhite-label reseller hosting to resell web hosting services.
Minecraft HostingAffordable, high-quality Minecraft Server Hosting for Java & Bedrock.VPS HostingVirtual Private Servers for hosting online infrastructure.Web HostingWeb hosting for hobbyists up to medium-sized businesses.
About ConsulHostingDiscover our core values and what ConsulHosting is committed to.Knowledge baseLook for answers to your questions in the knowledge base.ContactContact us via live chat, email or a support ticket.
Log in
KnowledgebaseMinecraft HostingHow to Set Up a Whitelist on Your Minecraft Server

Table of Contents

  1. Enabling the whitelist
  2. Managing the whitelist

How to Set Up a Whitelist on Your Minecraft Server

Published on July 18, 2026

A whitelist allows you to control which players have access to your Minecraft server. Once you enable the whitelist, only players who have been added to it can join the server. This is useful when you want to keep the server private or prevent unwanted players from joining. In this guide, we explain how to enable and manage a whitelist on your Minecraft server at ConsulHosting.

Enabling the whitelist

  1. Log in to the game panel and go to your Minecraft server.
  2. Start the Minecraft server if it is not already running and wait until the server has fully started.
  3. Open the Console page.
  4. First, add your own Minecraft username using the following command:
whitelist add PLAYERNAME
  1. Repeat this command for every other player who should have access to the server.
  2. Then enable the whitelist using the following command:
whitelist on

The whitelist takes effect immediately. You do not need to restart the Minecraft server.

Note Replace PLAYERNAME with the player’s exact Minecraft username. Do not include a / when entering commands in the console.
Tip You can also run these commands in-game. In that case, add a / before the command, for example /whitelist add PLAYERNAME. You need operator permissions to do this.

Managing the whitelist

While the Minecraft server is running, you can manage the whitelist through the console using the commands below.

Action

Command

Enable the whitelist

whitelist on

Add a player

whitelist add PLAYERNAME

Remove a player

whitelist remove PLAYERNAME

View added players

whitelist list

Disable the whitelist

whitelist off

Was this article helpful?

ConsulHosting logo wide

ConsulHosting

ContactKnowledge baseAccountAbout UsStatusAbuse report

Services

VPS HostingWeb HostingMinecraft HostingDomainsReseller HostingManaged VPS Hosting

© 2020-2026 ConsulHosting B.V.•Prices are excluding VAT unless stated otherwise

Terms of ServicePrivacyService Level Agreement