# 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="/files/2f87e31a30695fd3475cbcb6c1f535e0292dd04d" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

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

<figure><img src="/files/788fd5212c5dc4ce21a32daa9e829ed44d817b13" 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](/en/minecraft/etre-administrateur-sur-mon-serveur-minecraft.md).

### 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oxygenserv.com/en/minecraft/activer-la-whitelist-sur-ton-serveur.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
