![]() |
fCraft
0.636
Custom Minecraft Server
|
Object representing persistent state ("record") of a player, online or offline. There is exactly one PlayerInfo object for each known Minecraft account. All data is stored in the PlayerDB. More...


Public Member Functions | |
| void | Ban ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Bans given player. Kicks if online. Throws PlayerOpException on problems. | |
| void | Unban ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Unbans a player. Throws PlayerOpException on problems. | |
| void | BanIP ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Bans given player and their IP address. All players from IP are kicked. Throws PlayerOpException on problems. | |
| void | UnbanIP ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Unbans given player and their IP address. Throws PlayerOpException on problems. | |
| void | BanAll ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Bans given player, their IP, and all other accounts on IP. All players from IP are kicked. Throws PlayerOpException on problems. | |
| void | UnbanAll ([NotNull] Player player,[CanBeNull] string reason, bool announce, bool raiseEvents) |
| Unbans given player, their IP address, and all other accounts on IP. Throws PlayerOpException on problems. | |
| void | ChangeRank ([NotNull] Player player,[NotNull] Rank newRank,[CanBeNull] string reason, bool announce, bool raiseEvents, bool auto) |
| Changes rank of the player (promotes or demotes). Throws PlayerOpException on problems. | |
| void | Freeze ([NotNull] Player player, bool announce, bool raiseEvents) |
| Freezes this player (prevents from moving, building, and from using most commands). Throws PlayerOpException on problems. | |
| void | Unfreeze ([NotNull] Player player, bool announce, bool raiseEvents) |
| Unfreezes this player. Throws PlayerOpException on problems. | |
| void | Mute ([NotNull] Player player, TimeSpan duration, bool announce, bool raiseEvents) |
| Mutes this player (prevents from writing chat messages). | |
| void | Unmute ([NotNull] Player player, bool announce, bool raiseEvents) |
| Unmutes this player (allows them to write chat again). | |
| void | CheckAccountType () |
| Begins to asynchronously check player's account type. | |
| PlayerInfo ([NotNull] string name,[NotNull] Rank rank, bool setLoginDate, RankChangeType rankChangeType) | |
| PlayerInfo ([NotNull] string name,[NotNull] IPAddress lastIP,[NotNull] Rank startingRank) | |
| void | ProcessMessageWritten () |
| void | ProcessLogin ([NotNull] Player player) |
| void | ProcessFailedLogin ([NotNull] Player player) |
| void | ProcessLogout ([NotNull] Player player) |
| void | ProcessRankChange ([NotNull] Rank newRank,[NotNull] string changer,[CanBeNull] string reason, RankChangeType type) |
| void | ProcessBlockPlaced (byte type) |
| void | ProcessDrawCommand (int blocksDrawn) |
| override string | ToString () |
| bool | Can (Permission permission) |
| bool | Can (Permission permission, Rank rank) |
Public Attributes | |
| string | DisplayedName |
| If set, replaces Name when printing name in chat. | |
| int | ID |
| Player's unique numeric ID. Issued on first join. | |
| DateTime | FirstLoginDate |
| First time the player ever logged in, UTC. May be DateTime.MinValue if player has never been online. | |
| DateTime | LastLoginDate |
| Most recent time the player logged in, UTC. May be DateTime.MinValue if player has never been online. | |
| DateTime | LastSeen |
| Last time the player has been seen online (last logout), UTC. May be DateTime.MinValue if player has never been online. | |
| LeaveReason | LeaveReason |
| Reason for leaving the server last time. | |
| AccountType | AccountType |
| Minecraft.net account type (paid/free/unknown). | |
| Rank | PreviousRank |
| Player's previous rank. May be null if player has never been promoted/demoted before. | |
| DateTime | RankChangeDate |
| Date of the most recent promotion/demotion, UTC. May be DateTime.MinValue if player has never been promoted/demoted before. | |
| string | RankChangedBy |
| Name of the player or entity who most recently promoted/demoted this player. May be null or empty. | |
| string | RankChangeReason |
| Reason given for the most recent promotion/demotion. May be null or empty. | |
| RankChangeType | RankChangeType |
| Type of the most recent promotion/demotion. | |
| BanStatus | BanStatus |
| Player's current BanStatus: Banned, NotBanned, or Exempt. | |
| DateTime | BanDate |
| Date of most recent ban, UTC. May be DateTime.MinValue if player was never banned. | |
| string | BannedBy |
| Name of the player or entity who most recently banned this player. May be null or empty. | |
| string | BanReason |
| Reason given for the most recent ban. May be null or empty. | |
| DateTime | UnbanDate |
| Date of most recent unban, UTC. May be DateTime.MinValue if player was never unbanned. | |
| string | UnbannedBy |
| Name of the player or entity who most recently unbanned this player. May be null or empty. | |
| string | UnbanReason |
| Reason given for the most recent unban. May be null or empty. | |
| DateTime | LastFailedLoginDate |
| Date of most recent failed attempt to log in, UTC. | |
| IPAddress | LastFailedLoginIP = IPAddress.None |
| IP from which player most recently tried (and failed) to log in, UTC. | |
| TimeSpan | TotalTime |
| Total amount of time the player spent on this server. | |
| int | BlocksBuilt |
| Total number of blocks manually built or painted by the player. | |
| int | BlocksDeleted |
| Total number of blocks manually deleted by the player. | |
| long | BlocksDrawn |
| Total number of blocks modified using draw and copy/paste commands. | |
| int | TimesVisited |
| Number of sessions/logins. | |
| int | MessagesWritten |
| Total number of messages written. | |
| int | TimesKickedOthers |
| Number of kicks issues by this player. | |
| int | TimesBannedOthers |
| Number of bans issued by this player. | |
| int | TimesKicked |
| Number of times that this player has been manually kicked. | |
| DateTime | LastKickDate |
| Date of the most recent kick. May be DateTime.MinValue if the player has never been kicked. | |
| string | LastKickBy |
| Name of the player or entity who most recently kicked this player. May be null or empty. | |
| string | LastKickReason |
| Reason given for the most recent kick. May be null or empty. | |
| bool | IsFrozen |
| Whether this player is currently frozen. | |
| DateTime | FrozenOn |
| Date of the most recent freezing. May be DateTime.MinValue of the player has never been frozen. | |
| string | FrozenBy |
| Name of the player or entity who most recently froze this player. May be null or empty. | |
| DateTime | MutedUntil |
| Date until which the player is muted. If the date is in the past, player is NOT muted. | |
| string | MutedBy |
| Name of the player or entity who most recently muted this player. May be null or empty. | |
| bool | IsHidden |
| Whether the player is currently hidden. Use Player.CanSee() method to check visibility to specific observers. | |
| IPAddress | LastIP |
| For offline players, last IP used to succesfully log in. For online players, current IP. | |
| string | Password = "" |
| Not implemented (IRC/server password hash). | |
| DateTime | LastModified |
| BandwidthUseMode | BandwidthUseMode |
| DateTime | BannedUntil |
| Not implemented (for temp bans). | |
Properties | |
| string | Name [get, set] |
| Player's Minecraft account name. | |
| string | ClassyName [get] |
| Rank | Rank [get, set] |
| Player's current rank. | |
| string | RankChangedByClassy [get] |
| Decorated name of the player or entity who most recently changed rank of this player. Returns raw RankChangedBy value if it's not a recognized player name. Returns '?' if RankChangedBy is null or empty. | |
| bool | IsBanned [get] |
| Returns whether player is name-banned or not. | |
| string | BannedByClassy [get] |
| Decorated name of the player or entity who most recently banned this player. Returns raw BannedBy value if it's not a recognized player name. Returns '?' if BannedBy is null or empty. | |
| string | UnbannedByClassy [get] |
| Decorated name of the player or entity who most recently unbanned this player. Returns raw UnbannedBy value if it's not a recognized player name. Returns '?' if UnbannedBy is null or empty. | |
| string | LastKickByClassy [get] |
| Decorated name of the player or entity who most recently kicked this player. Returns raw LastKickBy value if it's not a recognized player name. Returns '?' if LastKickBy is null or empty. | |
| string | FrozenByClassy [get] |
| Decorated name of the player or entity who most recently froze this player. Returns raw FrozenBy value if it's not a recognized player name. Returns '?' if FrozenBy is null or empty. | |
| bool | IsMuted [get] |
| Whether this player is currently muted. | |
| string | MutedByClassy [get] |
| Decorated name of the player or entity who most recently muted this player. Returns raw MutedBy value if it's not a recognized player name. Returns '?' if MutedBy is null or empty. | |
| bool | IsOnline [get, set] |
| Whether the player is currently online. Another way to check online status is to check if PlayerObject is null. | |
| Player | PlayerObject [get, set] |
| If player is online, Player object associated with the session. If player is offline, null. | |
| TimeSpan | TimeSinceRankChange [get] |
| TimeSpan | TimeSinceBan [get] |
| TimeSpan | TimeSinceUnban [get] |
| TimeSpan | TimeSinceFirstLogin [get] |
| TimeSpan | TimeSinceLastLogin [get] |
| TimeSpan | TimeSinceLastKick [get] |
| TimeSpan | TimeSinceLastSeen [get] |
| TimeSpan | TimeSinceFrozen [get] |
| TimeSpan | TimeMutedLeft [get] |
Properties inherited from fCraft.IClassy | |
| string | ClassyName [get] |
| Name optionally formatted with minecraft color codes or other decorations. | |
Events | |
| static EventHandler < PlayerInfoBeingCreatedEventArgs > | BeingCreated |
| Occurs when a new PlayerDB entry is being created. Allows editing the starting rank. Cancelable (kicks the player). | |
| static EventHandler < PlayerInfoCreatedEventArgs > | Created |
| Occurs after a new PlayerDB entry has been created. | |
| static EventHandler < PlayerInfoRankChangingEventArgs > | RankChanging |
| Occurs when a player's rank is about to be changed (automatically or manually). | |
| static EventHandler < PlayerInfoRankChangedEventArgs > | RankChanged |
| Occurs after a player's rank was changed (automatically or manually). | |
| static EventHandler < PlayerInfoBanChangingEventArgs > | BanChanging |
| Occurs when a player is about to be banned or unbanned. Cancelable. | |
| static EventHandler < PlayerInfoBanChangedEventArgs > | BanChanged |
| Occurs after a player has been banned or unbanned. | |
| static EventHandler < PlayerInfoFrozenChangingEventArgs > | FreezeChanging |
| Occurs when a player is about to be frozen or unfrozen. | |
| static EventHandler < PlayerInfoFrozenChangedEventArgs > | FreezeChanged |
| Occurs after a player has been frozen or unfrozen. | |
| static EventHandler < PlayerInfoMuteChangingEventArgs > | MuteChanging |
| Occurs when a player is about to be muted or unmuted. | |
| static EventHandler < PlayerInfoMuteChangedEventArgs > | MuteChanged |
| Occurs after a player has been muted or unmuted. | |
Object representing persistent state ("record") of a player, online or offline. There is exactly one PlayerInfo object for each known Minecraft account. All data is stored in the PlayerDB.
| fCraft.PlayerInfo.PlayerInfo | ( | [NotNull] string | name, |
| [NotNull] Rank | rank, | ||
| bool | setLoginDate, | ||
| RankChangeType | rankChangeType | ||
| ) |
| fCraft.PlayerInfo.PlayerInfo | ( | [NotNull] string | name, |
| [NotNull] IPAddress | lastIP, | ||
| [NotNull] Rank | startingRank | ||
| ) |
| void fCraft.PlayerInfo.Ban | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Bans given player. Kicks if online. Throws PlayerOpException on problems.
| player | Player who is banning. |
| reason | Reason for ban. May be empty, if permitted by server configuration. |
| announce | Whether ban should be publicly announced on the server. |
| raiseEvents | Whether BanChanging and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.BanAll | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Bans given player, their IP, and all other accounts on IP. All players from IP are kicked. Throws PlayerOpException on problems.
| player | Player who is banning. |
| reason | Reason for ban. May be empty, if permitted by server configuration. |
| announce | Whether ban should be publicly announced on the server. |
| raiseEvents | Whether AddingIPBan, AddedIPBan, BanChanging, and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.BanIP | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Bans given player and their IP address. All players from IP are kicked. Throws PlayerOpException on problems.
| player | Player who is banning. |
| reason | Reason for ban. May be empty, if permitted by server configuration. |
| announce | Whether ban should be publicly announced on the server. |
| raiseEvents | Whether AddingIPBan, AddedIPBan, BanChanging, and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| bool fCraft.PlayerInfo.Can | ( | Permission | permission | ) |
| bool fCraft.PlayerInfo.Can | ( | Permission | permission, |
| Rank | rank | ||
| ) |
| void fCraft.PlayerInfo.ChangeRank | ( | [NotNull] Player | player, |
| [NotNull] Rank | newRank, | ||
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents, | ||
| bool | auto | ||
| ) |
Changes rank of the player (promotes or demotes). Throws PlayerOpException on problems.
| player | Player who originated the promotion/demotion action. |
| newRank | New rank. |
| reason | Reason for promotion/demotion. |
| announce | Whether rank change should be publicly announced or not. |
| raiseEvents | Whether PlayerInfo.RankChanging and PlayerInfo.RankChanged events should be raised. |
| auto | Whether rank change should be marked as "automatic" or manual. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.CheckAccountType | ( | ) |
Begins to asynchronously check player's account type.
| void fCraft.PlayerInfo.Freeze | ( | [NotNull] Player | player, |
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Freezes this player (prevents from moving, building, and from using most commands). Throws PlayerOpException on problems.
| player | Player who is doing the freezing. |
| announce | Whether to announce freezing publicly on the server. |
| raiseEvents | Whether to raise PlayerInfo.FreezeChanging and PlayerInfo.FreezeChanged events. |
| void fCraft.PlayerInfo.Mute | ( | [NotNull] Player | player, |
| TimeSpan | duration, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Mutes this player (prevents from writing chat messages).
| player | Player who is doing the muting. |
| duration | Duration of the mute. If a player is already muted for same or greater length of time, PlayerOpException is thrown with NoActionNeeded code. If a player is already muted for a shorter length of time, the mute duration is extended. |
| announce | Whether to announce muting publicly on the sever. |
| raiseEvents | Whether to raise PlayerInfo.MuteChanging and MuteChanged events. |
| void fCraft.PlayerInfo.ProcessBlockPlaced | ( | byte | type | ) |
| void fCraft.PlayerInfo.ProcessDrawCommand | ( | int | blocksDrawn | ) |
| void fCraft.PlayerInfo.ProcessFailedLogin | ( | [NotNull] Player | player | ) |
| void fCraft.PlayerInfo.ProcessLogin | ( | [NotNull] Player | player | ) |
| void fCraft.PlayerInfo.ProcessLogout | ( | [NotNull] Player | player | ) |
| void fCraft.PlayerInfo.ProcessMessageWritten | ( | ) |
| void fCraft.PlayerInfo.ProcessRankChange | ( | [NotNull] Rank | newRank, |
| [NotNull] string | changer, | ||
| [CanBeNull] string | reason, | ||
| RankChangeType | type | ||
| ) |
| override string fCraft.PlayerInfo.ToString | ( | ) |
| void fCraft.PlayerInfo.Unban | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Unbans a player. Throws PlayerOpException on problems.
| player | Player who is unbanning. |
| reason | Reason for unban. May be empty, if permitted by server configuration. |
| announce | Whether unban should be publicly announced on the server. |
| raiseEvents | Whether BanChanging and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.UnbanAll | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Unbans given player, their IP address, and all other accounts on IP. Throws PlayerOpException on problems.
| player | Player who is unbanning. |
| reason | Reason for unban. May be empty, if permitted by server configuration. |
| announce | Whether unban should be publicly announced on the server. |
| raiseEvents | Whether RemovingIPBan, RemovedIPBan, BanChanging, and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.UnbanIP | ( | [NotNull] Player | player, |
| [CanBeNull] string | reason, | ||
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Unbans given player and their IP address. Throws PlayerOpException on problems.
| player | Player who is unbanning. |
| reason | Reason for unban. May be empty, if permitted by server configuration. |
| announce | Whether unban should be publicly announced on the server. |
| raiseEvents | Whether RemovingIPBan, RemovedIPBan, BanChanging, and BanChanged events should be raised. |
| fCraft.PlayerOpException |
| void fCraft.PlayerInfo.Unfreeze | ( | [NotNull] Player | player, |
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Unfreezes this player. Throws PlayerOpException on problems.
| player | Player who is doing the unfreezing. |
| announce | Whether to announce freezing publicly on the server. |
| raiseEvents | Whether to raise PlayerInfo.FreezeChanging and PlayerInfo.FreezeChanged events. |
| void fCraft.PlayerInfo.Unmute | ( | [NotNull] Player | player, |
| bool | announce, | ||
| bool | raiseEvents | ||
| ) |
Unmutes this player (allows them to write chat again).
| player | Player who is doing the unmuting. |
| announce | Whether to announce unmuting publicly on the sever. |
| raiseEvents | Whether to raise PlayerInfo.MuteChanging and MuteChanged events. |
| AccountType fCraft.PlayerInfo.AccountType |
Minecraft.net account type (paid/free/unknown).
| DateTime fCraft.PlayerInfo.BanDate |
Date of most recent ban, UTC. May be DateTime.MinValue if player was never banned.
| BandwidthUseMode fCraft.PlayerInfo.BandwidthUseMode |
| string fCraft.PlayerInfo.BannedBy |
Name of the player or entity who most recently banned this player. May be null or empty.
| DateTime fCraft.PlayerInfo.BannedUntil |
Not implemented (for temp bans).
| string fCraft.PlayerInfo.BanReason |
Reason given for the most recent ban. May be null or empty.
| int fCraft.PlayerInfo.BlocksBuilt |
Total number of blocks manually built or painted by the player.
| int fCraft.PlayerInfo.BlocksDeleted |
Total number of blocks manually deleted by the player.
| long fCraft.PlayerInfo.BlocksDrawn |
Total number of blocks modified using draw and copy/paste commands.
| string fCraft.PlayerInfo.DisplayedName |
If set, replaces Name when printing name in chat.
| DateTime fCraft.PlayerInfo.FirstLoginDate |
First time the player ever logged in, UTC. May be DateTime.MinValue if player has never been online.
| string fCraft.PlayerInfo.FrozenBy |
Name of the player or entity who most recently froze this player. May be null or empty.
| DateTime fCraft.PlayerInfo.FrozenOn |
Date of the most recent freezing. May be DateTime.MinValue of the player has never been frozen.
| int fCraft.PlayerInfo.ID |
Player's unique numeric ID. Issued on first join.
| bool fCraft.PlayerInfo.IsFrozen |
Whether this player is currently frozen.
| bool fCraft.PlayerInfo.IsHidden |
Whether the player is currently hidden. Use Player.CanSee() method to check visibility to specific observers.
| DateTime fCraft.PlayerInfo.LastFailedLoginDate |
Date of most recent failed attempt to log in, UTC.
| IPAddress fCraft.PlayerInfo.LastFailedLoginIP = IPAddress.None |
IP from which player most recently tried (and failed) to log in, UTC.
| IPAddress fCraft.PlayerInfo.LastIP |
For offline players, last IP used to succesfully log in. For online players, current IP.
| string fCraft.PlayerInfo.LastKickBy |
Name of the player or entity who most recently kicked this player. May be null or empty.
| DateTime fCraft.PlayerInfo.LastKickDate |
Date of the most recent kick. May be DateTime.MinValue if the player has never been kicked.
| string fCraft.PlayerInfo.LastKickReason |
Reason given for the most recent kick. May be null or empty.
| DateTime fCraft.PlayerInfo.LastLoginDate |
Most recent time the player logged in, UTC. May be DateTime.MinValue if player has never been online.
| DateTime fCraft.PlayerInfo.LastModified |
| DateTime fCraft.PlayerInfo.LastSeen |
Last time the player has been seen online (last logout), UTC. May be DateTime.MinValue if player has never been online.
| LeaveReason fCraft.PlayerInfo.LeaveReason |
Reason for leaving the server last time.
| int fCraft.PlayerInfo.MessagesWritten |
Total number of messages written.
| string fCraft.PlayerInfo.MutedBy |
Name of the player or entity who most recently muted this player. May be null or empty.
| DateTime fCraft.PlayerInfo.MutedUntil |
Date until which the player is muted. If the date is in the past, player is NOT muted.
| string fCraft.PlayerInfo.Password = "" |
Not implemented (IRC/server password hash).
| Rank fCraft.PlayerInfo.PreviousRank |
Player's previous rank. May be null if player has never been promoted/demoted before.
| DateTime fCraft.PlayerInfo.RankChangeDate |
Date of the most recent promotion/demotion, UTC. May be DateTime.MinValue if player has never been promoted/demoted before.
| string fCraft.PlayerInfo.RankChangedBy |
Name of the player or entity who most recently promoted/demoted this player. May be null or empty.
| string fCraft.PlayerInfo.RankChangeReason |
Reason given for the most recent promotion/demotion. May be null or empty.
| RankChangeType fCraft.PlayerInfo.RankChangeType |
Type of the most recent promotion/demotion.
| int fCraft.PlayerInfo.TimesBannedOthers |
Number of bans issued by this player.
| int fCraft.PlayerInfo.TimesKicked |
Number of times that this player has been manually kicked.
| int fCraft.PlayerInfo.TimesKickedOthers |
Number of kicks issues by this player.
| int fCraft.PlayerInfo.TimesVisited |
Number of sessions/logins.
| TimeSpan fCraft.PlayerInfo.TotalTime |
Total amount of time the player spent on this server.
| DateTime fCraft.PlayerInfo.UnbanDate |
Date of most recent unban, UTC. May be DateTime.MinValue if player was never unbanned.
| string fCraft.PlayerInfo.UnbannedBy |
Name of the player or entity who most recently unbanned this player. May be null or empty.
| string fCraft.PlayerInfo.UnbanReason |
Reason given for the most recent unban. May be null or empty.
|
get |
Decorated name of the player or entity who most recently banned this player. Returns raw BannedBy value if it's not a recognized player name. Returns '?' if BannedBy is null or empty.
|
get |
|
get |
Decorated name of the player or entity who most recently froze this player. Returns raw FrozenBy value if it's not a recognized player name. Returns '?' if FrozenBy is null or empty.
|
get |
Returns whether player is name-banned or not.
|
get |
Whether this player is currently muted.
|
getset |
Whether the player is currently online. Another way to check online status is to check if PlayerObject is null.
|
get |
Decorated name of the player or entity who most recently kicked this player. Returns raw LastKickBy value if it's not a recognized player name. Returns '?' if LastKickBy is null or empty.
|
get |
Decorated name of the player or entity who most recently muted this player. Returns raw MutedBy value if it's not a recognized player name. Returns '?' if MutedBy is null or empty.
|
getset |
Player's Minecraft account name.
|
getset |
If player is online, Player object associated with the session. If player is offline, null.
|
get |
Decorated name of the player or entity who most recently changed rank of this player. Returns raw RankChangedBy value if it's not a recognized player name. Returns '?' if RankChangedBy is null or empty.
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
Decorated name of the player or entity who most recently unbanned this player. Returns raw UnbannedBy value if it's not a recognized player name. Returns '?' if UnbannedBy is null or empty.
|
static |
Occurs after a player has been banned or unbanned.
|
static |
Occurs when a player is about to be banned or unbanned. Cancelable.
|
static |
Occurs when a new PlayerDB entry is being created. Allows editing the starting rank. Cancelable (kicks the player).
|
static |
Occurs after a new PlayerDB entry has been created.
|
static |
Occurs after a player has been frozen or unfrozen.
|
static |
Occurs when a player is about to be frozen or unfrozen.
|
static |
Occurs after a player has been muted or unmuted.
|
static |
Occurs when a player is about to be muted or unmuted.
|
static |
Occurs after a player's rank was changed (automatically or manually).
|
static |
Occurs when a player's rank is about to be changed (automatically or manually).
1.8.2