SetMan metatable

SetMan.Save()- Save settings.
 
SetMan.GetMOTD()
SetMan.SetMOTD(sString)- | is not allowed.
 
SetMan.GetBool(nBoolId)- true or nil.
SetMan.SetBool(nBoolId, bBoolean)
 
SetMan.GetNumber(nNumberId)
SetMan.SetNumber(nNumberId, nNumber)
 
SetMan.GetString(nStringId)- String or nil.
SetMan.SetString(nStringId, sString)
 
SetMan.GetMinShare()- Return min share in bytes.
SetMan.SetMinShare(nShareInBytes)
SetMan.SetMinShare(nMinShare, nShareUnits)- nMinShare max is 9999. nShareUnits 0 = B, 1 = kB, 2 = MB, 3 = GB, 4 = TB
 
SetMan.GetMaxShare()- Return max share in bytes.
SetMan.SetMaxShare(nShareInBytes)
SetMan.SetMaxShare(nMaxShare, nShareUnits)- nMaxShare max is 9999. nShareUnits 0 = B, 1 = kB, 2 = MB, 3 = GB, 4 = TB
 
SetMan.SetHubSlotRatio(nHubs, nSlots)
 
SetMan.GetOpChat()- Return table with sNick, sDescription, sEmail, bEnabled.
SetMan.SetOpChat(bEnabled, sNewOpChatName, sNewDescription, sNewEmail)- Max length of string is 64 chars !!! In nick is not allowed $|<>:?*"/\ and space. In Description and Email is not allowed $ and |. Return nil when failed, true when success.
SetMan.GetHubBot()- Return table with sNick, sDescription, sEmail, bEnabled, bUsedAsHubSecAlias.
SetMan.SetHubBot(bEnabled, sNewHubBotName, sNewDescription, sNewEmail, bUseAsHubSecAlias)- Max length of string is 64 chars !!! In nick is not allowed $|<>:?*"/\ and space. In Description and Email is not allowed $ and |. Return nil when failed, true when success.