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