[This is preliminary documentation and is subject to change.]
Enumeration of quantifiable PlayerInfo fields (or field combinations) that may be used with AutoRank conditions.
Namespace: fCraft.AutoRankAssembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)
Syntax
| C# |
public enum ConditionField
Members
| Member | Value | Description |
|---|---|---|
| TimeSinceFirstLogin | 0 | Time since first login (first time the player connected), in seconds.
For players who have been entered into PlayerDB but have never logged in, this is a huge value. |
| TimeSinceLastLogin | 1 | Time since most recent login, in seconds.
For players who have been entered into PlayerDB but have never logged in, this is a huge value. |
| LastSeen | 2 | Time since player was last seen (0 if the player is online, otherwise time since last logout, in seconds).
For players who have been entered into PlayerDB but have never logged in, this is a huge value. |
| TotalTime | 3 | Total time spent on the server (including current session) in seconds.
For players who have been entered into PlayerDB but have never logged in, this is 0. |
| BlocksBuilt | 4 | Number of blocks that were built manually (by clicking).
Does not include drawn or pasted blocks. |
| BlocksDeleted | 5 | Number of blocks deleted manually (by clicking).
Does not include drawn or cut blocks. |
| BlocksChanged | 6 | Number of blocks changed (built + deleted) manually (by clicking).
Does not include drawn or cut/paste blocks. |
| BlocksDrawn | 7 | Number of blocks affected by drawing commands, replacement, and cut/paste. |
| TimesVisited | 8 | Number of separate visits/sessions on this server. |
| MessagesWritten | 9 | Number of messages written in chat.
Includes normal chat, PMs, rank chat, /Staff, /Say, and /Me messages. |
| TimesKicked | 10 | Number of times kicked by other players or by console.
Does not include any kind of automated kicks (AFK kicks, anti-grief or anti-spam, server shutdown, etc). |
| TimeSinceRankChange | 11 | Time since last promotion or demotion, in seconds.
For new players (who still have the default rank) this is a huge value. |
| TimeSinceLastKick | 12 | Time since the player has been kicked by other players or by console.
Does not reset from any kind of automated kicks (AFK kicks, anti-grief or anti-spam, server shutdown, etc). |