C# Class HelperBot.Settings

Show file Open project: Jonty800/HelperBot

Public Properties

Property Type Description
Age int
AnnounceCaps bool
AnnounceDemoted bool
AnnounceFell bool
AnnounceFly bool
AnnounceGreeting bool
AnnounceHours bool
AnnounceIRC bool
AnnounceImpersonation bool
AnnounceJokes bool
AnnouncePM bool
AnnounceRank bool
AnnounceServerName bool
AnnounceSpleefTimer bool
AnnounceSuggestBan bool
AnnounceTime bool
AnnounceWarnKick bool
AnnounceWarnSwear bool
BotNameColor string
ColorNames string>.SortedList
CurrentVersion int
Hometown string
HowToGetRankedBuilderString string
HowToGetRankedStaffString string
Name string
Occupation string
ReleaseFlag System.Flags
Sex string
StuckMessage string
Website string
XmlVersion int

Public Methods

Method Description
GetName ( char code ) : string
GetName ( string color ) : string
IsValidColorCode ( char code ) : bool
Load ( ) : void
Parse ( char code ) : string
Parse ( string color ) : string

Method Details

GetName() public static method

public static GetName ( char code ) : string
code char
return string

GetName() public static method

public static GetName ( string color ) : string
color string
return string

IsValidColorCode() public static method

public static IsValidColorCode ( char code ) : bool
code char
return bool

Load() public static method

public static Load ( ) : void
return void

Parse() public static method

public static Parse ( char code ) : string
code char
return string

Parse() public static method

public static Parse ( string color ) : string
color string
return string

Property Details

Age public static property

public static int Age
return int

AnnounceCaps public static property

Warns players for spamming caps
public static bool AnnounceCaps
return bool

AnnounceDemoted public static property

Explains why a player was demoted
public static bool AnnounceDemoted
return bool

AnnounceFell public static property

Explains how to return to respawn (r)
public static bool AnnounceFell
return bool

AnnounceFly public static property

Whether a server announces how to fly or not
public static bool AnnounceFly
return bool

AnnounceGreeting public static property

Greets a player if they are logging in for the first time
public static bool AnnounceGreeting
return bool

AnnounceHours public static property

Announce a players current hours upon asking
public static bool AnnounceHours
return bool

AnnounceIRC public static property

Bot will forward all chat to the irc channel
public static bool AnnounceIRC
return bool

AnnounceImpersonation public static property

Bot will kick a player if impersonating the bot
public static bool AnnounceImpersonation
return bool

AnnounceJokes public static property

Bot will display jokes/funfacts
public static bool AnnounceJokes
return bool

AnnouncePM public static property

Explains how to use PM
public static bool AnnouncePM
return bool

AnnounceRank public static property

Announce what a players next rank is
public static bool AnnounceRank
return bool

AnnounceServerName public static property

Announce the server name upon asking
public static bool AnnounceServerName
return bool

AnnounceSpleefTimer public static property

Bot will start a timer for spleef
public static bool AnnounceSpleefTimer
return bool

AnnounceSuggestBan public static property

Suggest to mods in staff chat that a ban is in order
public static bool AnnounceSuggestBan
return bool

AnnounceTime public static property

Bot will display time of day
public static bool AnnounceTime
return bool

AnnounceWarnKick public static property

Warn a player when they log back in after a kick (Via PM)
public static bool AnnounceWarnKick
return bool

AnnounceWarnSwear public static property

Warn players when they swear via PM
public static bool AnnounceWarnSwear
return bool

BotNameColor public static property

The color of the bots name Default: Red
public static string BotNameColor
return string

ColorNames public static property

public static SortedList ColorNames
return string>.SortedList

CurrentVersion public static property

Current version of the config file and xml file
public static int CurrentVersion
return int

Hometown public static property

public static string Hometown
return string

HowToGetRankedBuilderString public static property

String value for "how do I get ranked" (builder)
public static string HowToGetRankedBuilderString
return string

HowToGetRankedStaffString public static property

String value for "how do I get ranked" (staff)
public static string HowToGetRankedStaffString
return string

Name public static property

The name of the bot Deafult: Alice
public static string Name
return string

Occupation public static property

public static string Occupation
return string

ReleaseFlag public static property

public static Flags,System ReleaseFlag
return System.Flags

Sex public static property

public static string Sex
return string

StuckMessage public static property

String value for "I am stuck" reply
public static string StuckMessage
return string

Website public static property

String value for the server's website
public static string Website
return string

XmlVersion public static property

public static int XmlVersion
return int