luaapi:px_setman
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
luaapi:px_setman [14/10/2012 04:06] – created ppk | luaapi:px_setman [28/10/2012 00:03] – ppk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Setting manager functions ====== | + | ====== Setting manager |
^ Function ^ Description ^ | ^ Function ^ Description ^ | ||
|SetMan.Save() | Save settings.| | |SetMan.Save() | Save settings.| | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetMOTD() | Return actual MOTD.| | |SetMan.GetMOTD() | Return actual MOTD.| | ||
|SetMan.SetMOTD(sString) | Set MOTD. < | |SetMan.SetMOTD(sString) | Set MOTD. < | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetBool([[luaapi: | |SetMan.GetBool([[luaapi: | ||
|SetMan.SetBool([[luaapi: | |SetMan.SetBool([[luaapi: | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetNumber([[luaapi: | |SetMan.GetNumber([[luaapi: | ||
|SetMan.SetNumber([[luaapi: | |SetMan.SetNumber([[luaapi: | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetString([[luaapi: | |SetMan.GetString([[luaapi: | ||
|SetMan.SetString([[luaapi: | |SetMan.SetString([[luaapi: | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetMinShare() | Return min share in bytes.| | |SetMan.GetMinShare() | Return min share in bytes.| | ||
|SetMan.SetMinShare(nShareInBytes) | Set min share in bytes.| | |SetMan.SetMinShare(nShareInBytes) | Set min share in bytes.| | ||
|SetMan.SetMinShare(nMinShare, | |SetMan.SetMinShare(nMinShare, | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetMaxShare() | Return max share in bytes.| | |SetMan.GetMaxShare() | Return max share in bytes.| | ||
|SetMan.SetMaxShare(nShareInBytes) | Set max share in bytes.| | |SetMan.SetMaxShare(nShareInBytes) | Set max share in bytes.| | ||
|SetMan.SetMaxShare(nMaxShare, | |SetMan.SetMaxShare(nMaxShare, | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.SetHubSlotRatio(nHubs, | |SetMan.SetHubSlotRatio(nHubs, | ||
- | + | | | | | |
- | ---- | + | |
|SetMan.GetOpChat() | Return table with sNick, sDescription, | |SetMan.GetOpChat() | Return table with sNick, sDescription, | ||
|SetMan.SetOpChat(bEnabled, | |SetMan.SetOpChat(bEnabled, |
luaapi/px_setman.txt · Last modified: 16/06/2015 14:03 by ppk