ReferenceConfiguration

banned-ips.json

IP addresses banned from the server.

IP addresses banned from the server. BDS refuses any incoming connection from an address on this list. Endstone's ban-ip command writes and reloads the file in place; the file is created on demand when the first IP is banned.

Use the ban-ip command instead of editing by hand when possible.

Sample

[
  {
    "ip": "192.168.1.100",
    "created": "2026-01-15T12:00:00+00:00",
    "source": "Server",
    "expires": "forever",
    "reason": "spam"
  }
]

Fields

FieldTypeRequiredDescription
ipstringYesThe IPv4 or IPv6 address to ban.
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 client and written to the server log.

Server commands

CommandDescription
ban-ip <ip> [reason]Ban an IP.
pardon-ip <ip>Lift a ban.
banlist ipsList banned IPs.

On this page