---
title: "How to enable the whitelist on a Java server"
icon: lucide/list-checks
description: "How to enable the whitelist and allow selected players to join a Minecraft Java server through the panel console."
---

# How to enable the whitelist on a Java server

The whitelist restricts access to a Java server to players you have added.

## Steps

1. Open the [NexusCloud panel](https://panel.nexuscloud.id/) and select your server.
2. Open **Console**.
3. Scroll down, then click the **Type a command** field.
4. Enter `whitelist on`, then press **Enter**.
5. Enter `whitelist add playername`, replace `playername` with the player you want to allow, then press **Enter**.

That player can now join your server.

## Notes

- Repeat `whitelist add playername` for every player you want to add.
- Enter the player's Minecraft username exactly.

---

!!! tip "Help us out"
    If you found this tutorial useful, please leave a review on [Trustpilot](https://www.trustpilot.com/evaluate/nexuscloud.id)! Your rating helps us make more useful guides :sparkles:

**Cheers, Team NexusCloud**

---
