whitelist.json

From Minecraft Wiki
Jump to: navigation, search

Dark Oak Sapling JE2 BE2.png
This article is a stub.
You can help by expanding it.
Merge-arrows.svg
It has been suggested that this page be merged with Server. [discuss]

whitelist.json is a server configuration file that stores the usernames of players who have been whitelisted on a server. This file is only used on multiplayer servers. To activate the whitelist, the white-list value in server.properties must be changed to true: white-list=true. Then only the named users are allowed to connect to the server.

Each entry in whitelist.json is a JSON object with two elements, uuid and name. uuid is the UUID (Universally Unique Identification) of a player, and name is the username of a player.

[
  {
    "uuid": "f430dbb6-5d9a-444e-b542-e47329b2c5a0",
    "name": "username"
  },
  {
    "uuid": "e5aa0f99-2727-4a11-981f-dded8b1cd032",
    "name": "username"
  }
]

As well as manually editing the file, the command /whitelist can also be used by operators.