Skip to content
Hosting · Server setup

ops.json, banned-players.json, and other lists

Server service JSON files: operators, bans, whitelist, and nickname cache — what they contain and when they are edited by hand.

Updated August 13, 2026

The server stores player lists in JSON files in the root. They are usually managed by commands, but sometimes it is faster to open the file.

FileContents
ops.jsonOperators, access level, bypassesPlayerLimit
whitelist.jsonWhitelist
banned-players.jsonBans by nickname and UUID
banned-ips.jsonBans by IP
usercache.jsonCache of nickname → UUID mapping

Example ops.json

[
  {
    "uuid": "8a1b...",
    "name": "Steve",
    "level": 4,
    "bypassesPlayerLimit": true
  }
]

Editing rules

  • Only while the server is stopped. A running server keeps the lists in memory and will overwrite the file on shutdown — your edits will be lost.
  • The format is strict: an extra comma breaks the entire file, and the server starts with an empty operator list.
  • The UUID must match the nickname. On a premium server, the UUID is permanent; on a server with nickname login, it is computed from the nickname — when you change online-mode, all lists effectively stop matching.

Changing online-mode

This is the most common cause of “all operators and claims disappeared”: player UUIDs change, and old entries no longer refer to anyone. For details, see Nickname login.

Plugins

Permission and ban plugins store their data separately (files or MySQL) and ignore vanilla lists — LuckPerms, Bans and mutes.

Minecraft hostingYour server runs while you are offlineCreate server