To whitelist players and control who can join your server, follow these steps:
-
Enable Whitelist:
-
Open your Console tab in the Pterodactyl panel.
-
Type the command:
/whitelist on
-
-
Add a Player to Whitelist:
-
In the console, type:
/whitelist add <playername> -
Replace
<playername>with the Minecraft username you want to allow.
-
-
(Optional) Manage Whitelist File:
-
Navigate to the File Manager.
-
Open
whitelist.jsonto manually edit the list of allowed players.
-
-
(Optional) Edit server.properties:
-
Locate
server.propertiesin the File Manager. -
Find the line
white-list=falseand change it towhite-list=true. -
Save the file and Restart your server.
-
⚠️ Make sure the player uses a premium Minecraft account if you're running in online mode.
