[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.5 (0.6.3.5)

Syntax

   
 C# 
public enum ConfigKey

Members

MemberValueDescription
ServerName0
MOTD1
MaxPlayers2
MaxPlayersPerWorld3
DefaultRank4
IsPublic5
Port6
UploadBandwidth7
RankColorsInChat8
RankColorsInWorldNames9
RankPrefixesInChat10
RankPrefixesInList11
ShowConnectionMessages12
ShowJoinedWorldMessages13
SystemMessageColor14
HelpColor15
SayColor16
AnnouncementColor17
PrivateMessageColor18
MeColor19
WarningColor20
AnnouncementInterval21
DefaultBuildRank22
MapPath23
VerifyNames24
MaxConnectionsPerIP25
AllowUnverifiedLAN26
PatrolledRank27
AntispamMessageCount28
AntispamInterval29
AntispamMuteDuration30
AntispamMaxWarnings31
PaidPlayersOnly32
RequireBanReason33
RequireKickReason34
RequireRankChangeReason35
AnnounceKickAndBanReasons36
AnnounceRankChanges37
AnnounceRankChangeReasons38
BlockDBEnabled39
BlockDBAutoEnable40
BlockDBAutoEnableRank41
SaveInterval42
BackupOnStartup43
BackupOnJoin44
BackupOnlyWhenChanged45
DefaultBackupInterval46
MaxBackups47
MaxBackupSize48
BackupDataOnStartup49
LogMode50
MaxLogs51
IRCBotEnabled52
IRCBotNick53
IRCBotNetwork54
IRCBotPort55
IRCBotChannels56
IRCBotForwardFromServer57
IRCBotForwardFromIRC58
IRCBotAnnounceServerJoins59
IRCBotAnnounceIRCJoins60
IRCBotAnnounceServerEvents61
IRCRegisteredNick62
IRCNickServ63
IRCNickServMessage64
IRCMessageColor65
IRCUseColor66
IRCStripMinecraftColors67
IRCAllowMinecraftEmotes68
IRCDelay69
IRCThreads70
SubmitCrashReports71
UpdaterMode72
RunBeforeUpdate73
RunAfterUpdate74
BackupBeforeUpdate75
RelayAllBlockUpdates76
NoPartialPositionUpdates77
ProcessPriority78
BlockUpdateThrottling79
TickInterval80
LowLatencyMode81
MaxUndo82
MaxUndoStates83
ConsoleName84
AutoRankEnabled85
HeartbeatEnabled86
WoMEnableEnvExtensions87
IP88
BandwidthUseMode89
RestartInterval90
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