fCraft  0.636
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
Public Attributes | Properties | List of all members
fCraft.IPBanInfo Class Reference

IP ban record. More...

Public Attributes

DateTime BanDate
 Date/time (UTC) when the ban was issued.
 
int Attempts
 Login attempts from this IP.
 
DateTime LastAttemptDate
 Date/time (UTC) of the most recent login attempt.
 

Properties

IPAddress Address [get, set]
 Banned IP address.
 
string BannedBy [get, set]
 Name of the player or entity who banned this player.
 
string BanReason [get, set]
 Reason/memo for the ban. May be null.
 
string PlayerName [get, set]
 Name of the player associted with this IP (if given at the time of banning). May be null.
 
string LastAttemptName [get, set]
 Name of the player who attempted to log in from this banned IP most recently.
 
string BannedByClassy [get]
 Decorated name of the player or entity who banned this player. Returns raw BannedBy value if it's not a recognized player name. Returns '?' if BannedBy is null or empty.
 
string PlayerNameClassy [get]
 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 or empty (no player associated with this ban).
 
string LastAttemptNameClassy [get]
 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 or empty (no attempts on record).
 
TimeSpan TimeSinceBan [get]
 Gets time since the ban was issued.
 
TimeSpan TimeSinceLastAttempt [get]
 Gets time since the last login attempt. Returns TimeSpan.MaxValue if LastAttemptDate is not set (no attempts on record).
 

Detailed Description

IP ban record.

Member Data Documentation

int fCraft.IPBanInfo.Attempts

Login attempts from this IP.

DateTime fCraft.IPBanInfo.BanDate

Date/time (UTC) when the ban was issued.

DateTime fCraft.IPBanInfo.LastAttemptDate

Date/time (UTC) of the most recent login attempt.

Property Documentation

IPAddress fCraft.IPBanInfo.Address
getset

Banned IP address.

string fCraft.IPBanInfo.BannedBy
getset

Name of the player or entity who banned this player.

string fCraft.IPBanInfo.BannedByClassy
get

Decorated name of the player or entity who banned this player. Returns raw BannedBy value if it's not a recognized player name. Returns '?' if BannedBy is null or empty.

string fCraft.IPBanInfo.BanReason
getset

Reason/memo for the ban. May be null.

string fCraft.IPBanInfo.LastAttemptName
getset

Name of the player who attempted to log in from this banned IP most recently.

string fCraft.IPBanInfo.LastAttemptNameClassy
get

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 or empty (no attempts on record).

string fCraft.IPBanInfo.PlayerName
getset

Name of the player associted with this IP (if given at the time of banning). May be null.

string fCraft.IPBanInfo.PlayerNameClassy
get

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 or empty (no player associated with this ban).

TimeSpan fCraft.IPBanInfo.TimeSinceBan
get

Gets time since the ban was issued.

TimeSpan fCraft.IPBanInfo.TimeSinceLastAttempt
get

Gets time since the last login attempt. Returns TimeSpan.MaxValue if LastAttemptDate is not set (no attempts on record).


The documentation for this class was generated from the following file: