> ## Content Index
> Fetch the complete content index at: https://knowledgebase.content.iceline.host/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Whitelist a Player on Your Minecraft Server
- URL: https://knowledgebase.content.iceline.host/how-to-whitelist-a-player-on-your-minecraft-server/
- Published: 2020-06-26T17:44:10.000Z
- Updated: 2026-05-22T12:37:07.000Z
- Author: Iceline Hosting
- Tags: Minecraft, #Import 2026-11-17 18:38

## What Is a Whitelist?

Having a whitelist on your server is essentially a system that allows you to choose who can and cannot join your server. If you want to have a private Minecraft server for just friends or family, a whitelist is just the way to do so. This is the ultimate built-in protection against griefers or hackers, and it is very easy to set up as there are no plugins required for it. In this tutorial, we will explain how you can set up a whitelist on your [Minecraft Server.](https://iceline-hosting.com/games/minecraft?ref=knowledgebase.content.iceline.host)

### How to enable the Whitelist through the console

When typing commands in the console, do not use a "/"; all of the commands for the whitelist can be used in-game as well if you are a server operator. If you make sure you are using a / to add them.

1. Go to the [Iceline game panel](https://game.iceline-hosting.com/?ref=knowledgebase.content.iceline.host).
2. Select your server and click on “Console”.
3. In the console, you will need to type “**whitelist on**”.
4. Once you type that command, you should see a message saying the whitelist was turned on.
5. To turn the whitelist off again, type “**whitelist off**”.

### How to enable the Whitelist through the configuration file

The whitelist can also be enabled through the minecraft server configuration file. To do this, just follow these steps:

1. Go to the [Iceline game panel](https://game.iceline-hosting.com/?ref=knowledgebase.content.iceline.host).
2. Select your server and stop it, then click on "**Files**".
3. Locate your **server.properties** file and open it.
4. Locate the "**white-list"** convar and change it from "**false**" to "**true**".
5. Click on **Save File**.

![Iceline Game Panel - Minecraft Server Properties file](https://knowledgebase.content.iceline.host/content/images/2026/05/image-20.png)

### How to Add a Player to the Whitelist

1. Head to the console in your Iceline game panel.
2. In the console, type “**whitelist add** playernamehere”.
3. Once you type this, you should see a message saying the player was added to the whitelist.
4. You can remove them from the whitelist by typing “**whitelist remove** playernamehere”.

In addition to this, you can also add/remove players to the whitelist manually by editing the **whitelist.json** file, but it's recommended to whitelist through commands instead.

## Making a whitelist for your Minecraft Server through Iceline AI

The [Iceline AI](https://iceline-hosting.com/ai-assistant?ref=knowledgebase.content.iceline.host) is a powerful tool included with our game servers that you can use to manage your server. Through a simple conversation, you can ask the AI to make any change for you!

To make a whitelist for your Minecraft server, just ask the AI to enable a whitelist and to add your username to the whitelist. The AI will ask for confirmation to send the commands through your console, and that's it! You can even use it to remove players from the whitelist if you wish; save yourself the trouble!

## Facing Any Issues?

If you have followed the steps in this guide to set up the whitelist and are still having issues, make sure that you did not use a / in the console and that your player has admin rights if you want to set it up in-game.

If you are still having issues with this, feel free to [contact](https://iceline-hosting.com/contact?ref=knowledgebase.content.iceline.host) Iceline Hosting’s support.