[This is preliminary documentation and is subject to change.]

The PlayerInfo type exposes the following fields.

Fields

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AccountType
Minecraft.net account type (paid/free/unknown).
BanDate
Date of most recent ban, UTC. May be DateTime.MinValue if player was never banned.
BandwidthUseMode
BannedBy
Name of the entity responsible for most recent ban. May be empty.
BannedUntil
Not implemented (for temp bans).
BanReason
Reason given for the most recent ban. May be empty.
BanStatus
Player's current BanStatus: Banned, NotBanned, or Exempt.
BlocksBuilt
Total number of blocks manually built or painted by the player.
BlocksDeleted
Total number of blocks manually deleted by the player.
BlocksDrawn
Total number of blocks modified using draw and copy/paste commands.
DisplayedName
If set, replaces Name when printing name in chat.
FirstLoginDate
First time the player ever logged in, UTC. May be DateTime.MinValue if player has never been online.
FrozenBy
Name of the entity that most recently froze this player. May be empty.
FrozenOn
Date of the most recent freezing. May be DateTime.MinValue of the player has never been frozen.
ID
Player's unique numeric ID. Issued on first join.
IsFrozen
Whether this player is currently frozen.
IsHidden
Whether the player is currently hidden. Use Player.CanSee() method to check visibility to specific observers.
LastFailedLoginDate
Date of most recent failed attempt to log in, UTC.
LastFailedLoginIP
IP from which player most recently tried (and failed) to log in, UTC.
LastIP
For offline players, last IP used to succesfully log in. For online players, current IP.
LastKickBy
Name of the entity that most recently kicked this player. May be empty.
LastKickDate
Date of the most recent kick. May be DateTime.MinValue if the player has never been kicked.
LastKickReason
Reason given for the most recent kick. May be empty.
LastLoginDate
Most recent time the player logged in, UTC. May be DateTime.MinValue if player has never been online.
LastModified
LastSeen
Last time the player has been seen online (last logout), UTC. May be DateTime.MinValue if player has never been online.
LeaveReason
Reason for leaving the server last time.
MessagesWritten
Total number of messages written.
MutedBy
Name of the entity that most recently muted this player. May be empty.
MutedUntil
Date until which the player is muted. If the date is in the past, player is NOT muted.
Password
Not implemented (IRC/server password hash).
PreviousRank
Player's previous rank. May be null if player has never been promoted/demoted before.
RankChangeDate
Date of the most recent promotion/demotion, UTC. May be DateTime.MinValue if player has never been promoted/demoted before.
RankChangedBy
Name of the entity that most recently promoted/demoted this player. May be empty.
RankChangeReason
Reason given for the most recent promotion/demotion. May be empty.
RankChangeType
Type of the most recent promotion/demotion.
TimesBannedOthers
Number of bans issued by this player.
TimesKicked
Number of times that this player has been manually kicked.
TimesKickedOthers
Number of kicks issues by this player.
TimesVisited
Number of sessions/logins.
TotalTime
Total amount of time the player spent on this server.
UnbanDate
Date of most recent unban, UTC. May be DateTime.MinValue if player was never unbanned.
UnbannedBy
Name of the entity responsible for most recent unban. May be empty.
UnbanReason
Reason given for the most recent unban. May be empty.

See Also