xban.ban_player(player_or_ip, source, expires, reason)
Ban a player and all of his/her alternative names and IPs.
player_or_ip
- Player to search for and ban. See note 1 below.source
- Source of the ban. See note 2 below.expires
- Time at which the ban expires. If nil, ban is permanent.reason
- Reason for ban.xban.unban_player(player_or_ip, source)
Unban a player and all of his/her alternative names and IPs.
player_or_ip
- Player to search for and unban.source
- Source of the ban. See note 2 below."modname:source"
format for source
(for example: "anticheat:main"
).