Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(54) | Call(2) | Derive(46) | Import(6)
src/b/3/b3-1.9.2/b3/game.py b3(Download)
if __name__ == '__main__': from b3.plugin import Plugin from b3.fake import fakeConsole fakeplugin = Plugin(fakeConsole)
src/b/i/big-brother-bot-HEAD/b3/game.py big-brother-bot(Download)
if __name__ == '__main__': from b3.plugin import Plugin from b3.fake import fakeConsole fakeplugin = Plugin(fakeConsole)
src/b/3/b3-1.9.2/b3/extplugins/xlrstats.py b3(Download)
class XlrstatsPlugin(b3.plugin.Plugin): requiresConfigFile = True _world_clientid = None _ffa = ['dm', 'ffa', 'syc-ffa']
class XlrstatscontrollerPlugin(b3.plugin.Plugin): """This is a helper class/plugin that enables and disables the main XLRstats plugin It can not be called directly or separately from the XLRstats plugin!""" def __init__(self, console, minPlayers=3, silent=False):
class XlrstatshistoryPlugin(b3.plugin.Plugin): """This is a helper class/plugin that saves history snapshots It can not be called directly or separately from the XLRstats plugin!""" def __init__(self, console, weeklyTable, monthlyTable, playerstatsTable):
class CtimePlugin(b3.plugin.Plugin): """This is a helper class/plugin that saves client join and disconnect time info It can not be called directly or separately from the XLRstats plugin!""" _clients = {}
src/b/i/big-brother-bot-HEAD/b3/extplugins/xlrstats.py big-brother-bot(Download)
class XlrstatsPlugin(b3.plugin.Plugin): requiresConfigFile = True _world_clientid = None _ffa = ['dm', 'ffa', 'syc-ffa']
class XlrstatscontrollerPlugin(b3.plugin.Plugin): """This is a helper class/plugin that enables and disables the main XLRstats plugin It can not be called directly or separately from the XLRstats plugin!""" def __init__(self, console, minPlayers=3, silent=False):
class XlrstatshistoryPlugin(b3.plugin.Plugin): """This is a helper class/plugin that saves history snapshots It can not be called directly or separately from the XLRstats plugin!""" def __init__(self, console, weeklyTable, monthlyTable, playerstatsTable):
class CtimePlugin(b3.plugin.Plugin): """This is a helper class/plugin that saves client join and disconnect time info It can not be called directly or separately from the XLRstats plugin!""" _clients = {}
src/b/3/b3-1.9.2/b3/plugins/welcome.py b3(Download)
class WelcomePlugin(b3.plugin.Plugin): _newbConnections = 0 _welcomeFlags = 0 _welcomeDelay = 0 _cmd_greeting_minlevel = None
src/b/3/b3-1.9.2/b3/plugins/tk.py b3(Download)
class TkPlugin(b3.plugin.Plugin): _levels = {} _adminPlugin = None _maxLevel = 0 _maxPoints = 0
src/b/3/b3-1.9.2/b3/plugins/status.py b3(Download)
class StatusPlugin(b3.plugin.Plugin): _tkPlugin = None _cronTab = None _ftpstatus = False _ftpinfo = None
src/b/3/b3-1.9.2/b3/plugins/stats.py b3(Download)
class StatsPlugin(b3.plugin.Plugin): _adminPlugin = None def onLoadConfig(self): try:
src/b/3/b3-1.9.2/b3/plugins/spamcontrol.py b3(Download)
class SpamcontrolPlugin(b3.plugin.Plugin): _maxSpamins = 10 _modLevel = 20 _falloffRate = 6.5
src/b/3/b3-1.9.2/b3/plugins/sftpytail.py b3(Download)
class SftpytailPlugin(b3.plugin.Plugin): ### settings _maxGap = 20480 # max gap in bytes between remote file and local file _waitBeforeReconnect = 15 # time (in sec) to wait before reconnecting after loosing FTP connection : _connectionTimeout = 30
1 | 2 | 3 | 4 | 5 Next