berconpy.Ban¶
- class berconpy.Ban(cache, index, id, duration, reason)¶
Bases:
objectRepresents a GUID/IP ban on the server.
Methods
unban()Attributes
The index assigned to this ban by the server.
The player identifier this ban affects.
The duration of the ban in minutes.
The reason given for the ban.
cacheclient-
duration:
int|None¶ The duration of the ban in minutes.
If the ban has expired, this will be
-1. If the ban is permanent, this will beNone.
-
id:
str¶ The player identifier this ban affects.
This can be either a BattlEye GUID or an IP address.
-
duration: