How to Whitelist Players on Your Server
If you want to make your Minecraft server private — allowing only certain players to join — enabling the whitelist is the way to go. It’s perfect for small friend groups, staff-only servers, or pre-release testing.
This guide will show you how to enable and manage the whitelist using the Pterodactyl panel or in-game commands.
✅ Step 1: Enable the Whitelist
You can enable the whitelist in two ways:
Option 1: Using the Console
- Log into your server panel
- Click the Console tab
- Type the following command and press Enter:
whitelist on
Option 2: In-Game (OPs only)
/whitelist on
Once enabled, only whitelisted players can join the server.
✅ Step 2: Add Players to the Whitelist
To allow a player to join:
From the Console:
whitelist add Username
In-Game (if you're OP):
/whitelist add Username
Example:
whitelist add Steve
✅ Step 3: Remove Players from the Whitelist
To remove someone:
whitelist remove Username
✅ Step 4: View the Whitelist
You can view the list of allowed players by running:
whitelist list
✅ Step 5: Disable the Whitelist
To allow anyone to join again:
whitelist off
???? Optional: Edit the Whitelist File Manually
- Go to the File Manager in your panel
- Open
whitelist.json
in the root directory - You can add/remove players manually, then save and restart the server
???? Why Use a Whitelist?
- Protects your server from unwanted visitors
- Prevents griefers or hackers from joining
- Ideal for closed communities or development servers
Need help managing your whitelist? Reach out to support and we’ll help you get it set up!