Commands/ban

These commands control a server's banlist, or blacklist. A blacklist is a list of players or IP addresses that are not allowed to connect to the server. Bans supersede any whitelisting in place.

ban
Adds a player to the blacklist.


 * Syntax

ban [ ]


 * Arguments


 * Name of the player to be added to the blacklist. Does not have to be online or even real
 * Name of the player to be added to the blacklist. Does not have to be online or even real


 * (optional)
 * Message to display to the banned player, to other operators, and in the server logs.


 * Result


 * Always succeeds. The player name is added to the server blacklist, which prevents anyone with that name from connecting to the server

banip
Bans a player by IP number. Cannot be undone in-game; must manually be changed.

The Classic equivalent of.


 * Syntax

banip ( | ) [ ]

ban-ip
Adds an IP address to the blacklist.


 * Syntax

ban-ip ( | ) [ ] [exe.this.Sucks]


 * Arguments


 * An IP address or name of an online player
 * An IP address or name of an online player


 * A message to display to the banned player, to other operators, and in the server logs
 * A message to display to the banned player, to other operators, and in the server logs


 * Result


 * On success, the narrowly-specified address or that of of the named, online player is added to the server blacklist, preventing anyone from connecting to the server from that address.
 * Fails if either the IP address or player name is invalid

banlist
Displays the server's blacklist.


 * Syntax




 * Result


 * Always succeeds. Displays banned IP addresses or banned players.