ReferenceConfiguration

banned-players.json

Players banned from the server.

Players banned from the server, looked up by name (plus optional UUID / XUID for stable identity). Endstone's ban command writes and reloads the file in place; the file is created on demand when the first player is banned.

Use the ban command instead of editing by hand when possible - it resolves UUID and XUID for you.

Sample

[
  {
    "name": "PlayerName",
    "uuid": "00000000-0000-0000-0000-000000000000",
    "xuid": "2533274912345678",
    "created": "2026-01-15T12:00:00+00:00",
    "source": "Server",
    "expires": "forever",
    "reason": "griefing"
  }
]

Fields

FieldTypeRequiredDescription
namestringYesXbox Live gamertag. Case-insensitive.
uuidstringNoPlayer UUID. Prevents bypass via gamertag rename when available.
xuidstringNoXbox user ID. Also helps with rename-resistant identity.
createdstringNoISO 8601 timestamp with timezone offset (%FT%T%Ez). When the entry was added.
sourcestringNoWho issued the ban (e.g. Server, an operator's name, or a plugin name).
expiresstringNoISO 8601 timestamp, or "forever" for a permanent ban. Expired entries are pruned on the next ban-list read.
reasonstringNoShown to the banned player and written to the server log.

Server commands

CommandDescription
ban <gamertag> [reason]Ban a player (resolves UUID / XUID).
pardon <gamertag>Lift a ban.
banlist playersList banned players.

On this page