fCraft  0.636
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
Classes | Enumerations
Package fCraft.AutoRank

Classes

class  AutoRankManager
 
class  Condition
 Base class for all AutoRank conditions. More...
 
class  ConditionIntRange
 Class for checking ranges of countable PlayerInfo fields (see ConditionField enum). More...
 
class  ConditionRankChangeType
 Checks what caused player's last rank change (see RankChangeType enum). More...
 
class  ConditionPreviousRank
 Checks what rank the player held previously. More...
 
class  ConditionSet
 Base class for condition sets/combinations. More...
 
class  ConditionAND
 Logical AND - true if ALL conditions are true. More...
 
class  ConditionNAND
 Logical AND - true if NOT ALL of the conditions are true. More...
 
class  ConditionOR
 Logical AND - true if ANY of the conditions are true. More...
 
class  ConditionNOR
 Logical AND - true if NONE of the conditions are true. More...
 
class  Criterion
 

Enumerations

enum  ComparisonOp {
  Eq, Neq, Gt, Gte,
  Lt, Lte
}
 Operators used to compare PlayerInfo fields. More...
 
enum  ConditionField {
  TimeSinceFirstLogin, TimeSinceLastLogin, LastSeen, TotalTime,
  BlocksBuilt, BlocksDeleted, BlocksChanged, BlocksDrawn,
  TimesVisited, MessagesWritten, TimesKicked, TimeSinceRankChange,
  TimeSinceLastKick
}
 Enumeration of quantifiable PlayerInfo fields (or field combinations) that may be used with AutoRank conditions. More...
 

Enumeration Type Documentation

Operators used to compare PlayerInfo fields.

Enumerator:
Eq 

EQuals to

Neq 

Not EQual to

Gt 

Greater Than

Gte 

Greater Than or Equal

Lt 

Less Than

Lte 

Less Than or Equal

Enumeration of quantifiable PlayerInfo fields (or field combinations) that may be used with AutoRank conditions.

Enumerator:
TimeSinceFirstLogin 

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 

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 

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 

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 

Number of blocks that were built manually (by clicking). Does not include drawn or pasted blocks.

BlocksDeleted 

Number of blocks deleted manually (by clicking). Does not include drawn or cut blocks.

BlocksChanged 

Number of blocks changed (built + deleted) manually (by clicking). Does not include drawn or cut/paste blocks.

BlocksDrawn 

Number of blocks affected by drawing commands, replacement, and cut/paste.

TimesVisited 

Number of separate visits/sessions on this server.

MessagesWritten 

Number of messages written in chat. Includes normal chat, PMs, rank chat, /Staff, /Say, and /Me messages.

TimesKicked 

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 

Time since last promotion or demotion, in seconds. For new players (who still have the default rank) this is a huge value.

TimeSinceLastKick 

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).