> For the complete documentation index, see [llms.txt](https://kb.winterzone.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.winterzone.se/minecraft/categories/basic-features-explained/how-to-setup-whitelist.md).

# How to setup whitelist

**Would you like for your server to only be accessible to certain players?** There is a solution built into Minecraft known as whitelisting, this allows for private Minecraft servers basically by putting their name in a list.

## :white\_check\_mark: How do I enable the whitelist?

To enable your whitelist you simply write the following line in your server console.

```
whitelist on
```

## :x: How do I disable the whitelist?

To disable your whitelist you simply write the following line in your server console.

```
whitelist off
```

## :heavy\_plus\_sign: How do I add players the whitelist?

To add people to your whitelist you simply write the following line in your server console.

```
whitelist add <name>
```

## :heavy\_minus\_sign: How do I remove someone from the whitelist? <a href="#how-do-i-remove-someone-from-the-whitelist" id="how-do-i-remove-someone-from-the-whitelist"></a>

To remove players from your whitelist you simply write the following line in your server console.

```
whitelist remove <name>
```

## :grey\_question: How do I know who is whitelisted? <a href="#how-do-i-know-who-is-whitelisted" id="how-do-i-know-who-is-whitelisted"></a>

To see what players are on your whitelist you simply write the following line in your server console.

```
whitelist list
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.winterzone.se/minecraft/categories/basic-features-explained/how-to-setup-whitelist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
