[This is preliminary documentation and is subject to change.]
The IPBanInfo type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| Address | Banned IP address. | |
| BannedBy | Name of the player or entity who banned this player. | |
| BannedByClassy | Decorated name of the player or entity who banned this player.
Returns raw BannedBy value if it's not a recognized player name. | |
| BanReason | Reason/memo for the ban. May be null. | |
| LastAttemptName | Name of the player who attempted to log in from this banned IP most recently. | |
| LastAttemptNameClassy | Gets the Classy name of the player who last attempted to login with this banned IP.
Returns raw LastAttemptName value if it's not a recognized player name.
Returns '?' if LastAttemptName is null (no attempts on record). | |
| PlayerName | Name of the player associted with this IP (if given at the time of banning). May be null. | |
| PlayerNameClassy | Decorated name of the player associted with this IP (if given at the time of banning).
Returns raw PlayerName value if it's not a recognized player name.
Returns '?' if PlayerName is null (no player associated with this ban). | |
| TimeSinceBan | Gets time since the ban was issued. | |
| TimeSinceLastAttempt | Gets time since the last login attempt.
Returns TimeSpan.MaxValue if LastAttemptDate is not set (no attempts on record). |