WhitelistPlayersManagement2 min read

How to add friends to the whitelist

Add players to your server's whitelist using commands or by editing whitelist.json.


Add players via console command

  1. Open the Console tab in panel.baires.host
  2. Run:
terminal
whitelist add PlayerName
  1. The player can now connect immediately (no restart needed)

Add multiple players

Run the command once per player:

terminal
whitelist add Steve
whitelist add Alex
whitelist add Notch

View current whitelist

terminal
whitelist list

Remove a player

terminal
whitelist remove PlayerName

Edit whitelist.json directly

For bulk additions, edit the file directly:

  1. Go to Files in the panel
  2. Open whitelist.json
  3. Add entries in this format:
json
[
  {
    "uuid": "player-uuid-here",
    "name": "PlayerName"
  }
]
  1. Save the file
  2. Run whitelist reload in the console

Finding player UUIDs

Use a site like namemc.com to look up a player's UUID from their username. This is required when editing the JSON file directly.

Tips

  • The whitelist must be enabled (whitelist on) for it to have any effect
  • Player names are case-insensitive in commands
  • On offline-mode servers, UUIDs are generated differently — use the console command method instead of manual JSON editing

Was this guide helpful?