2011-06-28 08:11:32 +02:00
.. _plugin-owner:
The Owner plugin
================
2011-06-28 17:29:38 +02:00
Plugins and commands
--------------------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-load:
owner load [--deprecated] <plugin>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Loads the plugin *<plugin>* from any of the directories in
2011-06-28 17:29:38 +02:00
conf.:ref: `supybot.directories.plugins` ; usually this includes the main
2011-06-28 08:11:32 +02:00
installed directory and 'plugins' in the current directory.
*--deprecated* is necessary if you wish to load deprecated plugins.
2011-06-28 17:29:38 +02:00
.. _command-owner-unload:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner unload <plugin>
^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Unloads the callback by name; use the 'list' command to see a list
of the currently loaded callbacks. Obviously, the Owner plugin can't
be unloaded.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-reload:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner reload <plugin>
^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Unloads and subsequently reloads the plugin by name; use the 'list'
command to see a list of the currently loaded plugins.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-rename:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner rename <plugin> <command> <new name>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Renames *<command>* in *<plugin>* to the *<new name>* .
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-unrename:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner unrename <plugin>
^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Removes all renames in *<plugin>* . The plugin will be reloaded after
this command is run.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-enable:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner enable [<plugin> ] <command>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Enables the command *<command>* for all users. If *<plugin>*
if given, only enables the *<command>* from *<plugin>* . This command is
the inverse of disable.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-disable:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner disable [<plugin> ] <command>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Disables the command *<command>* for all users (including the owners).
If *<plugin>* is given, only disables the *<command>* from *<plugin>* . If
you want to disable a command for most users but not for yourself, set
a default capability of -plugin.command or -command (if you want to
disable the command in all plugins).
2011-06-28 17:29:38 +02:00
.. _command-owner-defaultplugin:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner defaultplugin [--remove] <command> [<plugin> ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Sets the default plugin for *<command>* to *<plugin>* . If *--remove* is
given, removes the current default plugin for *<command>* . If no plugin
is given, returns the current default plugin set for *<command>* . See
also, :ref: `supybot.commands.defaultPlugins.importantPlugins.`
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Capabilities
------------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-defaultcapability:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner defaultcapability {add|remove} <capability>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Adds or removes (according to the first argument) *<capability>* from the
default capabilities given to users (the configuration variable
:ref: `supybot.capabilities` stores these).
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Maintenance
-----------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-reloadlocale:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner reloadlocale takes no argument
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Reloads the locale of the bot.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-ircquote:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner ircquote <string to be sent to the server>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Sends the raw string given to the server.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-upkeep:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner upkeep [<level> ]
^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Runs the standard upkeep stuff (flushes and gc.collects()). If given
a level, runs that level of upkeep (currently, the only supported
level is "high", which causes the bot to flush a lot of caches as well
as do normal upkeep stuff.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-flush:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner flush
^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Runs all the periodic flushers in world.flushers. This includes
flushing all logs and all configuration changes to disk.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-quit:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner quit [<text> ]
^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Exits the bot with the QUIT message *<text>* . If *<text>* is not given,
the default quit message (:ref: `supybot.plugins.Owner.quitMsg` ) will be used.
If there is no default quitMsg set, your nick will be used.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-owner-announce:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner announce <text>
^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Sends *<text>* to all channels the bot is currently on and not
lobotomized in.
2011-06-28 17:29:38 +02:00
.. _command-owner-logmark:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
owner logmark <text>
^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Logs *<text>* to the global Supybot log at critical priority. Useful for
marking logfiles for later searching.
2011-10-28 22:49:04 +02:00
.. _plugin-owner-config:
Configuration
-------------
.. _supybot.plugins.Owner.public:
supybot.plugins.Owner.public
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether this plugin is publicly visible.
.. _supybot.plugins.Owner.quitMsg:
supybot.plugins.Owner.quitMsg
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value:
Determines what quit message will be used by default. If the quit command is called without a quit message, this will be used. If this value is empty, the nick of the person giving the quit command will be used.