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

Enumeration of available configuration keys. See comments at the top of Config.cs for a history of changes.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public enum ConfigKey

Members

MemberValueDescription
ServerName0
MOTD1
MaxPlayers2
MaxPlayersPerWorld3
DefaultRank4
IsPublic5
Port6
UploadBandwidth7
HeartbeatToWoMDirect8
WoMDirectDescription9
WoMDirectFlags10
RankColorsInChat11
RankColorsInWorldNames12
RankPrefixesInChat13
RankPrefixesInList14
ShowConnectionMessages15
ShowJoinedWorldMessages16
SystemMessageColor17
HelpColor18
SayColor19
AnnouncementColor20
PrivateMessageColor21
MeColor22
WarningColor23
AnnouncementInterval24
DefaultBuildRank25
MapPath26
VerifyNames27
MaxConnectionsPerIP28
AllowUnverifiedLAN29
PatrolledRank30
AntispamMessageCount31
AntispamInterval32
AntispamMuteDuration33
AntispamMaxWarnings34
PaidPlayersOnly35
RequireBanReason36
RequireKickReason37
RequireRankChangeReason38
AnnounceKickAndBanReasons39
AnnounceRankChanges40
AnnounceRankChangeReasons41
BlockDBEnabled42
BlockDBAutoEnable43
BlockDBAutoEnableRank44
SaveInterval45
BackupOnStartup46
BackupOnJoin47
BackupOnlyWhenChanged48
DefaultBackupInterval49
MaxBackups50
MaxBackupSize51
BackupDataOnStartup52
LogMode53
MaxLogs54
IRCBotEnabled55
IRCBotNick56
IRCBotNetwork57
IRCBotPort58
IRCBotChannels59
IRCBotForwardFromServer60
IRCBotForwardFromIRC61
IRCBotAnnounceServerJoins62
IRCBotAnnounceIRCJoins63
IRCBotAnnounceServerEvents64
IRCRegisteredNick65
IRCNickServ66
IRCNickServMessage67
IRCMessageColor68
IRCUseColor69
IRCStripMinecraftColors70
IRCDelay71
IRCThreads72
SubmitCrashReports73
UpdaterMode74
RunBeforeUpdate75
RunAfterUpdate76
BackupBeforeUpdate77
RelayAllBlockUpdates78
NoPartialPositionUpdates79
ProcessPriority80
BlockUpdateThrottling81
TickInterval82
LowLatencyMode83
MaxUndo84
MaxUndoStates85
ConsoleName86
AutoRankEnabled87
HeartbeatEnabled88
WoMEnableEnvExtensions89
IP90
BandwidthUseMode91
RestartInterval92
IsDefault
Checks whether given ConfigKey still has its default value.
GetDefault
Provides the default value for a given ConfigKey.
IsBlank
Checks whether any value has been set for a given key.
GetString
Returns raw value for the given key.
GetInt
Attempts to parse given key's value as an integer. Throws a FormatException on failure.
TryGetInt
Attempts to parse a given key's value as an integer.
GetEnum
Attempts to parse a given key's value as an enumeration. An ArgumentException is thrown if value could not be parsed. Note the parsing is done in a case-insensitive way.
Enabled
Attempts to parse given key's value as a boolean. Throws a FormatException on failure.
TryGetBool
Attempts to parse a given key's value as a boolean.
GetValueType
Returns the expected Type of the key's value, as specified in key metadata.
GetMetadata
Returns the metadata container (ConfigKeyAttribute object) for a given key.
GetSection
Returns the ConfigSection that a given key is associated with.
GetDescription
Returns the description text for a given config key.
ResetValue
Resets key value to its default setting.
SetValue
Sets value of a given config key. Note that this method may throw exceptions if the given value is not acceptable. Use Config.TrySetValue() if you'd like to suppress exceptions in favor of a boolean return value.
TrySetValue
Attempts to set the value of a given config key. Check the return value to make sure that the given value was acceptable.

See Also