# Enable the whitelist on your server

{% hint style="info" %}
The whitelist limits access to authorized players.\
Ideal for a private server.
{% endhint %}

### Objective

Enable the whitelist and add authorized players.

### Step-by-step guide

{% stepper %}
{% step %}
**Enable the whitelist**

On the dashboard, open the **Settings**.

Click on **Enable the whitelist on your server**.

<figure><img src="https://2305008112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftkl0lsnxYxJPTz5fY4IW%2Fuploads%2Fgit-blob-1ff809d41d52530c47b01113a13bd508de1481ec%2Fimage_68.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Add a player to the whitelist**

In **Console**, run: `whitelist add Username`

<figure><img src="https://2305008112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftkl0lsnxYxJPTz5fY4IW%2Fuploads%2Fgit-blob-95d8025d84a502e29fa023e19ac951c1e670ed85%2Fimage_85.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Common issues

* **The player cannot join** : check the exact spelling of the username.
* **The whitelist is enabled but “everyone” can enter** : check `white-list=true` in `server.properties`.
* **Command denied** : make sure you are OP: [Be an administrator on my Minecraft server](https://docs.oxygenserv.com/en/minecraft/etre-administrateur-sur-mon-serveur-minecraft).

### FAQ

#### How to remove a player?

Use: `whitelist remove Username`

#### How to disable the whitelist?

Use: `whitelist off`

Or go back through the dashboard settings.
