.. _plugin:data: ==== DATA ==== | about ----- | :author: FeedBackLoop :contact: FREENODE/#fbf :distribution: core :license: | description ----------- | data dumper commands. | commands -------- | :commands in this plugin: data-bot .. data-event .. data-cfg .. data-chan .. data-main | 1) *data-bot .. [handle_databot]* :description: no arguments - dump bot as json dict. :permissions: OPER :code: :ref:`fbf.plugs.core.data_data-bot_command`. :examples: :: ;data-bot {"status": "init", "networkname": "testbot", "encoding": "utf-8", "allowall": true, "nicks": {}, "reconnectcount": 0, "ids": [], "ignore": ["dunker"], "fleetdir": "fleet/testbot", "ecounter": 0, "starttime": 1349199509.223684, "inputmorphs": [], "type": "base"} 2) *data-cfg .. [handle_datacfg]* :description: no arguments - dump bot as json dict. :permissions: OPER :code: :ref:`fbf.lib.persistconfig_PersistConfig_class`. :examples: :: ;data-cfg {"jsondb": null, "uuid": "809d338c-fcb6-4a61-8849-90c87dc14b9b", "nick": "fbf", "server": "", "channels": [], "ssl": 0, "host": "", "disable": 1, "logname": "config/fleet/testbot/config", "issaved": true, "ipv6": 0, "port": "", "name": "testbot"} 3) *data-chan .. [handle_datachan]* :description: no arguments - dump channel data to json. :permissions: OPER :code: :ref:`fbf.plugs.core.data_data-chan_command`. :examples: :: ;data-chan {"autovoice": 1, "enable": false, "forwards": ["fbfbot@"], "ops": [], "allowcommands": ["learn"], "denyplug": ["idle"], "cacheindex": 0, "nick": "fbf", "allowwatch": ["feedbackloop@gmail.com"], "watched": [], "feeds": [], "silentcommands": [], "id": "#test", "cc": "!#"} 4) *data-event .. [handle_dataevent]* :description: no arguments - dump event to json. :permissions: OPER :code: :ref:`fbf.plugs.core.data_data-event_command`. :examples: :: ;data-event {"origin": "#test", "cbtype": "CMND", "usercmnd": "data-event", "inchan": false, "nooutput": false, "chantag": "data-event", "nrout": 0, "auth": "test@test", "showall": false, "setupdone": true, "txt": ";data-event", "speed": 5, "bonded": true, "wait": 0, "iscommand": true, "ctime": 1349199512.562687, "nick": "test", "userhost": "test@test", "nodispatch": false, "how": "overwrite", - 1 more 5) *data-main .. [handle_datamain]* :description: no arguments - dump bot as json dict. :permissions: OPER :code: :ref:`fbf.plugs.core.data_data-main_command`. :examples: :: ;data-main {"domain": "", "bindhost": "", "loadlist": [], "auto_register": 0, "color": "", "whitelist": [], "dbenable": 1, "app_id": "fbfbot", "loglist": [], "blacklist": [], "colors": "", "dotchars": ", ", "issaved": true, "ticksleep": 1, "port": "", "allowrc": 0, "uuid": "55a6c251-f0a6-44bd-b211-ff076f6c6f6d", "appname": "FBFBOT", "dbtype": "sqlite", "allowremoterc": 0, "guestasuser": - 1 more