mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
8315 lines
No EOL
656 KiB
HTML
8315 lines
No EOL
656 KiB
HTML
|
||
<!DOCTYPE html>
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<title>evennia.commands.default package — Evennia 1.0-dev documentation</title>
|
||
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
|
||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
||
<script src="../_static/jquery.js"></script>
|
||
<script src="../_static/underscore.js"></script>
|
||
<script src="../_static/doctools.js"></script>
|
||
<script src="../_static/language_data.js"></script>
|
||
<link rel="index" title="Index" href="../genindex.html" />
|
||
<link rel="search" title="Search" href="../search.html" />
|
||
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||
|
||
</head><body>
|
||
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
|
||
|
||
<div class="body" role="main">
|
||
|
||
<div class="section" id="module-evennia.commands.default">
|
||
<span id="evennia-commands-default-package"></span><h1>evennia.commands.default package<a class="headerlink" href="#module-evennia.commands.default" title="Permalink to this headline">¶</a></h1>
|
||
<p>This package contains all default commands of Evennia, grouped after category.</p>
|
||
<div class="section" id="submodules">
|
||
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.account">
|
||
<span id="evennia-commands-default-account-module"></span><h2>evennia.commands.default.account module<a class="headerlink" href="#module-evennia.commands.default.account" title="Permalink to this headline">¶</a></h2>
|
||
<p>Account (OOC) commands. These are stored on the Account object
|
||
and self.caller is thus always an Account, not an Object/Character.</p>
|
||
<p>These commands go in the AccountCmdset and are accessible also
|
||
when puppeting a Character (although with lower priority)</p>
|
||
<p>These commands use the account_caller property which tells the command
|
||
parent (MuxCommand, usually) to setup caller correctly. They use
|
||
self.account to make sure to always use the account object rather than
|
||
self.caller (which change depending on the level you are calling from)
|
||
The property self.character can be used to access the character when
|
||
these commands are triggered with a connected character (such as the
|
||
case of the <cite>ooc</cite> command), it is None if we are OOC.</p>
|
||
<p>Note that under MULTISESSION_MODE > 2, Account commands should use
|
||
self.msg() and similar methods to reroute returns to the correct
|
||
method. Otherwise all text will be returned to all connected sessions.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdOOCLook</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOOCLook"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.account.MuxAccountLookCommand</span></code></p>
|
||
<p>look while out-of-character</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>look</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Look in the ooc state.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('look', 'ls', 'l')</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'l', 'look', 'ls'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['l', 'ls']</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOOCLook.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implement the ooc look command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'look'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOCLook.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look while out-of-character\n\n Usage:\n look\n\n Look in the ooc state.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOCLook.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdIC">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdIC</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdIC"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdIC" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>control an object you have permission to puppet</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>ic <character></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Go in-character (IC) as a given Character.</p>
|
||
<p>This will attempt to “become” a different object assuming you have
|
||
the right to do so. Note that it’s the ACCOUNT character that puppets
|
||
characters/objects and which needs to have the correct permission!</p>
|
||
<p>You cannot become an object that is already controlled by another
|
||
account. In principle <character> can be any in-game object as long
|
||
as you the account have access right to puppet it.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('ic', 'puppet')</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'ic', 'puppet'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['puppet']</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdIC.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdIC.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdIC.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Main puppet method</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'ic'</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdIC.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'puppet', 'category': 'general', 'key': 'ic', 'tags': '', 'text': '\n control an object you have permission to puppet\n\n Usage:\n ic <character>\n\n Go in-character (IC) as a given Character.\n\n This will attempt to "become" a different object assuming you have\n the right to do so. Note that it\'s the ACCOUNT character that puppets\n characters/objects and which needs to have the correct permission!\n\n You cannot become an object that is already controlled by another\n account. In principle <character> can be any in-game object as long\n as you the account have access right to puppet it.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdIC.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdOOC">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdOOC</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOOC"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOOC" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.account.MuxAccountLookCommand</span></code></p>
|
||
<p>stop puppeting and go ooc</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>ooc</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Go out-of-character (OOC).</p>
|
||
<p>This will leave your current character and put you in a incorporeal OOC state.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('unpuppet', 'ooc')</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'ooc', 'unpuppet'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['unpuppet']</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdOOC.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOOC.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'ooc'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOOC.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'unpuppet', 'category': 'general', 'key': 'ooc', 'tags': '', 'text': '\n stop puppeting and go ooc\n\n Usage:\n ooc\n\n Go out-of-character (OOC).\n\n This will leave your current character and put you in a incorporeal OOC state.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOOC.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdPassword">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdPassword</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdPassword"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdPassword" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>change your password</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>password <old password> = <new password></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Changes your password. Make sure to pick a safe one.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('password',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'password'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdPassword.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdPassword.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>hook function.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'password'</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdPassword.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'password', 'tags': '', 'text': '\n change your password\n\n Usage:\n password <old password> = <new password>\n\n Changes your password. Make sure to pick a safe one.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdPassword.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdQuit">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdQuit</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdQuit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdQuit" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>quit the game</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>quit</p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>all - disconnect all connected sessions</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Gracefully disconnect your current session from the
|
||
game. Use the /all switch to disconnect from all sessions.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('quit',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'quit'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdQuit.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdQuit.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>hook function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'quit'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'quit', 'tags': '', 'text': '\n quit the game\n\n Usage:\n quit\n\n Switch:\n all - disconnect all connected sessions\n\n Gracefully disconnect your current session from the\n game. Use the /all switch to disconnect from all sessions.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuit.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('all',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuit.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdCharCreate</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdCharCreate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>create a new character</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>charcreate <charname> [= desc]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Create a new character, optionally giving it a description. You
|
||
may use upper-case letters in the name - you will nevertheless
|
||
always be able to access your character using lower-case letters
|
||
if you want.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('charcreate',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'charcreate'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdCharCreate.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>create the new character</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'charcreate'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharCreate.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'charcreate', 'tags': '', 'text': '\n create a new character\n\n Usage:\n charcreate <charname> [= desc]\n\n Create a new character, optionally giving it a description. You\n may use upper-case letters in the name - you will nevertheless\n always be able to access your character using lower-case letters\n if you want.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharCreate.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdOption">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdOption</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOption"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOption" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>Set an account option</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>option[/save] [name = value]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>save - Save the current option settings for future logins.
|
||
clear - Clear the saved options.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This command allows for viewing and setting client interface
|
||
settings. Note that saved options may not be able to be used if
|
||
later connecting with a client with different capabilities.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('options', 'option')</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'option', 'options'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['options']</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdOption.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdOption.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdOption.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'option'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'options', 'category': 'general', 'key': 'option', 'tags': '', 'text': '\n Set an account option\n\n Usage:\n option[/save] [name = value]\n\n Switches:\n save - Save the current option settings for future logins.\n clear - Clear the saved options.\n\n This command allows for viewing and setting client interface\n settings. Note that saved options may not be able to be used if\n later connecting with a client with different capabilities.\n\n\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdOption.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('save', 'clear')</em><a class="headerlink" href="#evennia.commands.default.account.CmdOption.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdSessions">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdSessions</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdSessions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdSessions" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>check your connected session(s)</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>sessions</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Lists the sessions currently connected to your account.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('sessions',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'sessions'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdSessions.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdSessions.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'sessions'</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdSessions.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'sessions', 'tags': '', 'text': '\n check your connected session(s)\n\n Usage:\n sessions\n\n Lists the sessions currently connected to your account.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdSessions.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdWho">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdWho</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdWho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdWho" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>list who is currently online</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>who
|
||
doing</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Shows who is currently online. Doing is an alias that limits info
|
||
also for those with all permissions.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('doing', 'who')</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'doing', 'who'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['doing']</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdWho.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdWho.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdWho.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Get all connected accounts by polling session.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'who'</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdWho.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'doing', 'category': 'general', 'key': 'who', 'tags': '', 'text': '\n list who is currently online\n\n Usage:\n who\n doing\n\n Shows who is currently online. Doing is an alias that limits info\n also for those with all permissions.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdWho.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdColorTest">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdColorTest</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdColorTest"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>testing which colors your client support</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>color ansi||xterm256</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Prints a color map along with in-mud color codes to use to produce
|
||
them. It also tests what is supported in your client. Choices are
|
||
16-color ansi (supported in most muds) or the 256-color xterm256
|
||
standard. No checking is done to determine your client supports
|
||
color - if not you will see rubbish appear.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('color',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'color'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdColorTest.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Show color tables</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'color'</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'color', 'tags': '', 'text': '\n testing which colors your client support\n\n Usage:\n color ansi||xterm256\n\n Prints a color map along with in-mud color codes to use to produce\n them. It also tests what is supported in your client. Choices are\n 16-color ansi (supported in most muds) or the 256-color xterm256\n standard. No checking is done to determine your client supports\n color - if not you will see rubbish appear.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.slice_bright_bg">
|
||
<code class="sig-name descname">slice_bright_bg</code><em class="property"> = slice(None, None, None)</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.slice_bright_bg" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.slice_bright_fg">
|
||
<code class="sig-name descname">slice_bright_fg</code><em class="property"> = slice(7, 15, None)</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.slice_bright_fg" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.slice_dark_bg">
|
||
<code class="sig-name descname">slice_dark_bg</code><em class="property"> = slice(-8, None, None)</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.slice_dark_bg" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.slice_dark_fg">
|
||
<code class="sig-name descname">slice_dark_fg</code><em class="property"> = slice(15, 23, None)</em><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.slice_dark_fg" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdColorTest.table_format">
|
||
<code class="sig-name descname">table_format</code><span class="sig-paren">(</span><em class="sig-param">table</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdColorTest.table_format"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdColorTest.table_format" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper method to format the ansi/xterm256 tables.
|
||
Takes a table of columns [[val,val,…],[val,val,…],…]</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdQuell">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdQuell</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdQuell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdQuell" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>use character’s permissions instead of account’s</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>quell
|
||
unquell</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Normally the permission level of the Account is used when puppeting a
|
||
Character/Object to determine access. This command will switch the lock
|
||
system to make use of the puppeted Object’s permissions instead. This is
|
||
useful mainly for testing.
|
||
Hierarchical permission quelling only work downwards, thus an Account cannot
|
||
use a higher-permission Character to escalate their permission level.
|
||
Use the unquell command to revert back to normal operation.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('unquell', 'quell')</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'quell', 'unquell'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdQuell._recache_locks">
|
||
<code class="sig-name descname">_recache_locks</code><span class="sig-paren">(</span><em class="sig-param">account</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdQuell._recache_locks"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdQuell._recache_locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper method to reset the lockhandler on an already puppeted object</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['unquell']</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdQuell.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdQuell.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Perform the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'quell'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdQuell.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'unquell', 'category': 'general', 'key': 'quell', 'tags': '', 'text': "\n use character's permissions instead of account's\n\n Usage:\n quell\n unquell\n\n Normally the permission level of the Account is used when puppeting a\n Character/Object to determine access. This command will switch the lock\n system to make use of the puppeted Object's permissions instead. This is\n useful mainly for testing.\n Hierarchical permission quelling only work downwards, thus an Account cannot\n use a higher-permission Character to escalate their permission level.\n Use the unquell command to revert back to normal operation.\n "}</em><a class="headerlink" href="#evennia.commands.default.account.CmdQuell.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdCharDelete</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdCharDelete"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>delete a character - this cannot be undone!</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>chardelete <charname></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Permanently deletes one of your characters.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('chardelete',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'chardelete'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdCharDelete.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>delete the character</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'chardelete'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdCharDelete.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'chardelete', 'tags': '', 'text': '\n delete a character - this cannot be undone!\n\n Usage:\n chardelete <charname>\n\n Permanently deletes one of your characters.\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdCharDelete.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.account.CmdStyle">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.account.</code><code class="sig-name descname">CmdStyle</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdStyle"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdStyle" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>In-game style options</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>style
|
||
style <option> = <value></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Configure stylings for in-game display elements like table borders, help
|
||
entriest etc. Use without arguments to see all available options.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('style',)</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'style'}</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdStyle.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdStyle.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This is the hook function that actually does all the work. It is called
|
||
by the cmdhandler right after self.parser() finishes, and so has access
|
||
to all the variables defined therein.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'style'</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdStyle.list_styles">
|
||
<code class="sig-name descname">list_styles</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdStyle.list_styles"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.list_styles" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all();'</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'style', 'tags': '', 'text': '\n In-game style options\n\n Usage:\n style\n style <option> = <value>\n\n Configure stylings for in-game display elements like table borders, help\n entriest etc. Use without arguments to see all available options.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.account.CmdStyle.set">
|
||
<code class="sig-name descname">set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/account.html#CmdStyle.set"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.set" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.account.CmdStyle.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ['clear']</em><a class="headerlink" href="#evennia.commands.default.account.CmdStyle.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.admin">
|
||
<span id="evennia-commands-default-admin-module"></span><h2>evennia.commands.default.admin module<a class="headerlink" href="#module-evennia.commands.default.admin" title="Permalink to this headline">¶</a></h2>
|
||
<p>Admin commands</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdBoot">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdBoot</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdBoot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>kick an account from the server.</p>
|
||
<dl class="simple">
|
||
<dt>Usage</dt><dd><p>boot[/switches] <account obj> [: reason]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>quiet - Silently boot without informing account
|
||
sid - boot by session id instead of name or dbref</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Boot an account object from the server. If a reason is
|
||
supplied it will be echoed to the user unless /quiet is set.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('boot',)</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'boot'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdBoot.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implementing the function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'boot'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(boot) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(boot) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'admin', 'key': 'boot', 'tags': '', 'text': '\n kick an account from the server.\n\n Usage\n boot[/switches] <account obj> [: reason]\n\n Switches:\n quiet - Silently boot without informing account\n sid - boot by session id instead of name or dbref\n\n Boot an account object from the server. If a reason is\n supplied it will be echoed to the user unless /quiet is set.\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBoot.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('quiet', 'sid')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBoot.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdBan">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdBan</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdBan"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdBan" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>ban an account from the server</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>ban [<name or ip> [: reason]]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Without any arguments, shows numbered list of active bans.</p>
|
||
<p>This command bans a user from accessing the game. Supply an optional
|
||
reason to be able to later remember why the ban was put in place.</p>
|
||
<p>It is often preferable to ban an account from the server than to
|
||
delete an account with accounts/delete. If banned by name, that account
|
||
account can no longer be logged into.</p>
|
||
<p>IP (Internet Protocol) address banning allows blocking all access
|
||
from a specific address or subnet. Use an asterisk (*) as a
|
||
wildcard.</p>
|
||
<p class="rubric">Examples</p>
|
||
<p>ban thomas - ban account ‘thomas’
|
||
ban/ip 134.233.2.111 - ban specific ip address
|
||
ban/ip 134.233.2.* - ban all in a subnet
|
||
ban/ip 134.233.*.* - even wider ban</p>
|
||
<p>A single IP filter can be easy to circumvent by changing computers
|
||
or requesting a new IP address. Setting a wide IP block filter with
|
||
wildcards might be tempting, but remember that it may also
|
||
accidentally block innocent users connecting from the same country
|
||
or region.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('bans', 'ban')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'ban', 'bans'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['bans']</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdBan.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdBan.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bans are stored in a serverconf db object as a list of
|
||
dictionaries:</p>
|
||
<blockquote>
|
||
<div><dl class="simple">
|
||
<dt>[ (name, ip, ipregex, date, reason),</dt><dd><p>(name, ip, ipregex, date, reason),… ]</p>
|
||
</dd>
|
||
</dl>
|
||
</div></blockquote>
|
||
<p>where name and ip are set by the user and are shown in
|
||
lists. ipregex is a converted form of ip where the * is
|
||
replaced by an appropriate regex pattern for fast
|
||
matching. date is the time stamp the ban was instigated and
|
||
‘reason’ is any optional info given to the command. Unset
|
||
values in each tuple is set to the empty string.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'ban'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(ban) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(ban) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdBan.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'bans', 'category': 'admin', 'key': 'ban', 'tags': '', 'text': "\n ban an account from the server\n\n Usage:\n ban [<name or ip> [: reason]]\n\n Without any arguments, shows numbered list of active bans.\n\n This command bans a user from accessing the game. Supply an optional\n reason to be able to later remember why the ban was put in place.\n\n It is often preferable to ban an account from the server than to\n delete an account with accounts/delete. If banned by name, that account\n account can no longer be logged into.\n\n IP (Internet Protocol) address banning allows blocking all access\n from a specific address or subnet. Use an asterisk (*) as a\n wildcard.\n\n Examples:\n ban thomas - ban account 'thomas'\n ban/ip 134.233.2.111 - ban specific ip address\n ban/ip 134.233.2.* - ban all in a subnet\n ban/ip 134.233.*.* - even wider ban\n\n A single IP filter can be easy to circumvent by changing computers\n or requesting a new IP address. Setting a wide IP block filter with\n wildcards might be tempting, but remember that it may also\n accidentally block innocent users connecting from the same country\n or region.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdBan.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdUnban">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdUnban</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdUnban"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>remove a ban from an account</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>unban <banid></p>
|
||
</dd>
|
||
</dl>
|
||
<p>This will clear an account name/ip ban previously set with the ban
|
||
command. Use this command without an argument to view a numbered
|
||
list of bans. Use the numbers in this list to select which one to
|
||
unban.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('unban',)</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'unban'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdUnban.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement unbanning</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'unban'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(unban) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(unban) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdUnban.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'admin', 'key': 'unban', 'tags': '', 'text': '\n remove a ban from an account\n\n Usage:\n unban <banid>\n\n This will clear an account name/ip ban previously set with the ban\n command. Use this command without an argument to view a numbered\n list of bans. Use the numbers in this list to select which one to\n unban.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdUnban.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdEmit">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdEmit</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdEmit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>admin command for emitting message to multiple objects</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>emit[/switches] [<obj>, <obj>, … =] <message>
|
||
remit [<obj>, <obj>, … =] <message>
|
||
pemit [<obj>, <obj>, … =] <message></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>room - limit emits to rooms only (default)
|
||
accounts - limit emits to accounts only
|
||
contents - send to the contents of matched objects too</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Emits a message to the selected objects or to
|
||
your immediate surroundings. If the object is a room,
|
||
send to its contents. remit and pemit are just
|
||
limited forms of emit, for sending to rooms and
|
||
to accounts respectively.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('emit', 'pemit', 'remit')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'emit', 'pemit', 'remit'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['pemit', 'remit']</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdEmit.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'emit'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(emit) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(emit) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'pemit remit', 'category': 'admin', 'key': 'emit', 'tags': '', 'text': '\n admin command for emitting message to multiple objects\n\n Usage:\n emit[/switches] [<obj>, <obj>, ... =] <message>\n remit [<obj>, <obj>, ... =] <message>\n pemit [<obj>, <obj>, ... =] <message>\n\n Switches:\n room - limit emits to rooms only (default)\n accounts - limit emits to accounts only\n contents - send to the contents of matched objects too\n\n Emits a message to the selected objects or to\n your immediate surroundings. If the object is a room,\n send to its contents. remit and pemit are just\n limited forms of emit, for sending to rooms and\n to accounts respectively.\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdEmit.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('room', 'accounts', 'contents')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdEmit.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdNewPassword</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdNewPassword"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>change the password of an account</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>userpassword <user obj> = <new password></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Set an account’s password.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('userpassword',)</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'userpassword'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdNewPassword.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the function.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'userpassword'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(newpassword) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(newpassword) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdNewPassword.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'admin', 'key': 'userpassword', 'tags': '', 'text': "\n change the password of an account\n\n Usage:\n userpassword <user obj> = <new password>\n\n Set an account's password.\n "}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdNewPassword.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdPerm">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdPerm</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdPerm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>set the permissions of an account/object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>perm[/switch] <object> [= <permission>[,<permission>,…]]
|
||
perm[/switch] <a href="#id1"><span class="problematic" id="id2">*</span></a><account> [= <permission>[,<permission>,…]]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>del - delete the given permission from <object> or <account>.
|
||
account - set permission on an account (same as adding * to name)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This command sets/clears individual permission strings on an object
|
||
or account. If no permission is given, list all permissions on <object>.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('perm', 'setperm')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'perm', 'setperm'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['setperm']</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdPerm.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'perm'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(perm) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(perm) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'setperm', 'category': 'admin', 'key': 'perm', 'tags': '', 'text': '\n set the permissions of an account/object\n\n Usage:\n perm[/switch] <object> [= <permission>[,<permission>,...]]\n perm[/switch] *<account> [= <permission>[,<permission>,...]]\n\n Switches:\n del - delete the given permission from <object> or <account>.\n account - set permission on an account (same as adding * to name)\n\n This command sets/clears individual permission strings on an object\n or account. If no permission is given, list all permissions on <object>.\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdPerm.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('del', 'account')</em><a class="headerlink" href="#evennia.commands.default.admin.CmdPerm.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdWall">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdWall</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdWall"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdWall" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>make an announcement to all</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>wall <message></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Announces a message to all connected sessions
|
||
including all currently unlogged in.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('wall',)</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'wall'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdWall.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdWall.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'admin'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'wall'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(wall) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(wall) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdWall.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'admin', 'key': 'wall', 'tags': '', 'text': '\n make an announcement to all\n\n Usage:\n wall <message>\n\n Announces a message to all connected sessions\n including all currently unlogged in.\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdWall.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.admin.CmdForce">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.admin.</code><code class="sig-name descname">CmdForce</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdForce"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdForce" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>forces an object to execute a command</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>force <object>=<command string></p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>force bob=get stick</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('force',)</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'force'}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.admin.CmdForce.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/admin.html#CmdForce.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements the force command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'force'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.perm_used">
|
||
<code class="sig-name descname">perm_used</code><em class="property"> = 'edit'</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.perm_used" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.admin.CmdForce.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'force', 'tags': '', 'text': '\n forces an object to execute a command\n\n Usage:\n force <object>=<command string>\n\n Example:\n force bob=get stick\n '}</em><a class="headerlink" href="#evennia.commands.default.admin.CmdForce.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.batchprocess">
|
||
<span id="evennia-commands-default-batchprocess-module"></span><h2>evennia.commands.default.batchprocess module<a class="headerlink" href="#module-evennia.commands.default.batchprocess" title="Permalink to this headline">¶</a></h2>
|
||
<p>Batch processors</p>
|
||
<p>These commands implements the ‘batch-command’ and ‘batch-code’
|
||
processors, using the functionality in evennia.utils.batchprocessors.
|
||
They allow for offline world-building.</p>
|
||
<p>Batch-command is the simpler system. This reads a file (<a href="#id3"><span class="problematic" id="id4">*</span></a>.ev)
|
||
containing a list of in-game commands and executes them in sequence as
|
||
if they had been entered in the game (including permission checks
|
||
etc).</p>
|
||
<p>Batch-code is a full-fledged python code interpreter that reads blocks
|
||
of python code (<a href="#id5"><span class="problematic" id="id6">*</span></a>.py) and executes them in sequence. This allows for
|
||
much more power than Batch-command, but requires knowing Python and
|
||
the Evennia API. It is also a severe security risk and should
|
||
therefore always be limited to superusers only.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.batchprocess.</code><code class="sig-name descname">CmdBatchCommands</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/batchprocess.html#CmdBatchCommands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>build from batch-command file</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>batchcommands[/interactive] <python.path.to.file></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><dl class="simple">
|
||
<dt>interactive - this mode will offer more control when</dt><dd><p>executing the batch file, like stepping,
|
||
skipping, reloading etc.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>Runs batches of commands from a batch-cmd text file (<a href="#id7"><span class="problematic" id="id8">*</span></a>.ev).</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('batchcmd', 'batchcommand', 'batchcommands')</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'batchcmd', 'batchcommand', 'batchcommands'}</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['batchcmd', 'batchcommand']</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/batchprocess.html#CmdBatchCommands.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Starts the processor.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'batchcommands'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(batchcommands) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(batchcommands) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'batchcmd batchcommand', 'category': 'building', 'key': 'batchcommands', 'tags': '', 'text': '\n build from batch-command file\n\n Usage:\n batchcommands[/interactive] <python.path.to.file>\n\n Switch:\n interactive - this mode will offer more control when\n executing the batch file, like stepping,\n skipping, reloading etc.\n\n Runs batches of commands from a batch-cmd text file (*.ev).\n\n '}</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCommands.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('interactive',)</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCommands.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.batchprocess.</code><code class="sig-name descname">CmdBatchCode</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/batchprocess.html#CmdBatchCode"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>build from batch-code file</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>batchcode[/interactive] <python path to file></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><dl class="simple">
|
||
<dt>interactive - this mode will offer more control when</dt><dd><p>executing the batch file, like stepping,
|
||
skipping, reloading etc.</p>
|
||
</dd>
|
||
<dt>debug - auto-delete all objects that has been marked as</dt><dd><p>deletable in the script file (see example files for
|
||
syntax). This is useful so as to to not leave multiple
|
||
object copies behind when testing out the script.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>Runs batches of commands from a batch-code text file (<a href="#id9"><span class="problematic" id="id10">*</span></a>.py).</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('batchcodes', 'batchcode')</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'batchcode', 'batchcodes'}</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['batchcodes']</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/batchprocess.html#CmdBatchCode.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Starts the processor.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'batchcode'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:superuser()'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:superuser()'</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'batchcodes', 'category': 'building', 'key': 'batchcode', 'tags': '', 'text': '\n build from batch-code file\n\n Usage:\n batchcode[/interactive] <python path to file>\n\n Switch:\n interactive - this mode will offer more control when\n executing the batch file, like stepping,\n skipping, reloading etc.\n debug - auto-delete all objects that has been marked as\n deletable in the script file (see example files for\n syntax). This is useful so as to to not leave multiple\n object copies behind when testing out the script.\n\n Runs batches of commands from a batch-code text file (*.py).\n\n '}</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.batchprocess.CmdBatchCode.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('interactive', 'debug')</em><a class="headerlink" href="#evennia.commands.default.batchprocess.CmdBatchCode.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.building">
|
||
<span id="evennia-commands-default-building-module"></span><h2>evennia.commands.default.building module<a class="headerlink" href="#module-evennia.commands.default.building" title="Permalink to this headline">¶</a></h2>
|
||
<p>Building and world design commands</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">ObjManipCommand</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#ObjManipCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>This is a parent class for some of the defining objmanip commands
|
||
since they tend to have some more variables to define new objects.</p>
|
||
<p>Each object definition can have several components. First is
|
||
always a name, followed by an optional alias list and finally an
|
||
some optional data, such as a typeclass or a location. A comma ‘,’
|
||
separates different objects. Like this:</p>
|
||
<blockquote>
|
||
<div><p>name1;alias;alias;alias:option, name2;alias;alias …</p>
|
||
</div></blockquote>
|
||
<p>Spaces between all components are stripped.</p>
|
||
<p>A second situation is attribute manipulation. Such commands
|
||
are simpler and offer combinations</p>
|
||
<blockquote>
|
||
<div><p>objname/attr/attr/attr, objname/attr, …</p>
|
||
</div></blockquote>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('command',)</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'command'}</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'command'</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all();'</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#ObjManipCommand.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>We need to expand the default parsing to get all
|
||
the cases, see the module doc.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.ObjManipCommand.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'command', 'tags': '', 'text': "\n This is a parent class for some of the defining objmanip commands\n since they tend to have some more variables to define new objects.\n\n Each object definition can have several components. First is\n always a name, followed by an optional alias list and finally an\n some optional data, such as a typeclass or a location. A comma ','\n separates different objects. Like this:\n\n name1;alias;alias;alias:option, name2;alias;alias ...\n\n Spaces between all components are stripped.\n\n A second situation is attribute manipulation. Such commands\n are simpler and offer combinations\n\n objname/attr/attr/attr, objname/attr, ...\n\n "}</em><a class="headerlink" href="#evennia.commands.default.building.ObjManipCommand.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdSetObjAlias</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetObjAlias"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>adding permanent aliases for object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>alias <obj> [= [alias[,alias,alias,…]]]
|
||
alias <obj> =
|
||
alias/category <obj> = [alias[,alias,…]:<category></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><dl class="simple">
|
||
<dt>category - requires ending input with :category, to store the</dt><dd><p>given aliases with the given category.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>Assigns aliases to an object so it can be referenced by more
|
||
than one name. Assign empty to remove all aliases from object. If
|
||
assigning a category, all aliases given will be using this category.</p>
|
||
<p>Observe that this is not the same thing as personal aliases
|
||
created with the ‘nick’ command! Aliases set with alias are
|
||
changing the object in question, making those aliases usable
|
||
by everyone.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('setobjalias', 'alias')</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'alias', 'setobjalias'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['setobjalias']</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetObjAlias.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Set the aliases.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'alias'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(setobjalias) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(setobjalias) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'setobjalias', 'category': 'building', 'key': 'alias', 'tags': '', 'text': "\n adding permanent aliases for object\n\n Usage:\n alias <obj> [= [alias[,alias,alias,...]]]\n alias <obj> =\n alias/category <obj> = [alias[,alias,...]:<category>\n\n Switches:\n category - requires ending input with :category, to store the\n given aliases with the given category.\n\n Assigns aliases to an object so it can be referenced by more\n than one name. Assign empty to remove all aliases from object. If\n assigning a category, all aliases given will be using this category.\n\n Observe that this is not the same thing as personal aliases\n created with the 'nick' command! Aliases set with alias are\n changing the object in question, making those aliases usable\n by everyone.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetObjAlias.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('category',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetObjAlias.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdCopy">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdCopy</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCopy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCopy" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>copy an object and its properties</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>copy <original obj> [= <new_name>][;alias;alias..]
|
||
[:<new_location>] [,<new_name2> …]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Create one or more copies of an object. If you don’t supply any targets,
|
||
one exact copy of the original object will be created with the name <a href="#id11"><span class="problematic" id="id12">*</span></a>_copy.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('copy',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'copy'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCopy.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCopy.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Uses ObjManipCommand.parse()</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'copy'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(copy) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(copy) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCopy.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'copy', 'tags': '', 'text': "\n copy an object and its properties\n\n Usage:\n copy <original obj> [= <new_name>][;alias;alias..]\n [:<new_location>] [,<new_name2> ...]\n\n Create one or more copies of an object. If you don't supply any targets,\n one exact copy of the original object will be created with the name *_copy.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCopy.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdCpAttr</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>copy attributes between objects</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cpattr[/switch] <obj>/<attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,…]
|
||
cpattr[/switch] <obj>/<attr> = <obj1> [,<obj2>,<obj3>,…]
|
||
cpattr[/switch] <attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,…]
|
||
cpattr[/switch] <attr> = <obj1>[,<obj2>,<obj3>,…]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>move - delete the attribute from the source object after copying.</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>cpattr coolness = Anna/chillout, Anna/nicety, Tom/nicety
|
||
->
|
||
copies the coolness attribute (defined on yourself), to attributes
|
||
on Anna and Tom.</p>
|
||
<p>Copy the attribute one object to one or more attributes on another object.
|
||
If you don’t supply a source object, yourself is used.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cpattr',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cpattr'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.check_from_attr">
|
||
<code class="sig-name descname">check_from_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em>, <em class="sig-param">clear=False</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_from_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.check_from_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook for overriding on subclassed commands. Checks to make sure a
|
||
caller can copy the attr from the object in question. If not, return a
|
||
false value and the command will abort. An error message should be
|
||
provided by this function.</p>
|
||
<p>If clear is True, user is attempting to move the attribute.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.check_has_attr">
|
||
<code class="sig-name descname">check_has_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_has_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.check_has_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook for overriding on subclassed commands. Do any preprocessing
|
||
required and verify an object has an attribute.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.check_to_attr">
|
||
<code class="sig-name descname">check_to_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr.check_to_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.check_to_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook for overriding on subclassed commands. Checks to make sure a
|
||
caller can write to the specified attribute on the specified object.
|
||
If not, return a false value and the attribute will be skipped. An
|
||
error message should be provided by this function.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do the copying.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.get_attr">
|
||
<code class="sig-name descname">get_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCpAttr.get_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.get_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook for overriding on subclassed commands. Do any preprocessing
|
||
required and get the attribute from the object.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cpattr'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(cpattr) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(cpattr) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'cpattr', 'tags': '', 'text': "\n copy attributes between objects\n\n Usage:\n cpattr[/switch] <obj>/<attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]\n cpattr[/switch] <obj>/<attr> = <obj1> [,<obj2>,<obj3>,...]\n cpattr[/switch] <attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]\n cpattr[/switch] <attr> = <obj1>[,<obj2>,<obj3>,...]\n\n Switches:\n move - delete the attribute from the source object after copying.\n\n Example:\n cpattr coolness = Anna/chillout, Anna/nicety, Tom/nicety\n ->\n copies the coolness attribute (defined on yourself), to attributes\n on Anna and Tom.\n\n Copy the attribute one object to one or more attributes on another object.\n If you don't supply a source object, yourself is used.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCpAttr.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('move',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdCpAttr.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdMvAttr</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdMvAttr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>move attributes between objects</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>mvattr[/switch] <obj>/<attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,…]
|
||
mvattr[/switch] <obj>/<attr> = <obj1> [,<obj2>,<obj3>,…]
|
||
mvattr[/switch] <attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,…]
|
||
mvattr[/switch] <attr> = <obj1>[,<obj2>,<obj3>,…]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>copy - Don’t delete the original after moving.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Move an attribute from one object to one or more attributes on another
|
||
object. If you don’t supply a source object, yourself is used.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('mvattr',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'mvattr'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdMvAttr.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do the moving</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'mvattr'</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(mvattr) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(mvattr) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'mvattr', 'tags': '', 'text': "\n move attributes between objects\n\n Usage:\n mvattr[/switch] <obj>/<attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]\n mvattr[/switch] <obj>/<attr> = <obj1> [,<obj2>,<obj3>,...]\n mvattr[/switch] <attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]\n mvattr[/switch] <attr> = <obj1>[,<obj2>,<obj3>,...]\n\n Switches:\n copy - Don't delete the original after moving.\n\n Move an attribute from one object to one or more attributes on another\n object. If you don't supply a source object, yourself is used.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdMvAttr.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('copy',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdMvAttr.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdCreate">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdCreate</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCreate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCreate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>create new objects</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>create[/drop] <objname>[;alias;alias…][:typeclass], <objname>…</p>
|
||
</dd>
|
||
<dt>switch:</dt><dd><dl class="simple">
|
||
<dt>drop - automatically drop the new object into your current</dt><dd><p>location (this is not echoed). This also sets the new
|
||
object’s home to the current location rather than to you.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>Creates one or more new objects. If typeclass is given, the object
|
||
is created as a child of this typeclass. The typeclass script is
|
||
assumed to be located under types/ and any further
|
||
directory structure is given in Python notation. So if you have a
|
||
correct typeclass ‘RedButton’ defined in
|
||
types/examples/red_button.py, you could create a new
|
||
object of this type like this:</p>
|
||
<blockquote>
|
||
<div><p>create/drop button;red : examples.red_button.RedButton</p>
|
||
</div></blockquote>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('create',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'create'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdCreate.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdCreate.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Creates the object.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'create'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(create) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(create) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.new_obj_lockstring">
|
||
<code class="sig-name descname">new_obj_lockstring</code><em class="property"> = 'control:id({id}) or perm(Admin);delete:id({id}) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.new_obj_lockstring" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'create', 'tags': '', 'text': "\n create new objects\n\n Usage:\n create[/drop] <objname>[;alias;alias...][:typeclass], <objname>...\n\n switch:\n drop - automatically drop the new object into your current\n location (this is not echoed). This also sets the new\n object's home to the current location rather than to you.\n\n Creates one or more new objects. If typeclass is given, the object\n is created as a child of this typeclass. The typeclass script is\n assumed to be located under types/ and any further\n directory structure is given in Python notation. So if you have a\n correct typeclass 'RedButton' defined in\n types/examples/red_button.py, you could create a new\n object of this type like this:\n\n create/drop button;red : examples.red_button.RedButton\n\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdCreate.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('drop',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdCreate.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdDesc">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdDesc</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDesc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDesc" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>describe an object or the current room.</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>desc [<obj> =] <description></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>edit - Open up a line editor for more advanced editing.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Sets the “desc” attribute on an object. If an object is not given,
|
||
describe the current room.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('describe', 'desc')</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'desc', 'describe'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['describe']</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdDesc.edit_handler">
|
||
<code class="sig-name descname">edit_handler</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDesc.edit_handler"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.edit_handler" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdDesc.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDesc.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Define command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'desc'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(desc) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(desc) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'describe', 'category': 'building', 'key': 'desc', 'tags': '', 'text': '\n describe an object or the current room.\n\n Usage:\n desc [<obj> =] <description>\n\n Switches:\n edit - Open up a line editor for more advanced editing.\n\n Sets the "desc" attribute on an object. If an object is not given,\n describe the current room.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDesc.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('edit',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdDesc.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdDestroy">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdDestroy</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDestroy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>permanently delete objects</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>destroy[/switches] [obj, obj2, obj3, [dbref-dbref], …]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><dl class="simple">
|
||
<dt>override - The destroy command will usually avoid accidentally</dt><dd><p>destroying account objects. This switch overrides this safety.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>force - destroy without confirmation.</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Examples</p>
|
||
<p>destroy house, roof, door, 44-78
|
||
destroy 5-10, flower, 45
|
||
destroy/force north</p>
|
||
<p>Destroys one or many objects. If dbrefs are used, a range to delete can be
|
||
given, e.g. 4-10. Also the end points will be deleted. This command
|
||
displays a confirmation before destroying, to make sure of your choice.
|
||
You can specify the /force switch to bypass this confirmation.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('del', 'destroy', 'delete')</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'del', 'delete', 'destroy'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['del', 'delete']</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.confirm">
|
||
<code class="sig-name descname">confirm</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.confirm" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.default_confirm">
|
||
<code class="sig-name descname">default_confirm</code><em class="property"> = 'yes'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.default_confirm" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDestroy.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements the command.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'destroy'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(destroy) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(destroy) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'del delete', 'category': 'building', 'key': 'destroy', 'tags': '', 'text': '\n permanently delete objects\n\n Usage:\n destroy[/switches] [obj, obj2, obj3, [dbref-dbref], ...]\n\n Switches:\n override - The destroy command will usually avoid accidentally\n destroying account objects. This switch overrides this safety.\n force - destroy without confirmation.\n Examples:\n destroy house, roof, door, 44-78\n destroy 5-10, flower, 45\n destroy/force north\n\n Destroys one or many objects. If dbrefs are used, a range to delete can be\n given, e.g. 4-10. Also the end points will be deleted. This command\n displays a confirmation before destroying, to make sure of your choice.\n You can specify the /force switch to bypass this confirmation.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDestroy.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('override', 'force')</em><a class="headerlink" href="#evennia.commands.default.building.CmdDestroy.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdDig">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdDig</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDig"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDig" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>build new rooms and connect them to the current location</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><dl class="simple">
|
||
<dt>dig[/switches] <roomname>[;alias;alias…][:typeclass]</dt><dd><dl class="simple">
|
||
<dt>[= <exit_to_there>[;alias][:typeclass]]</dt><dd><p>[, <exit_to_here>[;alias][:typeclass]]</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>tel or teleport - move yourself to the new room</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Examples</p>
|
||
<p>dig kitchen = north;n, south;s
|
||
dig house:myrooms.MyHouseTypeclass
|
||
dig sheer cliff;cliff;sheer = climb up, climb down</p>
|
||
<p>This command is a convenient way to build rooms quickly; it creates the
|
||
new room and you can optionally set up exits back and forth between your
|
||
current room and the new one. You can add as many aliases as you
|
||
like to the name of the room and the exits in question; an example
|
||
would be ‘north;no;n’.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('dig',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'dig'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdDig.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdDig.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdDig.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do the digging. Inherits variables from ObjManipCommand.parse()</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'dig'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(dig) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(dig) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.new_room_lockstring">
|
||
<code class="sig-name descname">new_room_lockstring</code><em class="property"> = 'control:id({id}) or perm(Admin); delete:id({id}) or perm(Admin); edit:id({id}) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.new_room_lockstring" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'dig', 'tags': '', 'text': "\n build new rooms and connect them to the current location\n\n Usage:\n dig[/switches] <roomname>[;alias;alias...][:typeclass]\n [= <exit_to_there>[;alias][:typeclass]]\n [, <exit_to_here>[;alias][:typeclass]]\n\n Switches:\n tel or teleport - move yourself to the new room\n\n Examples:\n dig kitchen = north;n, south;s\n dig house:myrooms.MyHouseTypeclass\n dig sheer cliff;cliff;sheer = climb up, climb down\n\n This command is a convenient way to build rooms quickly; it creates the\n new room and you can optionally set up exits back and forth between your\n current room and the new one. You can add as many aliases as you\n like to the name of the room and the exits in question; an example\n would be 'north;no;n'.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdDig.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('teleport',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdDig.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdTunnel">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdTunnel</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTunnel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>create new rooms in cardinal directions only</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>tunnel[/switch] <direction>[:typeclass] [= <roomname>[;alias;alias;…][:typeclass]]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>oneway - do not create an exit back to the current location
|
||
tel - teleport to the newly created room</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>tunnel n
|
||
tunnel n = house;mike’s place;green building</p>
|
||
<dl class="simple">
|
||
<dt>This is a simple way to build using pre-defined directions:</dt><dd><p><a href="#id13"><span class="problematic" id="id14">|</span></a>wn,ne,e,se,s,sw,w,nw|n (north, northeast etc)
|
||
<a href="#id15"><span class="problematic" id="id16">|</span></a>wu,d|n (up and down)
|
||
<a href="#id17"><span class="problematic" id="id18">|</span></a>wi,o|n (in and out)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>The full names (north, in, southwest, etc) will always be put as
|
||
main name for the exit, using the abbreviation as an alias (so an
|
||
exit will always be able to be used with both “north” as well as
|
||
“n” for example). Opposite directions will automatically be
|
||
created back from the new room unless the /oneway switch is given.
|
||
For more flexibility and power in creating rooms, use dig.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('tunnel', 'tun')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'tun', 'tunnel'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['tun']</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.directions">
|
||
<code class="sig-name descname">directions</code><em class="property"> = {'d': ('down', 'u'), 'e': ('east', 'w'), 'i': ('in', 'o'), 'n': ('north', 's'), 'ne': ('northeast', 'sw'), 'nw': ('northwest', 'se'), 'o': ('out', 'i'), 's': ('south', 'n'), 'se': ('southeast', 'nw'), 'sw': ('southwest', 'ne'), 'u': ('up', 'd'), 'w': ('west', 'e')}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.directions" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTunnel.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements the tunnel command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'tunnel'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: perm(tunnel) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: perm(tunnel) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'tun', 'category': 'building', 'key': 'tunnel', 'tags': '', 'text': '\n create new rooms in cardinal directions only\n\n Usage:\n tunnel[/switch] <direction>[:typeclass] [= <roomname>[;alias;alias;...][:typeclass]]\n\n Switches:\n oneway - do not create an exit back to the current location\n tel - teleport to the newly created room\n\n Example:\n tunnel n\n tunnel n = house;mike\'s place;green building\n\n This is a simple way to build using pre-defined directions:\n |wn,ne,e,se,s,sw,w,nw|n (north, northeast etc)\n |wu,d|n (up and down)\n |wi,o|n (in and out)\n The full names (north, in, southwest, etc) will always be put as\n main name for the exit, using the abbreviation as an alias (so an\n exit will always be able to be used with both "north" as well as\n "n" for example). Opposite directions will automatically be\n created back from the new room unless the /oneway switch is given.\n For more flexibility and power in creating rooms, use dig.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTunnel.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('oneway', 'tel')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTunnel.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdLink">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdLink</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdLink" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>link existing rooms together with exits</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>link[/switches] <object> = <target>
|
||
link[/switches] <object> =
|
||
link[/switches] <object></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><dl class="simple">
|
||
<dt>twoway - connect two exits. For this to work, BOTH <object></dt><dd><p>and <target> must be exit objects.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>If <object> is an exit, set its destination to <target>. Two-way operation
|
||
instead sets the destination to the <em>locations</em> of the respective given
|
||
arguments.
|
||
The second form (a lone =) sets the destination to None (same as
|
||
the unlink command) and the third form (without =) just shows the
|
||
currently set destination.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('link',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'link'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdLink.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdLink.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdLink.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Perform the link</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'link'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(link) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(link) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLink.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'link', 'tags': '', 'text': '\n link existing rooms together with exits\n\n Usage:\n link[/switches] <object> = <target>\n link[/switches] <object> =\n link[/switches] <object>\n\n Switch:\n twoway - connect two exits. For this to work, BOTH <object>\n and <target> must be exit objects.\n\n If <object> is an exit, set its destination to <target>. Two-way operation\n instead sets the destination to the *locations* of the respective given\n arguments.\n The second form (a lone =) sets the destination to None (same as\n the unlink command) and the third form (without =) just shows the\n currently set destination.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdLink.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdUnLink">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdUnLink</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdUnLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.CmdLink" title="evennia.commands.default.building.CmdLink"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.CmdLink</span></code></a></p>
|
||
<p>remove exit-connections between rooms</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>unlink <Object></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Unlinks an object, for example an exit, disconnecting
|
||
it from whatever it was connected to.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('unlink',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'unlink'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdUnLink.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>All we need to do here is to set the right command
|
||
and call func in CmdLink</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.help_key">
|
||
<code class="sig-name descname">help_key</code><em class="property"> = 'Building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.help_key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'unlink'</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(unlink) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(unlink) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdUnLink.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'unlink', 'tags': '', 'text': '\n remove exit-connections between rooms\n\n Usage:\n unlink <Object>\n\n Unlinks an object, for example an exit, disconnecting\n it from whatever it was connected to.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdUnLink.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdSetHome">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdSetHome</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetHome"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.CmdLink" title="evennia.commands.default.building.CmdLink"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.CmdLink</span></code></a></p>
|
||
<p>set an object’s home location</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>sethome <obj> [= <home_location>]
|
||
sethom <obj></p>
|
||
</dd>
|
||
</dl>
|
||
<p>The “home” location is a “safety” location for objects; they
|
||
will be moved there if their current location ceases to exist. All
|
||
objects should always have a home location for this reason.
|
||
It is also a convenient target of the “home” command.</p>
|
||
<p>If no location is given, just view the object’s home location.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('sethome',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'sethome'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetHome.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'sethome'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(sethome) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(sethome) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetHome.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'sethome', 'tags': '', 'text': '\n set an object\'s home location\n\n Usage:\n sethome <obj> [= <home_location>]\n sethom <obj>\n\n The "home" location is a "safety" location for objects; they\n will be moved there if their current location ceases to exist. All\n objects should always have a home location for this reason.\n It is also a convenient target of the "home" command.\n\n If no location is given, just view the object\'s home location.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetHome.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdListCmdSets</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdListCmdSets"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>list command sets defined on an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cmdsets <obj></p>
|
||
</dd>
|
||
</dl>
|
||
<p>This displays all cmdsets assigned
|
||
to a user. Defaults to yourself.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cmdsets', 'listcmsets')</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cmdsets', 'listcmsets'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['listcmsets']</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdListCmdSets.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>list the cmdsets</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cmdsets'</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(listcmdsets) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(listcmdsets) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdListCmdSets.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'listcmsets', 'category': 'building', 'key': 'cmdsets', 'tags': '', 'text': '\n list command sets defined on an object\n\n Usage:\n cmdsets <obj>\n\n This displays all cmdsets assigned\n to a user. Defaults to yourself.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdListCmdSets.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdName">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdName</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdName" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>change the name and/or aliases of an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>name <obj> = <newname>;alias1;alias2</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Rename an object to something new. Use <a href="#id19"><span class="problematic" id="id20">*</span></a>obj to
|
||
rename an account.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('rename', 'name')</em><a class="headerlink" href="#evennia.commands.default.building.CmdName._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'name', 'rename'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdName._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['rename']</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdName.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdName.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdName.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>change the name</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'name'</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(rename) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(rename) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdName.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'rename', 'category': 'building', 'key': 'name', 'tags': '', 'text': '\n change the name and/or aliases of an object\n\n Usage:\n name <obj> = <newname>;alias1;alias2\n\n Rename an object to something new. Use *obj to\n rename an account.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdName.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdOpen">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdOpen</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdOpen"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdOpen" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>open a new exit from the current room</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>open <new exit>[;alias;alias..][:typeclass] [,<return exit>[;alias;..][:typeclass]]] = <destination></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Handles the creation of exits. If a destination is given, the exit
|
||
will point there. The <return exit> argument sets up an exit at the
|
||
destination leading back to the current room. Destination name
|
||
can be given both as a #dbref and a name, if that name is globally
|
||
unique.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('open',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'open'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdOpen.create_exit">
|
||
<code class="sig-name descname">create_exit</code><span class="sig-paren">(</span><em class="sig-param">exit_name</em>, <em class="sig-param">location</em>, <em class="sig-param">destination</em>, <em class="sig-param">exit_aliases=None</em>, <em class="sig-param">typeclass=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdOpen.create_exit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.create_exit" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper function to avoid code duplication.
|
||
At this point we know destination is a valid location</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdOpen.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdOpen.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This is where the processing starts.
|
||
Uses the ObjManipCommand.parser() for pre-processing
|
||
as well as the self.create_exit() method.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'open'</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(open) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(open) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdOpen.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'open', 'tags': '', 'text': '\n open a new exit from the current room\n\n Usage:\n open <new exit>[;alias;alias..][:typeclass] [,<return exit>[;alias;..][:typeclass]]] = <destination>\n\n Handles the creation of exits. If a destination is given, the exit\n will point there. The <return exit> argument sets up an exit at the\n destination leading back to the current room. Destination name\n can be given both as a #dbref and a name, if that name is globally\n unique.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdOpen.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdSetAttribute</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>set attribute on an object or account</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>set <obj>/<attr> = <value>
|
||
set <obj>/<attr> =
|
||
set <obj>/<attr>
|
||
set <a href="#id21"><span class="problematic" id="id22">*</span></a><account>/<attr> = <value></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>edit: Open the line editor (string values only)
|
||
script: If we’re trying to set an attribute on a script
|
||
channel: If we’re trying to set an attribute on a channel
|
||
account: If we’re trying to set an attribute on an account
|
||
room: Setting an attribute on a room (global search)
|
||
exit: Setting an attribute on an exit (global search)
|
||
char: Setting an attribute on a character (global search)
|
||
character: Alias for char, as above.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Sets attributes on objects. The second example form above clears a
|
||
previously set attribute while the third form inspects the current value of
|
||
the attribute (if any). The last one (with the star) is a shortcut for
|
||
operating on a player Account rather than an Object.</p>
|
||
<p>The most common data to save with this command are strings and
|
||
numbers. You can however also set Python primitives such as lists,
|
||
dictionaries and tuples on objects (this might be important for
|
||
the functionality of certain custom objects). This is indicated
|
||
by you starting your value with one of <a href="#id23"><span class="problematic" id="id24">|</span></a>c’<a href="#id25"><span class="problematic" id="id26">|</span></a>n, <a href="#id27"><span class="problematic" id="id28">|</span></a>c”<a href="#id29"><span class="problematic" id="id30">|</span></a>n, <a href="#id31"><span class="problematic" id="id32">|</span></a>c(<a href="#id33"><span class="problematic" id="id34">|</span></a>n, <a href="#id35"><span class="problematic" id="id36">|</span></a>c[<a href="#id37"><span class="problematic" id="id38">|</span></a>n
|
||
or <a href="#id39"><span class="problematic" id="id40">|</span></a>c{ <a href="#id41"><span class="problematic" id="id42">|</span></a>n.</p>
|
||
<p>Once you have stored a Python primitive as noted above, you can include
|
||
<a href="#id43"><span class="problematic" id="id44">|</span></a>c[<key>]|n in <attr> to reference nested values in e.g. a list or dict.</p>
|
||
<p>Remember that if you use Python primitives like this, you must
|
||
write proper Python syntax too - notably you must include quotes
|
||
around your strings or you will get an error.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('set',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'set'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.check_attr">
|
||
<code class="sig-name descname">check_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr_name</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.check_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.check_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This may be overridden by subclasses in case restrictions need to be
|
||
placed on what attributes can be set by who beyond the normal lock.</p>
|
||
<p>This functions is expected to display its own error message. It is
|
||
run once for every attribute that is checked, blocking only those
|
||
attributes which are not permitted and letting the others through.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.check_obj">
|
||
<code class="sig-name descname">check_obj</code><span class="sig-paren">(</span><em class="sig-param">obj</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.check_obj"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.check_obj" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This may be overridden by subclasses in case restrictions need to be
|
||
placed on whether certain objects can have attributes set by certain
|
||
accounts.</p>
|
||
<p>This function is expected to display its own error message.</p>
|
||
<p>Returning False will abort the command.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.do_nested_lookup">
|
||
<code class="sig-name descname">do_nested_lookup</code><span class="sig-paren">(</span><em class="sig-param">value</em>, <em class="sig-param">*keys</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.do_nested_lookup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.do_nested_lookup" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.edit_handler">
|
||
<code class="sig-name descname">edit_handler</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.edit_handler"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.edit_handler" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Activate the line editor</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the set attribute - a limited form of py.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'set'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(set) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(set) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.nested_re">
|
||
<code class="sig-name descname">nested_re</code><em class="property"> = re.compile('\\[.*?\\]')</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.nested_re" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.not_found">
|
||
<code class="sig-name descname">not_found</code><em class="property"> = <object object></em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.not_found" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.rm_attr">
|
||
<code class="sig-name descname">rm_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.rm_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.rm_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Remove an attribute from the object, or a nested data structure, and report back.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.search_for_obj">
|
||
<code class="sig-name descname">search_for_obj</code><span class="sig-paren">(</span><em class="sig-param">objname</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.search_for_obj"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.search_for_obj" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Searches for an object matching objname. The object may be of different typeclasses.
|
||
:param objname: Name of the object we’re looking for</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Returns</dt>
|
||
<dd class="field-odd"><p>A typeclassed object, or None if nothing is found.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'set', 'tags': '', 'text': '\n set attribute on an object or account\n\n Usage:\n set <obj>/<attr> = <value>\n set <obj>/<attr> =\n set <obj>/<attr>\n set *<account>/<attr> = <value>\n\n Switch:\n edit: Open the line editor (string values only)\n script: If we\'re trying to set an attribute on a script\n channel: If we\'re trying to set an attribute on a channel\n account: If we\'re trying to set an attribute on an account\n room: Setting an attribute on a room (global search)\n exit: Setting an attribute on an exit (global search)\n char: Setting an attribute on a character (global search)\n character: Alias for char, as above.\n\n Sets attributes on objects. The second example form above clears a\n previously set attribute while the third form inspects the current value of\n the attribute (if any). The last one (with the star) is a shortcut for\n operating on a player Account rather than an Object.\n\n The most common data to save with this command are strings and\n numbers. You can however also set Python primitives such as lists,\n dictionaries and tuples on objects (this might be important for\n the functionality of certain custom objects). This is indicated\n by you starting your value with one of |c\'|n, |c"|n, |c(|n, |c[|n\n or |c{ |n.\n\n Once you have stored a Python primitive as noted above, you can include\n |c[<key>]|n in <attr> to reference nested values in e.g. a list or dict.\n\n Remember that if you use Python primitives like this, you must\n write proper Python syntax too - notably you must include quotes\n around your strings or you will get an error.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.set_attr">
|
||
<code class="sig-name descname">set_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em>, <em class="sig-param">value</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.set_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.set_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.split_nested_attr">
|
||
<code class="sig-name descname">split_nested_attr</code><span class="sig-paren">(</span><em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.split_nested_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.split_nested_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Yields tuples of (possible attr name, nested keys on that attr).
|
||
For performance, this is biased to the deepest match, but allows compatability
|
||
with older attrs that might have been named with <cite>[]</cite>’s.</p>
|
||
<p>> list(split_nested_attr(“nested[‘asdf’][0]”))
|
||
[</p>
|
||
<blockquote>
|
||
<div><p>(‘nested’, [‘asdf’, 0]),
|
||
(“nested[‘asdf’]”, [0]),
|
||
(“nested[‘asdf’][0]”, []),</p>
|
||
</div></blockquote>
|
||
<p>]</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSetAttribute.view_attr">
|
||
<code class="sig-name descname">view_attr</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attr</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSetAttribute.view_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSetAttribute.view_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Look up the value of an attribute and return a string displaying it.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdTypeclass</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTypeclass"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>set or change an object’s typeclass</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>typeclass[/switch] <object> [= typeclass.path]
|
||
typeclass/prototype <object> = prototype_key</p>
|
||
<p>typeclass/list/show [typeclass.path]
|
||
swap - this is a shorthand for using /force/reset flags.
|
||
update - this is a shorthand for using the /force/reload flag.</p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><dl class="simple">
|
||
<dt>show, examine - display the current typeclass of object (default) or, if</dt><dd><p>given a typeclass path, show the docstring of that typeclass.</p>
|
||
</dd>
|
||
<dt>update - <em>only</em> re-run at_object_creation on this object</dt><dd><p>meaning locks or other properties set later may remain.</p>
|
||
</dd>
|
||
<dt>reset - clean out <em>all</em> the attributes and properties on the</dt><dd><p>object - basically making this a new clean object.</p>
|
||
</dd>
|
||
<dt>force - change to the typeclass also if the object</dt><dd><p>already has a typeclass of the same name.</p>
|
||
</dd>
|
||
<dt>list - show available typeclasses. Only typeclasses in modules actually</dt><dd><p>imported or used from somewhere in the code will show up here
|
||
(those typeclasses are still available if you know the path)</p>
|
||
</dd>
|
||
<dt>prototype - clean and overwrite the object with the specified</dt><dd><p>prototype key - effectively making a whole new object.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>type button = examples.red_button.RedButton
|
||
type/prototype button=a red button</p>
|
||
<p>If the typeclass_path is not given, the current object’s typeclass is
|
||
assumed.</p>
|
||
<p>View or set an object’s typeclass. If setting, the creation hooks of the
|
||
new typeclass will be run on the object. If you have clashing properties on
|
||
the old class, use /reset. By default you are protected from changing to a
|
||
typeclass of the same name as the one you already have - use /force to
|
||
override this protection.</p>
|
||
<p>The given typeclass must be identified by its location using python
|
||
dot-notation pointing to the correct module and class. If no typeclass is
|
||
given (or a wrong typeclass is given). Errors in the path or new typeclass
|
||
will lead to the old typeclass being kept. The location of the typeclass
|
||
module is searched from the default typeclass directory, as defined in the
|
||
server settings.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('swap', 'update', 'typeclass', 'parent', 'type')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'parent', 'swap', 'type', 'typeclass', 'update'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['swap', 'update', 'parent', 'type']</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTypeclass.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'typeclass'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(typeclass) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(typeclass) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'swap update parent type', 'category': 'building', 'key': 'typeclass', 'tags': '', 'text': "\n set or change an object's typeclass\n\n Usage:\n typeclass[/switch] <object> [= typeclass.path]\n typeclass/prototype <object> = prototype_key\n\n typeclass/list/show [typeclass.path]\n swap - this is a shorthand for using /force/reset flags.\n update - this is a shorthand for using the /force/reload flag.\n\n Switch:\n show, examine - display the current typeclass of object (default) or, if\n given a typeclass path, show the docstring of that typeclass.\n update - *only* re-run at_object_creation on this object\n meaning locks or other properties set later may remain.\n reset - clean out *all* the attributes and properties on the\n object - basically making this a new clean object.\n force - change to the typeclass also if the object\n already has a typeclass of the same name.\n list - show available typeclasses. Only typeclasses in modules actually\n imported or used from somewhere in the code will show up here\n (those typeclasses are still available if you know the path)\n prototype - clean and overwrite the object with the specified\n prototype key - effectively making a whole new object.\n\n Example:\n type button = examples.red_button.RedButton\n type/prototype button=a red button\n\n If the typeclass_path is not given, the current object's typeclass is\n assumed.\n\n View or set an object's typeclass. If setting, the creation hooks of the\n new typeclass will be run on the object. If you have clashing properties on\n the old class, use /reset. By default you are protected from changing to a\n typeclass of the same name as the one you already have - use /force to\n override this protection.\n\n The given typeclass must be identified by its location using python\n dot-notation pointing to the correct module and class. If no typeclass is\n given (or a wrong typeclass is given). Errors in the path or new typeclass\n will lead to the old typeclass being kept. The location of the typeclass\n module is searched from the default typeclass directory, as defined in the\n server settings.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTypeclass.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('show', 'examine', 'update', 'reset', 'force', 'list', 'prototype')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTypeclass.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdWipe">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdWipe</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdWipe"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdWipe" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>clear all attributes from an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>wipe <object>[/<attr>[/<attr>…]]</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>wipe box
|
||
wipe box/colour</p>
|
||
<p>Wipes all of an object’s attributes, or optionally only those
|
||
matching the given attribute-wildcard search string.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('wipe',)</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'wipe'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdWipe.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdWipe.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>inp is the dict produced in ObjManipCommand.parse()</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'wipe'</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(wipe) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(wipe) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdWipe.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'wipe', 'tags': '', 'text': "\n clear all attributes from an object\n\n Usage:\n wipe <object>[/<attr>[/<attr>...]]\n\n Example:\n wipe box\n wipe box/colour\n\n Wipes all of an object's attributes, or optionally only those\n matching the given attribute-wildcard search string.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdWipe.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdLock">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdLock</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdLock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdLock" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>assign a lock definition to an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>lock <object or <a href="#id45"><span class="problematic" id="id46">*</span></a>account>[ = <lockstring>]
|
||
or
|
||
lock[/switch] <object or <a href="#id47"><span class="problematic" id="id48">*</span></a>account>/<access_type></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>del - delete given access type
|
||
view - view lock associated with given access type (default)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>If no lockstring is given, shows all locks on
|
||
object.</p>
|
||
<dl class="simple">
|
||
<dt>Lockstring is of the form</dt><dd><p>access_type:[NOT] func1(args)[ AND|OR][ NOT] func2(args) …]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Where func1, func2 … valid lockfuncs with or without arguments.
|
||
Separator expressions need not be capitalized.</p>
|
||
<dl class="simple">
|
||
<dt>For example:</dt><dd><p>‘get: id(25) or perm(Admin)’</p>
|
||
</dd>
|
||
</dl>
|
||
<p>The ‘get’ lock access_type is checked e.g. by the ‘get’ command.
|
||
An object locked with this example lock will only be possible to pick up
|
||
by Admins or by an object with id=25.</p>
|
||
<p>You can add several access_types after one another by separating
|
||
them by ‘;’, i.e:</p>
|
||
<blockquote>
|
||
<div><p>‘get:id(25); delete:perm(Builder)’</p>
|
||
</div></blockquote>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('lock', 'locks')</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'lock', 'locks'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['locks']</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdLock.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdLock.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdLock.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Sets up the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'lock'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: perm(locks) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: perm(locks) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdLock.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'locks', 'category': 'building', 'key': 'lock', 'tags': '', 'text': "\n assign a lock definition to an object\n\n Usage:\n lock <object or *account>[ = <lockstring>]\n or\n lock[/switch] <object or *account>/<access_type>\n\n Switch:\n del - delete given access type\n view - view lock associated with given access type (default)\n\n If no lockstring is given, shows all locks on\n object.\n\n Lockstring is of the form\n access_type:[NOT] func1(args)[ AND|OR][ NOT] func2(args) ...]\n Where func1, func2 ... valid lockfuncs with or without arguments.\n Separator expressions need not be capitalized.\n\n For example:\n 'get: id(25) or perm(Admin)'\n The 'get' lock access_type is checked e.g. by the 'get' command.\n An object locked with this example lock will only be possible to pick up\n by Admins or by an object with id=25.\n\n You can add several access_types after one another by separating\n them by ';', i.e:\n 'get:id(25); delete:perm(Builder)'\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdLock.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdExamine">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdExamine</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdExamine"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdExamine" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.building.ObjManipCommand" title="evennia.commands.default.building.ObjManipCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.building.ObjManipCommand</span></code></a></p>
|
||
<p>get detailed information about an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>examine [<object>[/attrname]]
|
||
examine [<a href="#id49"><span class="problematic" id="id50">*</span></a><account>[/attrname]]</p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>account - examine an Account (same as adding <a href="#id51"><span class="problematic" id="id52">*</span></a>)
|
||
object - examine an Object (useful when OOC)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>The examine command shows detailed game info about an
|
||
object and optionally a specific attribute on it.
|
||
If object is not specified, the current location is examined.</p>
|
||
<p>Append a * before the search string to examine an account.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('examine', 'exam', 'ex')</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'ex', 'exam', 'examine'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.account_mode">
|
||
<code class="sig-name descname">account_mode</code><em class="property"> = False</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.account_mode" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['exam', 'ex']</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('(/\\w+?(\\s|$))|\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdExamine.format_attributes">
|
||
<code class="sig-name descname">format_attributes</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">attrname=None</em>, <em class="sig-param">crop=True</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdExamine.format_attributes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.format_attributes" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper function that returns info about attributes and/or
|
||
non-persistent data stored on object</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdExamine.format_output">
|
||
<code class="sig-name descname">format_output</code><span class="sig-paren">(</span><em class="sig-param">obj</em>, <em class="sig-param">avail_cmdset</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdExamine.format_output"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.format_output" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper function that creates a nice report about an object.</p>
|
||
<p>returns a string.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdExamine.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdExamine.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Process command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'examine'</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdExamine.list_attribute">
|
||
<code class="sig-name descname">list_attribute</code><span class="sig-paren">(</span><em class="sig-param">crop</em>, <em class="sig-param">attr</em>, <em class="sig-param">category</em>, <em class="sig-param">value</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdExamine.list_attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.list_attribute" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Formats a single attribute line.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(examine) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(examine) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdExamine.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'exam ex', 'category': 'building', 'key': 'examine', 'tags': '', 'text': '\n get detailed information about an object\n\n Usage:\n examine [<object>[/attrname]]\n examine [*<account>[/attrname]]\n\n Switch:\n account - examine an Account (same as adding *)\n object - examine an Object (useful when OOC)\n\n The examine command shows detailed game info about an\n object and optionally a specific attribute on it.\n If object is not specified, the current location is examined.\n\n Append a * before the search string to examine an account.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdExamine.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdFind">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdFind</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdFind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdFind" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>search the database for objects</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>find[/switches] <name or dbref or <a href="#id53"><span class="problematic" id="id54">*</span></a>account> [= dbrefmin[-dbrefmax]]
|
||
locate - this is a shorthand for using the /loc switch.</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>room - only look for rooms (location=None)
|
||
exit - only look for exits (destination!=None)
|
||
char - only look for characters (BASE_CHARACTER_TYPECLASS)
|
||
exact - only exact matches are returned.
|
||
loc - display object location if exists and match has one result
|
||
startswith - search for names starting with the string, rather than containing</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Searches the database for an object of a particular name or exact #dbref.
|
||
Use <a href="#id55"><span class="problematic" id="id56">*</span></a>accountname to search for an account. The switches allows for
|
||
limiting object matches to certain game entities. Dbrefmin and dbrefmax
|
||
limits matches to within the given dbrefs range, or above/below if only
|
||
one is given.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('search', 'find', 'locate')</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'find', 'locate', 'search'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['search', 'locate']</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdFind.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdFind.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdFind.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Search functionality</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'find'</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(find) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(find) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'search locate', 'category': 'building', 'key': 'find', 'tags': '', 'text': '\n search the database for objects\n\n Usage:\n find[/switches] <name or dbref or *account> [= dbrefmin[-dbrefmax]]\n locate - this is a shorthand for using the /loc switch.\n\n Switches:\n room - only look for rooms (location=None)\n exit - only look for exits (destination!=None)\n char - only look for characters (BASE_CHARACTER_TYPECLASS)\n exact - only exact matches are returned.\n loc - display object location if exists and match has one result\n startswith - search for names starting with the string, rather than containing\n\n Searches the database for an object of a particular name or exact #dbref.\n Use *accountname to search for an account. The switches allows for\n limiting object matches to certain game entities. Dbrefmin and dbrefmax\n limits matches to within the given dbrefs range, or above/below if only\n one is given.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdFind.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('room', 'exit', 'char', 'exact', 'loc', 'startswith')</em><a class="headerlink" href="#evennia.commands.default.building.CmdFind.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdTeleport">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdTeleport</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTeleport"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>teleport object to another location</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>tel/switch [<object> to||=] <target location></p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Examples</p>
|
||
<p>tel Limbo
|
||
tel/quiet box = Limbo
|
||
tel/tonone box</p>
|
||
<dl>
|
||
<dt>Switches:</dt><dd><dl class="simple">
|
||
<dt>quiet - don’t echo leave/arrive messages to the source/target</dt><dd><p>locations for the move.</p>
|
||
</dd>
|
||
<dt>intoexit - if target is an exit, teleport INTO</dt><dd><p>the exit object instead of to its destination</p>
|
||
</dd>
|
||
<dt>tonone - if set, teleport the object to a None-location. If this</dt><dd><p>switch is set, <target location> is ignored.
|
||
Note that the only way to retrieve
|
||
an object from a None location is by direct #dbref
|
||
reference. A puppeted object cannot be moved to None.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>loc - teleport object to the target’s location instead of its contents</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Teleports an object somewhere. If no object is given, you yourself are
|
||
teleported to the target location.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('tel', 'teleport')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'tel', 'teleport'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['teleport']</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTeleport.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Performs the teleport</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'tel'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(teleport) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(teleport) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.rhs_split">
|
||
<code class="sig-name descname">rhs_split</code><em class="property"> = ('=', ' to ')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.rhs_split" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'teleport', 'category': 'building', 'key': 'tel', 'tags': '', 'text': "\n teleport object to another location\n\n Usage:\n tel/switch [<object> to||=] <target location>\n\n Examples:\n tel Limbo\n tel/quiet box = Limbo\n tel/tonone box\n\n Switches:\n quiet - don't echo leave/arrive messages to the source/target\n locations for the move.\n intoexit - if target is an exit, teleport INTO\n the exit object instead of to its destination\n tonone - if set, teleport the object to a None-location. If this\n switch is set, <target location> is ignored.\n Note that the only way to retrieve\n an object from a None location is by direct #dbref\n reference. A puppeted object cannot be moved to None.\n loc - teleport object to the target's location instead of its contents\n\n Teleports an object somewhere. If no object is given, you yourself are\n teleported to the target location.\n "}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTeleport.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('quiet', 'intoexit', 'tonone', 'loc')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTeleport.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdScript">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdScript</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdScript"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdScript" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>attach a script to an object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>script[/switch] <obj> [= script_path or <scriptkey>]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>start - start all non-running scripts on object, or a given script only
|
||
stop - stop all scripts on objects, or a given script only</p>
|
||
</dd>
|
||
</dl>
|
||
<p>If no script path/key is given, lists all scripts active on the given
|
||
object.
|
||
Script path can be given from the base location for scripts as given in
|
||
settings. If adding a new script, it will be started automatically
|
||
(no /start switch is needed). Using the /start or /stop switches on an
|
||
object without specifying a script key/path will start/stop ALL scripts on
|
||
the object.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('script', 'addscript')</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'addscript', 'script'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['addscript']</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdScript.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdScript.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdScript.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do stuff</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'script'</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(script) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(script) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'addscript', 'category': 'building', 'key': 'script', 'tags': '', 'text': '\n attach a script to an object\n\n Usage:\n script[/switch] <obj> [= script_path or <scriptkey>]\n\n Switches:\n start - start all non-running scripts on object, or a given script only\n stop - stop all scripts on objects, or a given script only\n\n If no script path/key is given, lists all scripts active on the given\n object.\n Script path can be given from the base location for scripts as given in\n settings. If adding a new script, it will be started automatically\n (no /start switch is needed). Using the /start or /stop switches on an\n object without specifying a script key/path will start/stop ALL scripts on\n the object.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdScript.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('start', 'stop')</em><a class="headerlink" href="#evennia.commands.default.building.CmdScript.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdTag">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdTag</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTag" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>handles the tags of an object</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>tag[/del] <obj> [= <tag>[:<category>]]
|
||
tag/search <tag>[:<category]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>search - return all objects with a given Tag
|
||
del - remove the given tag. If no tag is specified,</p>
|
||
<blockquote>
|
||
<div><p>clear all tags on object.</p>
|
||
</div></blockquote>
|
||
</dd>
|
||
</dl>
|
||
<p>Manipulates and lists tags on objects. Tags allow for quick
|
||
grouping of and searching for objects. If only <obj> is given,
|
||
list all tags on the object. If /search is used, list objects
|
||
with the given tag.
|
||
The category can be used for grouping tags themselves, but it
|
||
should be used with restrain - tags on their own are usually
|
||
enough to for most grouping schemes.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('tags', 'tag')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'tag', 'tags'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['tags']</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('(/\\w+?(\\s|$))|\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdTag.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdTag.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdTag.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the tag functionality</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'tag'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(tag) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(tag) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.options">
|
||
<code class="sig-name descname">options</code><em class="property"> = ('search', 'del')</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdTag.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'tags', 'category': 'building', 'key': 'tag', 'tags': '', 'text': '\n handles the tags of an object\n\n Usage:\n tag[/del] <obj> [= <tag>[:<category>]]\n tag/search <tag>[:<category]\n\n Switches:\n search - return all objects with a given Tag\n del - remove the given tag. If no tag is specified,\n clear all tags on object.\n\n Manipulates and lists tags on objects. Tags allow for quick\n grouping of and searching for objects. If only <obj> is given,\n list all tags on the object. If /search is used, list objects\n with the given tag.\n The category can be used for grouping tags themselves, but it\n should be used with restrain - tags on their own are usually\n enough to for most grouping schemes.\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdTag.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.building.CmdSpawn">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.building.</code><code class="sig-name descname">CmdSpawn</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>spawn objects from prototype</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>spawn[/noloc] <prototype_key>
|
||
spawn[/noloc] <prototype_dict></p>
|
||
<p>spawn/search [prototype_keykey][;tag[,tag]]
|
||
spawn/list [tag, tag, …]
|
||
spawn/show [<prototype_key>]
|
||
spawn/update <prototype_key></p>
|
||
<p>spawn/save <prototype_dict>
|
||
spawn/edit [<prototype_key>]
|
||
olc - equivalent to spawn/edit</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><dl class="simple">
|
||
<dt>noloc - allow location to be None if not specified explicitly. Otherwise,</dt><dd><p>location will default to caller’s current location.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>search - search prototype by name or tags.
|
||
list - list available prototypes, optionally limit by tags.
|
||
show, examine - inspect prototype by key. If not given, acts like list.
|
||
raw - show the raw dict of the prototype as a one-line string for manual editing.
|
||
save - save a prototype to the database. It will be listable by /list.
|
||
delete - remove a prototype from database, if allowed to.
|
||
update - find existing objects with the same prototype_key and update</p>
|
||
<blockquote>
|
||
<div><p>them with latest version of given prototype. If given with /save,
|
||
will auto-update all objects with the old version of the prototype
|
||
without asking first.</p>
|
||
</div></blockquote>
|
||
<p>edit, menu, olc - create/manipulate prototype in a menu interface.</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>spawn GOBLIN
|
||
spawn {“key”:”goblin”, “typeclass”:”monster.Monster”, “location”:”#2”}
|
||
spawn/save {“key”: “grunt”, prototype: “goblin”};;mobs;edit:all()</p>
|
||
<dl>
|
||
<dt>Dictionary keys:</dt><dd><dl class="simple">
|
||
<dt><a href="#id57"><span class="problematic" id="id58">|</span></a>wprototype_parent <a href="#id59"><span class="problematic" id="id60">|</span></a>n - name of parent prototype to use. Required if typeclass is</dt><dd><p>not set. Can be a path or a list for multiple inheritance (inherits
|
||
left to right). If set one of the parents must have a typeclass.</p>
|
||
</dd>
|
||
</dl>
|
||
<p><a href="#id61"><span class="problematic" id="id62">|</span></a>wtypeclass <a href="#id63"><span class="problematic" id="id64">|</span></a>n - string. Required if prototype_parent is not set.
|
||
<a href="#id65"><span class="problematic" id="id66">|</span></a>wkey <a href="#id67"><span class="problematic" id="id68">|</span></a>n - string, the main object identifier
|
||
<a href="#id69"><span class="problematic" id="id70">|</span></a>wlocation <a href="#id71"><span class="problematic" id="id72">|</span></a>n - this should be a valid object or #dbref
|
||
<a href="#id73"><span class="problematic" id="id74">|</span></a>whome <a href="#id75"><span class="problematic" id="id76">|</span></a>n - valid object or #dbref
|
||
<a href="#id77"><span class="problematic" id="id78">|</span></a>wdestination|n - only valid for exits (object or dbref)
|
||
<a href="#id79"><span class="problematic" id="id80">|</span></a>wpermissions|n - string or list of permission strings
|
||
<a href="#id81"><span class="problematic" id="id82">|</span></a>wlocks <a href="#id83"><span class="problematic" id="id84">|</span></a>n - a lock-string
|
||
<a href="#id85"><span class="problematic" id="id86">|</span></a>waliases <a href="#id87"><span class="problematic" id="id88">|</span></a>n - string or list of strings.
|
||
<a href="#id89"><span class="problematic" id="id90">|</span></a>wndb_|n<name> - value of a nattribute (<a href="#id113"><span class="problematic" id="id114">ndb_</span></a> is stripped)</p>
|
||
<dl class="simple">
|
||
<dt><a href="#id91"><span class="problematic" id="id92">|</span></a>wprototype_key|n - name of this prototype. Unique. Used to store/retrieve from db</dt><dd><p>and update existing prototyped objects if desired.</p>
|
||
</dd>
|
||
</dl>
|
||
<p><a href="#id93"><span class="problematic" id="id94">|</span></a>wprototype_desc|n - desc of this prototype. Used in listings
|
||
<a href="#id95"><span class="problematic" id="id96">|</span></a>wprototype_locks|n - locks of this prototype. Limits who may use prototype
|
||
<a href="#id97"><span class="problematic" id="id98">|</span></a>wprototype_tags|n - tags of this prototype. Used to find prototype</p>
|
||
<p>any other keywords are interpreted as Attributes and their values.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>The available prototypes are defined globally in modules set in
|
||
settings.PROTOTYPE_MODULES. If spawn is used without arguments it
|
||
displays a list of available prototypes.</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._get_prototype_detail">
|
||
<code class="sig-name descname">_get_prototype_detail</code><span class="sig-paren">(</span><em class="sig-param">query=None</em>, <em class="sig-param">prototypes=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn._get_prototype_detail"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._get_prototype_detail" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Display the detailed specs of one or more prototypes.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><ul class="simple">
|
||
<li><p><strong>query</strong> (<em>str</em><em>, </em><em>optional</em>) – If this is given and <cite>prototypes</cite> is not, search for
|
||
the prototype(s) by this query. This may be a partial query which
|
||
may lead to multiple matches, all being displayed.</p></li>
|
||
<li><p><strong>prototypes</strong> (<em>list</em><em>, </em><em>optional</em>) – If given, ignore <cite>query</cite> and only show these
|
||
prototype-details.</p></li>
|
||
</ul>
|
||
</dd>
|
||
<dt class="field-even">Returns</dt>
|
||
<dd class="field-even"><p><dl class="simple">
|
||
<dt>A formatted string of one or more prototype details.</dt><dd><p>If None, the caller was already informed of the error.</p>
|
||
</dd>
|
||
</dl>
|
||
</p>
|
||
</dd>
|
||
<dt class="field-odd">Return type</dt>
|
||
<dd class="field-odd"><p>display (str, None)</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('olc', 'spawn')</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._list_prototypes">
|
||
<code class="sig-name descname">_list_prototypes</code><span class="sig-paren">(</span><em class="sig-param">key=None</em>, <em class="sig-param">tags=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn._list_prototypes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._list_prototypes" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Display prototypes as a list, optionally limited by key/tags.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'olc', 'spawn'}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._parse_key_desc_tags">
|
||
<code class="sig-name descname">_parse_key_desc_tags</code><span class="sig-paren">(</span><em class="sig-param">argstring</em>, <em class="sig-param">desc=True</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn._parse_key_desc_tags"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._parse_key_desc_tags" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Parse ;-separated input list.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._parse_prototype">
|
||
<code class="sig-name descname">_parse_prototype</code><span class="sig-paren">(</span><em class="sig-param">inp</em>, <em class="sig-param">expect=<class 'dict'></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn._parse_prototype"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._parse_prototype" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Parse a prototype dict or key from the input and convert it safely
|
||
into a dict if appropriate.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><ul class="simple">
|
||
<li><p><strong>inp</strong> (<em>str</em>) – The input from user.</p></li>
|
||
<li><p><strong>expect</strong> (<em>type</em><em>, </em><em>optional</em>) – </p></li>
|
||
</ul>
|
||
</dd>
|
||
<dt class="field-even">Returns</dt>
|
||
<dd class="field-even"><p><dl class="simple">
|
||
<dt>The parsed prototype. If None, the error</dt><dd><p>was already reported.</p>
|
||
</dd>
|
||
</dl>
|
||
</p>
|
||
</dd>
|
||
<dt class="field-odd">Return type</dt>
|
||
<dd class="field-odd"><p>prototype (dict, str or None)</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._search_prototype">
|
||
<code class="sig-name descname">_search_prototype</code><span class="sig-paren">(</span><em class="sig-param">prototype_key</em>, <em class="sig-param">quiet=False</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn._search_prototype"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._search_prototype" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Search for prototype and handle no/multi-match and access.</p>
|
||
<p>Returns a single found prototype or None - in the
|
||
case, the caller has already been informed of the
|
||
search error we need not do any further action.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn._update_existing_objects">
|
||
<code class="sig-name descname">_update_existing_objects</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn._update_existing_objects" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['olc']</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/building.html#CmdSpawn.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implements the spawner</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'spawn'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(spawn) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'olc', 'category': 'building', 'key': 'spawn', 'tags': '', 'text': '\n spawn objects from prototype\n\n Usage:\n spawn[/noloc] <prototype_key>\n spawn[/noloc] <prototype_dict>\n\n spawn/search [prototype_keykey][;tag[,tag]]\n spawn/list [tag, tag, ...]\n spawn/show [<prototype_key>]\n spawn/update <prototype_key>\n\n spawn/save <prototype_dict>\n spawn/edit [<prototype_key>]\n olc - equivalent to spawn/edit\n\n Switches:\n noloc - allow location to be None if not specified explicitly. Otherwise,\n location will default to caller\'s current location.\n search - search prototype by name or tags.\n list - list available prototypes, optionally limit by tags.\n show, examine - inspect prototype by key. If not given, acts like list.\n raw - show the raw dict of the prototype as a one-line string for manual editing.\n save - save a prototype to the database. It will be listable by /list.\n delete - remove a prototype from database, if allowed to.\n update - find existing objects with the same prototype_key and update\n them with latest version of given prototype. If given with /save,\n will auto-update all objects with the old version of the prototype\n without asking first.\n edit, menu, olc - create/manipulate prototype in a menu interface.\n\n Example:\n spawn GOBLIN\n spawn {"key":"goblin", "typeclass":"monster.Monster", "location":"#2"}\n spawn/save {"key": "grunt", prototype: "goblin"};;mobs;edit:all()\n \x0c\n Dictionary keys:\n |wprototype_parent |n - name of parent prototype to use. Required if typeclass is\n not set. Can be a path or a list for multiple inheritance (inherits\n left to right). If set one of the parents must have a typeclass.\n |wtypeclass |n - string. Required if prototype_parent is not set.\n |wkey |n - string, the main object identifier\n |wlocation |n - this should be a valid object or #dbref\n |whome |n - valid object or #dbref\n |wdestination|n - only valid for exits (object or dbref)\n |wpermissions|n - string or list of permission strings\n |wlocks |n - a lock-string\n |waliases |n - string or list of strings.\n |wndb_|n<name> - value of a nattribute (ndb_ is stripped)\n\n |wprototype_key|n - name of this prototype. Unique. Used to store/retrieve from db\n and update existing prototyped objects if desired.\n |wprototype_desc|n - desc of this prototype. Used in listings\n |wprototype_locks|n - locks of this prototype. Limits who may use prototype\n |wprototype_tags|n - tags of this prototype. Used to find prototype\n\n any other keywords are interpreted as Attributes and their values.\n\n The available prototypes are defined globally in modules set in\n settings.PROTOTYPE_MODULES. If spawn is used without arguments it\n displays a list of available prototypes.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.building.CmdSpawn.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('noloc', 'search', 'list', 'show', 'raw', 'examine', 'save', 'delete', 'menu', 'olc', 'update', 'edit')</em><a class="headerlink" href="#evennia.commands.default.building.CmdSpawn.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.cmdset_account">
|
||
<span id="evennia-commands-default-cmdset-account-module"></span><h2>evennia.commands.default.cmdset_account module<a class="headerlink" href="#module-evennia.commands.default.cmdset_account" title="Permalink to this headline">¶</a></h2>
|
||
<p>This is the cmdset for Account (OOC) commands. These are
|
||
stored on the Account object and should thus be able to handle getting
|
||
an Account object as caller rather than a Character.</p>
|
||
<p>Note - in order for session-rerouting (in MULTISESSION_MODE=2) to
|
||
function, all commands in this cmdset should use the self.msg()
|
||
command method rather than caller.msg().</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.cmdset_account.AccountCmdSet">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.cmdset_account.</code><code class="sig-name descname">AccountCmdSet</code><span class="sig-paren">(</span><em class="sig-param">cmdsetobj=None</em>, <em class="sig-param">key=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_account.html#AccountCmdSet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_account.AccountCmdSet" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.cmdset.CmdSet" title="evennia.commands.cmdset.CmdSet"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.cmdset.CmdSet</span></code></a></p>
|
||
<p>Implements the account command set.</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.cmdset_account.AccountCmdSet.at_cmdset_creation">
|
||
<code class="sig-name descname">at_cmdset_creation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_account.html#AccountCmdSet.at_cmdset_creation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_account.AccountCmdSet.at_cmdset_creation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Populates the cmdset</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_account.AccountCmdSet.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'DefaultAccount'</em><a class="headerlink" href="#evennia.commands.default.cmdset_account.AccountCmdSet.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_account.AccountCmdSet.path">
|
||
<code class="sig-name descname">path</code><em class="property"> = 'evennia.commands.default.cmdset_account.AccountCmdSet'</em><a class="headerlink" href="#evennia.commands.default.cmdset_account.AccountCmdSet.path" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_account.AccountCmdSet.priority">
|
||
<code class="sig-name descname">priority</code><em class="property"> = -10</em><a class="headerlink" href="#evennia.commands.default.cmdset_account.AccountCmdSet.priority" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.cmdset_character">
|
||
<span id="evennia-commands-default-cmdset-character-module"></span><h2>evennia.commands.default.cmdset_character module<a class="headerlink" href="#module-evennia.commands.default.cmdset_character" title="Permalink to this headline">¶</a></h2>
|
||
<p>This module ties together all the commands default Character objects have
|
||
available (i.e. IC commands). Note that some commands, such as
|
||
communication-commands are instead put on the account level, in the
|
||
Account cmdset. Account commands remain available also to Characters.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.cmdset_character.CharacterCmdSet">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.cmdset_character.</code><code class="sig-name descname">CharacterCmdSet</code><span class="sig-paren">(</span><em class="sig-param">cmdsetobj=None</em>, <em class="sig-param">key=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_character.html#CharacterCmdSet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_character.CharacterCmdSet" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.cmdset.CmdSet" title="evennia.commands.cmdset.CmdSet"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.cmdset.CmdSet</span></code></a></p>
|
||
<p>Implements the default command set.</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.cmdset_character.CharacterCmdSet.at_cmdset_creation">
|
||
<code class="sig-name descname">at_cmdset_creation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_character.html#CharacterCmdSet.at_cmdset_creation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_character.CharacterCmdSet.at_cmdset_creation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Populates the cmdset</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_character.CharacterCmdSet.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'DefaultCharacter'</em><a class="headerlink" href="#evennia.commands.default.cmdset_character.CharacterCmdSet.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_character.CharacterCmdSet.path">
|
||
<code class="sig-name descname">path</code><em class="property"> = 'evennia.commands.default.cmdset_character.CharacterCmdSet'</em><a class="headerlink" href="#evennia.commands.default.cmdset_character.CharacterCmdSet.path" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_character.CharacterCmdSet.priority">
|
||
<code class="sig-name descname">priority</code><em class="property"> = 0</em><a class="headerlink" href="#evennia.commands.default.cmdset_character.CharacterCmdSet.priority" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.cmdset_session">
|
||
<span id="evennia-commands-default-cmdset-session-module"></span><h2>evennia.commands.default.cmdset_session module<a class="headerlink" href="#module-evennia.commands.default.cmdset_session" title="Permalink to this headline">¶</a></h2>
|
||
<p>This module stores session-level commands.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.cmdset_session.SessionCmdSet">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.cmdset_session.</code><code class="sig-name descname">SessionCmdSet</code><span class="sig-paren">(</span><em class="sig-param">cmdsetobj=None</em>, <em class="sig-param">key=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_session.html#SessionCmdSet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_session.SessionCmdSet" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.cmdset.CmdSet" title="evennia.commands.cmdset.CmdSet"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.cmdset.CmdSet</span></code></a></p>
|
||
<p>Sets up the unlogged cmdset.</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.cmdset_session.SessionCmdSet.at_cmdset_creation">
|
||
<code class="sig-name descname">at_cmdset_creation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_session.html#SessionCmdSet.at_cmdset_creation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_session.SessionCmdSet.at_cmdset_creation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Populate the cmdset</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_session.SessionCmdSet.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'DefaultSession'</em><a class="headerlink" href="#evennia.commands.default.cmdset_session.SessionCmdSet.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_session.SessionCmdSet.path">
|
||
<code class="sig-name descname">path</code><em class="property"> = 'evennia.commands.default.cmdset_session.SessionCmdSet'</em><a class="headerlink" href="#evennia.commands.default.cmdset_session.SessionCmdSet.path" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_session.SessionCmdSet.priority">
|
||
<code class="sig-name descname">priority</code><em class="property"> = -20</em><a class="headerlink" href="#evennia.commands.default.cmdset_session.SessionCmdSet.priority" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.cmdset_unloggedin">
|
||
<span id="evennia-commands-default-cmdset-unloggedin-module"></span><h2>evennia.commands.default.cmdset_unloggedin module<a class="headerlink" href="#module-evennia.commands.default.cmdset_unloggedin" title="Permalink to this headline">¶</a></h2>
|
||
<p>This module describes the unlogged state of the default game.
|
||
The setting STATE_UNLOGGED should be set to the python path
|
||
of the state instance in this module.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.cmdset_unloggedin.</code><code class="sig-name descname">UnloggedinCmdSet</code><span class="sig-paren">(</span><em class="sig-param">cmdsetobj=None</em>, <em class="sig-param">key=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_unloggedin.html#UnloggedinCmdSet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.cmdset.CmdSet" title="evennia.commands.cmdset.CmdSet"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.cmdset.CmdSet</span></code></a></p>
|
||
<p>Sets up the unlogged cmdset.</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.at_cmdset_creation">
|
||
<code class="sig-name descname">at_cmdset_creation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/cmdset_unloggedin.html#UnloggedinCmdSet.at_cmdset_creation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.at_cmdset_creation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Populate the cmdset</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'DefaultUnloggedin'</em><a class="headerlink" href="#evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.path">
|
||
<code class="sig-name descname">path</code><em class="property"> = 'evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet'</em><a class="headerlink" href="#evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.path" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.priority">
|
||
<code class="sig-name descname">priority</code><em class="property"> = 0</em><a class="headerlink" href="#evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet.priority" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.comms">
|
||
<span id="evennia-commands-default-comms-module"></span><h2>evennia.commands.default.comms module<a class="headerlink" href="#module-evennia.commands.default.comms" title="Permalink to this headline">¶</a></h2>
|
||
<p>Comsystem command module.</p>
|
||
<p>Comm commands are OOC commands and intended to be made available to
|
||
the Account at all times (they go into the AccountCmdSet). So we
|
||
make sure to homogenize self.caller to always be the account object
|
||
for easy handling.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdAddCom</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdAddCom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>add a channel alias and/or subscribe to a channel</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>addcom [alias=] <channel></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Joins a given channel. If alias is given, this will allow you to
|
||
refer to the channel by this alias rather than the full channel
|
||
name. Subsequent calls of this command can be used to add multiple
|
||
aliases to an already joined channel.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('addcom', 'chanalias', 'aliaschan')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'addcom', 'aliaschan', 'chanalias'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['chanalias', 'aliaschan']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdAddCom.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'addcom'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAddCom.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'chanalias aliaschan', 'category': 'comms', 'key': 'addcom', 'tags': '', 'text': '\n add a channel alias and/or subscribe to a channel\n\n Usage:\n addcom [alias=] <channel>\n\n Joins a given channel. If alias is given, this will allow you to\n refer to the channel by this alias rather than the full channel\n name. Subsequent calls of this command can be used to add multiple\n aliases to an already joined channel.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAddCom.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdDelCom</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdDelCom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>remove a channel alias and/or unsubscribe from channel</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>delcom <alias or channel>
|
||
delcom/all <channel></p>
|
||
</dd>
|
||
</dl>
|
||
<p>If the full channel name is given, unsubscribe from the
|
||
channel. If an alias is given, remove the alias but don’t
|
||
unsubscribe. If the ‘all’ switch is used, remove all aliases
|
||
for that channel.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('delcom', 'delaliaschan', 'delchanalias')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'delaliaschan', 'delchanalias', 'delcom'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['delaliaschan', 'delchanalias']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdDelCom.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implementing the command.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'delcom'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not perm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not perm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdDelCom.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'delaliaschan delchanalias', 'category': 'comms', 'key': 'delcom', 'tags': '', 'text': "\n remove a channel alias and/or unsubscribe from channel\n\n Usage:\n delcom <alias or channel>\n delcom/all <channel>\n\n If the full channel name is given, unsubscribe from the\n channel. If an alias is given, remove the alias but don't\n unsubscribe. If the 'all' switch is used, remove all aliases\n for that channel.\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdDelCom.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdAllCom</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdAllCom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>perform admin operations on all channels</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>allcom [on | off | who | destroy]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Allows the user to universally turn off or on all channels they are on, as
|
||
well as perform a ‘who’ for all channels they are on. Destroy deletes all
|
||
channels that you control.</p>
|
||
<p>Without argument, works like comlist.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('allcom',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'allcom'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdAllCom.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Runs the function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'allcom'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdAllCom.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'allcom', 'tags': '', 'text': "\n perform admin operations on all channels\n\n Usage:\n allcom [on | off | who | destroy]\n\n Allows the user to universally turn off or on all channels they are on, as\n well as perform a 'who' for all channels they are on. Destroy deletes all\n channels that you control.\n\n Without argument, works like comlist.\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdAllCom.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdChannels">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdChannels</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdChannels"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>list all channels available to you</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>channels
|
||
clist
|
||
comlist</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Lists all channels available to you, whether you listen to them or not.
|
||
Use ‘comlist’ to only view your current channel subscriptions.
|
||
Use addcom/delcom to join and leave channels</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('channels', 'clist', 'channellist', 'all channels', 'chanlist', 'comlist')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'all channels', 'chanlist', 'channellist', 'channels', 'clist', 'comlist'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['clist', 'channellist', 'all channels', 'chanlist', 'comlist']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdChannels.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'channels'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannels.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'clist channellist all channels chanlist comlist', 'category': 'comms', 'key': 'channels', 'tags': '', 'text': "\n list all channels available to you\n\n Usage:\n channels\n clist\n comlist\n\n Lists all channels available to you, whether you listen to them or not.\n Use 'comlist' to only view your current channel subscriptions.\n Use addcom/delcom to join and leave channels\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannels.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdCdestroy</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCdestroy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>destroy a channel you created</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cdestroy <channel></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Destroys a channel that you control.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cdestroy',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cdestroy'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCdestroy.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Destroy objects cleanly.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cdestroy'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdestroy.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'cdestroy', 'tags': '', 'text': '\n destroy a channel you created\n\n Usage:\n cdestroy <channel>\n\n Destroys a channel that you control.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdestroy.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdCBoot</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCBoot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>kick an account from a channel you control</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cboot[/quiet] <channel> = <account> [:reason]</p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>quiet - don’t notify the channel</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Kicks an account or object from a channel you control.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cboot',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cboot'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCBoot.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implement the function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cboot'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'cboot', 'tags': '', 'text': "\n kick an account from a channel you control\n\n Usage:\n cboot[/quiet] <channel> = <account> [:reason]\n\n Switch:\n quiet - don't notify the channel\n\n Kicks an account or object from a channel you control.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCBoot.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('quiet',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCBoot.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdCemit">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdCemit</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCemit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>send an admin message to a channel you control</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cemit[/switches] <channel> = <message></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>sendername - attach the sender’s name before the message
|
||
quiet - don’t echo the message back to sender</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Allows the user to broadcast a message over a channel as long as
|
||
they control it. It does not show the user’s name unless they
|
||
provide the /sendername switch.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cmsg', 'cemit')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cemit', 'cmsg'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['cmsg']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCemit.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cemit'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned) and pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned) and pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'cmsg', 'category': 'comms', 'key': 'cemit', 'tags': '', 'text': "\n send an admin message to a channel you control\n\n Usage:\n cemit[/switches] <channel> = <message>\n\n Switches:\n sendername - attach the sender's name before the message\n quiet - don't echo the message back to sender\n\n Allows the user to broadcast a message over a channel as long as\n they control it. It does not show the user's name unless they\n provide the /sendername switch.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCemit.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('sendername', 'quiet')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCemit.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdCWho">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdCWho</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCWho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>show who is listening to a channel</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cwho <channel></p>
|
||
</dd>
|
||
</dl>
|
||
<p>List who is connected to a given channel you have access to.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cwho',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cwho'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCWho.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implement function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cwho'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd: not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCWho.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'cwho', 'tags': '', 'text': '\n show who is listening to a channel\n\n Usage:\n cwho <channel>\n\n List who is connected to a given channel you have access to.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCWho.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdChannelCreate</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdChannelCreate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>create a new channel</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>ccreate <new channel>[;alias;alias…] = description</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Creates a new channel owned by you.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('channelcreate', 'ccreate')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'ccreate', 'channelcreate'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['channelcreate']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdChannelCreate.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'ccreate'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not pperm(channel_banned) and pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not pperm(channel_banned) and pperm(Player)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdChannelCreate.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'channelcreate', 'category': 'comms', 'key': 'ccreate', 'tags': '', 'text': '\n create a new channel\n\n Usage:\n ccreate <new channel>[;alias;alias...] = description\n\n Creates a new channel owned by you.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdChannelCreate.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdClock">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdClock</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdClock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdClock" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>change channel locks of a channel you control</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>clock <channel> [= <lockstring>]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Changes the lock access restrictions of a channel. If no
|
||
lockstring was given, view the current lock definitions.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('clock',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'clock'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdClock.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdClock.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>run the function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'clock'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdClock.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'clock', 'tags': '', 'text': '\n change channel locks of a channel you control\n\n Usage:\n clock <channel> [= <lockstring>]\n\n Changes the lock access restrictions of a channel. If no\n lockstring was given, view the current lock definitions.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdClock.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdCdesc</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCdesc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>describe a channel you control</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>cdesc <channel> = <description></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Changes the description of the channel as shown in
|
||
channel lists.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('cdesc',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cdesc'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdCdesc.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'cdesc'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not pperm(channel_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdCdesc.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'cdesc', 'tags': '', 'text': '\n describe a channel you control\n\n Usage:\n cdesc <channel> = <description>\n\n Changes the description of the channel as shown in\n channel lists.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdCdesc.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdPage">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdPage</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdPage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdPage" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>send a private message to another account</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>page[/switches] [<account>,<account>,… = <message>]
|
||
tell ‘’
|
||
page <number></p>
|
||
</dd>
|
||
<dt>Switch:</dt><dd><p>last - shows who you last messaged
|
||
list - show your last <number> of tells/pages (default)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Send a message to target user (if online). If no
|
||
argument is given, you will get a list of your latest messages.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('page', 'tell')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'page', 'tell'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['tell']</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdPage.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdPage.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement function using the Msg methods</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'page'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:not pperm(page_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:not pperm(page_banned)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'tell', 'category': 'comms', 'key': 'page', 'tags': '', 'text': "\n send a private message to another account\n\n Usage:\n page[/switches] [<account>,<account>,... = <message>]\n tell ''\n page <number>\n\n Switch:\n last - shows who you last messaged\n list - show your last <number> of tells/pages (default)\n\n Send a message to target user (if online). If no\n argument is given, you will get a list of your latest messages.\n "}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdPage.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('last', 'list')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdPage.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdIRC2Chan</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdIRC2Chan"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>Link an evennia channel to an external IRC channel</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>irc2chan[/switches] <evennia_channel> = <ircnetwork> <port> <#irchannel> <botname>[:typeclass]
|
||
irc2chan/delete botname|#dbid</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><dl class="option-list">
|
||
<dt><kbd><span class="option">/delete</span></kbd></dt>
|
||
<dd><ul class="simple">
|
||
<li><p>this will delete the bot and remove the irc connection</p></li>
|
||
</ul>
|
||
<p>to the channel. Requires the botname or #dbid as input.</p>
|
||
</dd>
|
||
<dt><kbd><span class="option">/remove</span></kbd></dt>
|
||
<dd><ul class="simple">
|
||
<li><p>alias to /delete</p></li>
|
||
</ul>
|
||
</dd>
|
||
</dl>
|
||
<p>/disconnect - alias to /delete
|
||
/list - show all irc<->evennia mappings
|
||
/ssl - use an SSL-encrypted connection</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>irc2chan myircchan = irc.dalnet.net 6667 #mychannel evennia-bot
|
||
irc2chan public = irc.freenode.net 6667 #evgaming #evbot:accounts.mybot.MyBot</p>
|
||
<p>This creates an IRC bot that connects to a given IRC network and
|
||
channel. If a custom typeclass path is given, this will be used
|
||
instead of the default bot class.
|
||
The bot will relay everything said in the evennia channel to the
|
||
IRC channel and vice versa. The bot will automatically connect at
|
||
server start, so this command need only be given once. The
|
||
/disconnect switch will permanently delete the bot. To only
|
||
temporarily deactivate it, use the <a href="#id99"><span class="problematic" id="id100">|</span></a>wservices|n command instead.
|
||
Provide an optional bot class path to use a custom bot.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('irc2chan',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'irc2chan'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdIRC2Chan.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Setup the irc-channel mapping</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'irc2chan'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:serversetting(IRC_ENABLED) and pperm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:serversetting(IRC_ENABLED) and pperm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'irc2chan', 'tags': '', 'text': '\n Link an evennia channel to an external IRC channel\n\n Usage:\n irc2chan[/switches] <evennia_channel> = <ircnetwork> <port> <#irchannel> <botname>[:typeclass]\n irc2chan/delete botname|#dbid\n\n Switches:\n /delete - this will delete the bot and remove the irc connection\n to the channel. Requires the botname or #dbid as input.\n /remove - alias to /delete\n /disconnect - alias to /delete\n /list - show all irc<->evennia mappings\n /ssl - use an SSL-encrypted connection\n\n Example:\n irc2chan myircchan = irc.dalnet.net 6667 #mychannel evennia-bot\n irc2chan public = irc.freenode.net 6667 #evgaming #evbot:accounts.mybot.MyBot\n\n This creates an IRC bot that connects to a given IRC network and\n channel. If a custom typeclass path is given, this will be used\n instead of the default bot class.\n The bot will relay everything said in the evennia channel to the\n IRC channel and vice versa. The bot will automatically connect at\n server start, so this command need only be given once. The\n /disconnect switch will permanently delete the bot. To only\n temporarily deactivate it, use the |wservices|n command instead.\n Provide an optional bot class path to use a custom bot.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdIRC2Chan.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('delete', 'remove', 'disconnect', 'list', 'ssl')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdIRC2Chan.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.comms.</code><code class="sig-name descname">CmdRSS2Chan</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdRSS2Chan"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>link an evennia channel to an external RSS feed</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>rss2chan[/switches] <evennia_channel> = <rss_url></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><dl class="simple">
|
||
<dt>/disconnect - this will stop the feed and remove the connection to the</dt><dd><p>channel.</p>
|
||
</dd>
|
||
</dl>
|
||
<dl class="option-list">
|
||
<dt><kbd><span class="option">/remove</span></kbd></dt>
|
||
<dd><ul class="simple">
|
||
<li><p>“</p></li>
|
||
</ul>
|
||
</dd>
|
||
<dt><kbd><span class="option">/list</span></kbd></dt>
|
||
<dd><ul class="simple">
|
||
<li><p>show all rss->evennia mappings</p></li>
|
||
</ul>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<p>rss2chan rsschan = <a class="reference external" href="http://code.google.com/feeds/p/evennia/updates/basic">http://code.google.com/feeds/p/evennia/updates/basic</a></p>
|
||
<p>This creates an RSS reader that connects to a given RSS feed url. Updates
|
||
will be echoed as a title and news link to the given channel. The rate of
|
||
updating is set with the RSS_UPDATE_INTERVAL variable in settings (default
|
||
is every 10 minutes).</p>
|
||
<p>When disconnecting you need to supply both the channel and url again so as
|
||
to identify the connection uniquely.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('rss2chan',)</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'rss2chan'}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/comms.html#CmdRSS2Chan.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Setup the rss-channel mapping</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'comms'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'rss2chan'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:serversetting(RSS_ENABLED) and pperm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:serversetting(RSS_ENABLED) and pperm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'comms', 'key': 'rss2chan', 'tags': '', 'text': '\n link an evennia channel to an external RSS feed\n\n Usage:\n rss2chan[/switches] <evennia_channel> = <rss_url>\n\n Switches:\n /disconnect - this will stop the feed and remove the connection to the\n channel.\n /remove - "\n /list - show all rss->evennia mappings\n\n Example:\n rss2chan rsschan = http://code.google.com/feeds/p/evennia/updates/basic\n\n This creates an RSS reader that connects to a given RSS feed url. Updates\n will be echoed as a title and news link to the given channel. The rate of\n updating is set with the RSS_UPDATE_INTERVAL variable in settings (default\n is every 10 minutes).\n\n When disconnecting you need to supply both the channel and url again so as\n to identify the connection uniquely.\n '}</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.comms.CmdRSS2Chan.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('disconnect', 'remove', 'list')</em><a class="headerlink" href="#evennia.commands.default.comms.CmdRSS2Chan.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.general">
|
||
<span id="evennia-commands-default-general-module"></span><h2>evennia.commands.default.general module<a class="headerlink" href="#module-evennia.commands.default.general" title="Permalink to this headline">¶</a></h2>
|
||
<p>General Character commands usually available to all characters</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdHome">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdHome</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdHome"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdHome" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>move to your character’s home location</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>home</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Teleports you to your home location.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('home',)</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'home'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdHome.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdHome.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdHome.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'home'</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(home) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(home) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdHome.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'home', 'tags': '', 'text': "\n move to your character's home location\n\n Usage:\n home\n\n Teleports you to your home location.\n "}</em><a class="headerlink" href="#evennia.commands.default.general.CmdHome.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdLook">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdLook</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdLook"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdLook" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>look at location or object</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>look
|
||
look <obj>
|
||
look <a href="#id101"><span class="problematic" id="id102">*</span></a><account></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Observes your location or objects in your vicinity.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('look', 'ls', 'l')</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'l', 'look', 'ls'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['l', 'ls']</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdLook.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdLook.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdLook.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Handle the looking.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'look'</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdLook.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look at location or object\n\n Usage:\n look\n look <obj>\n look *<account>\n\n Observes your location or objects in your vicinity.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdLook.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdNick">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdNick</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdNick"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdNick" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>define a personal alias/nick by defining a string to
|
||
match and replace it with another on the fly</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>nick[/switches] <string> [= [replacement_string]]
|
||
nick[/switches] <template> = <replacement_template>
|
||
nick/delete <string> or number
|
||
nicks</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>inputline - replace on the inputline (default)
|
||
object - replace on object-lookup
|
||
account - replace on account-lookup
|
||
list - show all defined aliases (also “nicks” works)
|
||
delete - remove nick by index in /list
|
||
clearall - clear all nicks</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Examples</p>
|
||
<p>nick hi = say Hello, I’m Sarah!
|
||
nick/object tom = the tall man
|
||
nick build $1 $2 = create/drop $1;$2
|
||
nick tell $1 $2=page $1=$2
|
||
nick tm?$1=page tallman=$1
|
||
nick tm=$1=page tallman=$1</p>
|
||
<p>A ‘nick’ is a personal string replacement. Use $1, $2, … to catch arguments.
|
||
Put the last $-marker without an ending space to catch all remaining text. You
|
||
can also use unix-glob matching for the left-hand side <string>:</p>
|
||
<blockquote>
|
||
<div><ul class="simple">
|
||
<li><ul>
|
||
<li><p>matches everything</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<p>? - matches 0 or 1 single characters
|
||
[abcd] - matches these chars in any order
|
||
[!abcd] - matches everything not among these chars
|
||
= - escape literal ‘=’ you want in your <string></p>
|
||
</div></blockquote>
|
||
<p>Note that no objects are actually renamed or changed by this command - your nicks
|
||
are only available to you. If you want to permanently add keywords to an object
|
||
for everyone to use, you need build privileges and the alias command.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('nickname', 'nick', 'nicks')</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'nick', 'nickname', 'nicks'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['nickname', 'nicks']</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdNick.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdNick.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdNick.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Create the nickname</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'nick'</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdNick.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdNick.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdNick.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Support escaping of = with =</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'nickname nicks', 'category': 'general', 'key': 'nick', 'tags': '', 'text': '\n define a personal alias/nick by defining a string to\n match and replace it with another on the fly\n\n Usage:\n nick[/switches] <string> [= [replacement_string]]\n nick[/switches] <template> = <replacement_template>\n nick/delete <string> or number\n nicks\n\n Switches:\n inputline - replace on the inputline (default)\n object - replace on object-lookup\n account - replace on account-lookup\n list - show all defined aliases (also "nicks" works)\n delete - remove nick by index in /list\n clearall - clear all nicks\n\n Examples:\n nick hi = say Hello, I\'m Sarah!\n nick/object tom = the tall man\n nick build $1 $2 = create/drop $1;$2\n nick tell $1 $2=page $1=$2\n nick tm?$1=page tallman=$1\n nick tm\\=$1=page tallman=$1\n\n A \'nick\' is a personal string replacement. Use $1, $2, ... to catch arguments.\n Put the last $-marker without an ending space to catch all remaining text. You\n can also use unix-glob matching for the left-hand side <string>:\n\n * - matches everything\n ? - matches 0 or 1 single characters\n [abcd] - matches these chars in any order\n [!abcd] - matches everything not among these chars\n \\= - escape literal \'=\' you want in your <string>\n\n Note that no objects are actually renamed or changed by this command - your nicks\n are only available to you. If you want to permanently add keywords to an object\n for everyone to use, you need build privileges and the alias command.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdNick.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('inputline', 'object', 'account', 'list', 'delete', 'clearall')</em><a class="headerlink" href="#evennia.commands.default.general.CmdNick.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdInventory">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdInventory</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdInventory"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdInventory" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>view inventory</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>inventory
|
||
inv</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Shows your inventory.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('inventory', 'i', 'inv')</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'i', 'inv', 'inventory'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['i', 'inv']</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdInventory.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdInventory.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>check inventory</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'inventory'</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdInventory.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'i inv', 'category': 'general', 'key': 'inventory', 'tags': '', 'text': '\n view inventory\n\n Usage:\n inventory\n inv\n\n Shows your inventory.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdInventory.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdSetDesc</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdSetDesc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>describe yourself</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>setdesc <description></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Add a description to yourself. This
|
||
will be visible to people when they
|
||
look at you.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('setdesc',)</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'setdesc'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdSetDesc.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>add the description</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'setdesc'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSetDesc.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'setdesc', 'tags': '', 'text': '\n describe yourself\n\n Usage:\n setdesc <description>\n\n Add a description to yourself. This\n will be visible to people when they\n look at you.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdSetDesc.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdGet">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdGet</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdGet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdGet" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>pick up something</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>get <obj></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Picks up an object from your location and puts it in
|
||
your inventory.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('get', 'grab')</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'get', 'grab'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['grab']</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdGet.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdGet.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdGet.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implements the command.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'get'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGet.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'grab', 'category': 'general', 'key': 'get', 'tags': '', 'text': '\n pick up something\n\n Usage:\n get <obj>\n\n Picks up an object from your location and puts it in\n your inventory.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdGet.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdDrop">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdDrop</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdDrop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdDrop" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>drop something</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>drop <obj></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Lets you drop an object from your inventory into the
|
||
location you are currently in.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('drop',)</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'drop'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdDrop.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdDrop.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'drop'</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdDrop.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'drop', 'tags': '', 'text': '\n drop something\n\n Usage:\n drop <obj>\n\n Lets you drop an object from your inventory into the\n location you are currently in.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdDrop.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdGive">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdGive</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdGive"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdGive" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>give away something to someone</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>give <inventory obj> <to||=> <target></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Gives an items from your inventory to another character,
|
||
placing it in their inventory.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('give',)</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'give'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdGive.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdGive.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdGive.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement give</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'give'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.rhs_split">
|
||
<code class="sig-name descname">rhs_split</code><em class="property"> = ('=', ' to ')</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.rhs_split" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdGive.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'give', 'tags': '', 'text': '\n give away something to someone\n\n Usage:\n give <inventory obj> <to||=> <target>\n\n Gives an items from your inventory to another character,\n placing it in their inventory.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdGive.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdSay">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdSay</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdSay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdSay" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>speak as your character</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>say <message></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Talk to those in your current location.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ("'", 'say', '"')</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'"', "'", 'say'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ["'", '"']</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdSay.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdSay.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdSay.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Run the say command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'say'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdSay.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '\' "', 'category': 'general', 'key': 'say', 'tags': '', 'text': '\n speak as your character\n\n Usage:\n say <message>\n\n Talk to those in your current location.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdSay.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdWhisper">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdWhisper</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdWhisper"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>Speak privately as your character to another</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>whisper <character> = <message>
|
||
whisper <char1>, <char2> = <message></p>
|
||
</dd>
|
||
</dl>
|
||
<p>Talk privately to one or more characters in your current location, without
|
||
others in the room being informed.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('whisper',)</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'whisper'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdWhisper.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Run the whisper command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'whisper'</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdWhisper.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'whisper', 'tags': '', 'text': '\n Speak privately as your character to another\n\n Usage:\n whisper <character> = <message>\n whisper <char1>, <char2> = <message>\n\n Talk privately to one or more characters in your current location, without\n others in the room being informed.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdWhisper.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdPose">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdPose</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdPose"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdPose" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>strike a pose</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>pose <pose text>
|
||
pose’s <pose text></p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Example</p>
|
||
<dl class="simple">
|
||
<dt>pose is standing by the wall, smiling.</dt><dd><p>-> others will see:</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Tom is standing by the wall, smiling.</p>
|
||
<p>Describe an action being taken. The pose text will
|
||
automatically begin with your name.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('emote', ':', 'pose')</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {':', 'emote', 'pose'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = [':', 'emote']</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdPose.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdPose.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdPose.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'pose'</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdPose.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdPose.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdPose.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Custom parse the cases where the emote
|
||
starts with some special letter, such
|
||
as ‘s, at which we don’t want to separate
|
||
the caller’s name and the emote with a
|
||
space.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdPose.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': ': emote', 'category': 'general', 'key': 'pose', 'tags': '', 'text': "\n strike a pose\n\n Usage:\n pose <pose text>\n pose's <pose text>\n\n Example:\n pose is standing by the wall, smiling.\n -> others will see:\n Tom is standing by the wall, smiling.\n\n Describe an action being taken. The pose text will\n automatically begin with your name.\n "}</em><a class="headerlink" href="#evennia.commands.default.general.CmdPose.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.general.CmdAccess">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.general.</code><code class="sig-name descname">CmdAccess</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdAccess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdAccess" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>show your current game access</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>access</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This command shows you the permission hierarchy and
|
||
which permission groups you are a member of.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('groups', 'hierarchy', 'access')</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'access', 'groups', 'hierarchy'}</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['groups', 'hierarchy']</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.general.CmdAccess.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/general.html#CmdAccess.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Load the permission groups</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'access'</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.general.CmdAccess.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'groups hierarchy', 'category': 'general', 'key': 'access', 'tags': '', 'text': '\n show your current game access\n\n Usage:\n access\n\n This command shows you the permission hierarchy and\n which permission groups you are a member of.\n '}</em><a class="headerlink" href="#evennia.commands.default.general.CmdAccess.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.help">
|
||
<span id="evennia-commands-default-help-module"></span><h2>evennia.commands.default.help module<a class="headerlink" href="#module-evennia.commands.default.help" title="Permalink to this headline">¶</a></h2>
|
||
<p>The help command. The basic idea is that help texts for commands
|
||
are best written by those that write the commands - the admins. So
|
||
command-help is all auto-loaded and searched from the current command
|
||
set. The normal, database-tied help system is used for collaborative
|
||
creation of other help topics such as RP help or game-world aides.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.help.CmdHelp">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.help.</code><code class="sig-name descname">CmdHelp</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.command.Command" title="evennia.commands.command.Command"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.command.Command</span></code></a></p>
|
||
<p>View help or a list of topics</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>help <topic or command>
|
||
help list
|
||
help all</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This will search for help on commands and other
|
||
topics related to the game.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('help', '?')</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'?', 'help'}</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['?']</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.check_show_help">
|
||
<code class="sig-name descname">check_show_help</code><span class="sig-paren">(</span><em class="sig-param">cmd</em>, <em class="sig-param">caller</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.check_show_help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.check_show_help" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Helper method. If this return True, the given cmd
|
||
auto-help will be viewable in the help listing.
|
||
Override this to easily select what is shown to
|
||
the account. Note that only commands available
|
||
in the caller’s merged cmdset are available.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><ul class="simple">
|
||
<li><p><strong>cmd</strong> (<a class="reference internal" href="evennia.commands.html#evennia.commands.command.Command" title="evennia.commands.command.Command"><em>Command</em></a>) – Command class from the merged cmdset</p></li>
|
||
<li><p><strong>caller</strong> (<em>Character</em><em>, </em><em>Account</em><em> or </em><a class="reference internal" href="evennia.server.html#evennia.server.session.Session" title="evennia.server.session.Session"><em>Session</em></a>) – The current caller
|
||
executing the help command.</p></li>
|
||
</ul>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.format_help_entry">
|
||
<em class="property">static </em><code class="sig-name descname">format_help_entry</code><span class="sig-paren">(</span><em class="sig-param">title</em>, <em class="sig-param">help_text</em>, <em class="sig-param">aliases=None</em>, <em class="sig-param">suggested=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.format_help_entry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.format_help_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This visually formats the help entry.
|
||
This method can be overriden to customize the way a help
|
||
entry is displayed.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><ul class="simple">
|
||
<li><p><strong>title</strong> (<em>str</em>) – the title of the help entry.</p></li>
|
||
<li><p><strong>help_text</strong> (<em>str</em>) – the text of the help entry.</p></li>
|
||
<li><p><strong>aliases</strong> (<em>list of str</em><em> or </em><em>None</em>) – the list of aliases.</p></li>
|
||
<li><p><strong>suggested</strong> (<em>list of str</em><em> or </em><em>None</em>) – suggested reading.</p></li>
|
||
</ul>
|
||
</dd>
|
||
</dl>
|
||
<p>Returns the formatted string, ready to be sent.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.format_help_list">
|
||
<code class="sig-name descname">format_help_list</code><span class="sig-paren">(</span><em class="sig-param">hdict_cmds</em>, <em class="sig-param">hdict_db</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.format_help_list"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.format_help_list" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Output a category-ordered list. The input are the
|
||
pre-loaded help files for commands and database-helpfiles
|
||
respectively. You can override this method to return a
|
||
custom display of the list of commands and topics.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Run the dynamic help entry creator.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.help_more">
|
||
<code class="sig-name descname">help_more</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.help_more" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'help'</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.msg_help">
|
||
<code class="sig-name descname">msg_help</code><span class="sig-paren">(</span><em class="sig-param">text</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.msg_help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.msg_help" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>messages text to the caller, adding an extra oob argument to indicate
|
||
that this is a help command result and could be rendered in a separate
|
||
help window</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>input is a string containing the command or topic to match.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.return_cmdset">
|
||
<code class="sig-name descname">return_cmdset</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.return_cmdset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '?', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n View help or a list of topics\n\n Usage:\n help <topic or command>\n help list\n help all\n\n This will search for help on commands and other\n topics related to the game.\n '}</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdHelp.should_list_cmd">
|
||
<code class="sig-name descname">should_list_cmd</code><span class="sig-paren">(</span><em class="sig-param">cmd</em>, <em class="sig-param">caller</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdHelp.should_list_cmd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.should_list_cmd" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Should the specified command appear in the help table?</p>
|
||
<p>This method only checks whether a specified command should
|
||
appear in the table of topics/commands. The command can be
|
||
used by the caller (see the ‘check_show_help’ method) and
|
||
the command will still be available, for instance, if a
|
||
character type ‘help name of the command’. However, if
|
||
you return False, the specified command will not appear in
|
||
the table. This is sometimes useful to “hide” commands in
|
||
the table, but still access them through the help system.</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Parameters</dt>
|
||
<dd class="field-odd"><ul class="simple">
|
||
<li><p><strong>cmd</strong> – the command to be tested.</p></li>
|
||
<li><p><strong>caller</strong> – the caller of the help system.</p></li>
|
||
</ul>
|
||
</dd>
|
||
<dt class="field-even">Returns</dt>
|
||
<dd class="field-even"><p>the command should appear in the table.
|
||
False: the command shouldn’t appear in the table.</p>
|
||
</dd>
|
||
<dt class="field-odd">Return type</dt>
|
||
<dd class="field-odd"><p>True</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.suggestion_cutoff">
|
||
<code class="sig-name descname">suggestion_cutoff</code><em class="property"> = 0.6</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.suggestion_cutoff" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdHelp.suggestion_maxnum">
|
||
<code class="sig-name descname">suggestion_maxnum</code><em class="property"> = 5</em><a class="headerlink" href="#evennia.commands.default.help.CmdHelp.suggestion_maxnum" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.help.</code><code class="sig-name descname">CmdSetHelp</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdSetHelp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>Edit the help database.</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>help[/switches] <topic>[[;alias;alias][,category[,locks]] [= <text>]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>edit - open a line editor to edit the topic’s help text.
|
||
replace - overwrite existing help topic.
|
||
append - add text to the end of existing topic with a newline between.
|
||
extend - as append, but don’t add a newline.
|
||
delete - remove help topic.</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Examples</p>
|
||
<p>sethelp throw = This throws something at …
|
||
sethelp/append pickpocketing,Thievery = This steals …
|
||
sethelp/replace pickpocketing, ,attr(is_thief) = This steals …
|
||
sethelp/edit thievery</p>
|
||
<p>This command manipulates the help database. A help entry can be created,
|
||
appended/merged to and deleted. If you don’t assign a category, the
|
||
“General” category will be used. If no lockstring is specified, default
|
||
is to let everyone read the help file.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('sethelp',)</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'sethelp'}</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/help.html#CmdSetHelp.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'building'</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'sethelp'</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(Helper)'</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(Helper)'</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'building', 'key': 'sethelp', 'tags': '', 'text': '\n Edit the help database.\n\n Usage:\n help[/switches] <topic>[[;alias;alias][,category[,locks]] [= <text>]\n\n Switches:\n edit - open a line editor to edit the topic\'s help text.\n replace - overwrite existing help topic.\n append - add text to the end of existing topic with a newline between.\n extend - as append, but don\'t add a newline.\n delete - remove help topic.\n\n Examples:\n sethelp throw = This throws something at ...\n sethelp/append pickpocketing,Thievery = This steals ...\n sethelp/replace pickpocketing, ,attr(is_thief) = This steals ...\n sethelp/edit thievery\n\n This command manipulates the help database. A help entry can be created,\n appended/merged to and deleted. If you don\'t assign a category, the\n "General" category will be used. If no lockstring is specified, default\n is to let everyone read the help file.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.help.CmdSetHelp.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('edit', 'replace', 'append', 'extend', 'delete')</em><a class="headerlink" href="#evennia.commands.default.help.CmdSetHelp.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.muxcommand">
|
||
<span id="evennia-commands-default-muxcommand-module"></span><h2>evennia.commands.default.muxcommand module<a class="headerlink" href="#module-evennia.commands.default.muxcommand" title="Permalink to this headline">¶</a></h2>
|
||
<p>The command template for the default MUX-style command set. There
|
||
is also an Account/OOC version that makes sure caller is an Account object.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.muxcommand.</code><code class="sig-name descname">MuxCommand</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.command.Command" title="evennia.commands.command.Command"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.command.Command</span></code></a></p>
|
||
<p>This sets up the basis for a MUX command. The idea
|
||
is that most other Mux-related commands should just
|
||
inherit from this and don’t have to implement much
|
||
parsing of their own unless they do something particularly
|
||
advanced.</p>
|
||
<p>Note that the class’s __doc__ string (this text) is
|
||
used by Evennia to create the automatic help entry for
|
||
the command, so make sure to document consistently here.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('command',)</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'command'}</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.at_post_cmd">
|
||
<code class="sig-name descname">at_post_cmd</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.at_post_cmd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.at_post_cmd" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This hook is called after the command has finished executing
|
||
(after self.func()).</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.at_pre_cmd">
|
||
<code class="sig-name descname">at_pre_cmd</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.at_pre_cmd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.at_pre_cmd" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This hook is called before self.parse() on all commands</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><dl class="simple">
|
||
<dt>This is the hook function that actually does all the work. It is called</dt><dd><p>by the cmdhandler right after self.parser() finishes, and so has access
|
||
to all the variables defined therein.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.get_command_info">
|
||
<code class="sig-name descname">get_command_info</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.get_command_info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.get_command_info" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Update of parent class’s get_command_info() for MuxCommand.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.has_perm">
|
||
<code class="sig-name descname">has_perm</code><span class="sig-paren">(</span><em class="sig-param">srcobj</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.has_perm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.has_perm" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This is called by the cmdhandler to determine
|
||
if srcobj is allowed to execute this command.
|
||
We just show it here for completeness - we
|
||
are satisfied using the default check in Command.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'command'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all();'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxCommand.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This method is called by the cmdhandler once the command name
|
||
has been identified. It creates a new set of member variables
|
||
that can be later accessed from self.func() (see below)</p>
|
||
<p>The following variables are available for our use when entering this
|
||
method (from the command definition, and assigned on the fly by the
|
||
cmdhandler):</p>
|
||
<blockquote>
|
||
<div><p>self.key - the name of this command (‘look’)
|
||
self.aliases - the aliases of this cmd (‘l’)
|
||
self.permissions - permission string for this command
|
||
self.help_category - overall category of command</p>
|
||
<p>self.caller - the object calling this command
|
||
self.cmdstring - the actual command name used to call this</p>
|
||
<blockquote>
|
||
<div><dl class="simple">
|
||
<dt>(this allows you to know which alias was used,</dt><dd><p>for example)</p>
|
||
</dd>
|
||
</dl>
|
||
</div></blockquote>
|
||
<p>self.args - the raw input; everything following self.cmdstring.
|
||
self.cmdset - the cmdset from which this command was picked. Not</p>
|
||
<blockquote>
|
||
<div><p>often used (useful for commands like ‘help’ or to
|
||
list all available commands etc)</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>self.obj - the object on which this command was defined. It is often</dt><dd><p>the same as self.caller.</p>
|
||
</dd>
|
||
</dl>
|
||
</div></blockquote>
|
||
<p>A MUX command has the following possible syntax:</p>
|
||
<blockquote>
|
||
<div><p>name[ with several words][/switch[/switch..]] arg1[,arg2,…] [[=|,] arg[,..]]</p>
|
||
</div></blockquote>
|
||
<p>The ‘name[ with several words]’ part is already dealt with by the
|
||
cmdhandler at this point, and stored in self.cmdname (we don’t use
|
||
it here). The rest of the command is stored in self.args, which can
|
||
start with the switch indicator /.</p>
|
||
<dl class="simple">
|
||
<dt>Optional variables to aid in parsing, if set:</dt><dd><dl class="simple">
|
||
<dt>self.switch_options - (tuple of valid /switches expected by this</dt><dd><p>command (without the /))</p>
|
||
</dd>
|
||
<dt>self.rhs_split - Alternate string delimiter or tuple of strings</dt><dd><p>to separate left/right hand sides. tuple form
|
||
gives priority split to first string delimiter.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>This parser breaks self.args into its constituents and stores them in the
|
||
following variables:</p>
|
||
<blockquote>
|
||
<div><p>self.switches = [list of /switches (without the /)]
|
||
self.raw = This is the raw argument input, including switches
|
||
self.args = This is re-defined to be everything <em>except</em> the switches
|
||
self.lhs = Everything to the left of = (lhs:’left-hand side’). If</p>
|
||
<blockquote>
|
||
<div><p>no = is found, this is identical to self.args.</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>self.rhs: Everything to the right of = (rhs:’right-hand side’).</dt><dd><p>If no ‘=’ is found, this is None.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>self.lhslist - [self.lhs split into a list by comma]
|
||
self.rhslist - [list of self.rhs split into a list by comma]
|
||
self.arglist = [list of space-separated args (stripped, including ‘=’ if it exists)]</p>
|
||
<p>All args and list members are stripped of excess whitespace around the
|
||
strings, but case is preserved.</p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxCommand.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'command', 'tags': '', 'text': "\n This sets up the basis for a MUX command. The idea\n is that most other Mux-related commands should just\n inherit from this and don't have to implement much\n parsing of their own unless they do something particularly\n advanced.\n\n Note that the class's __doc__ string (this text) is\n used by Evennia to create the automatic help entry for\n the command, so make sure to document consistently here.\n "}</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxCommand.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.muxcommand.</code><code class="sig-name descname">MuxAccountCommand</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/muxcommand.html#MuxAccountCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>This is an on-Account version of the MuxCommand. Since these commands sit
|
||
on Accounts rather than on Characters/Objects, we need to check
|
||
this in the parser.</p>
|
||
<p>Account commands are available also when puppeting a Character, it’s
|
||
just that they are applied with a lower priority and are always
|
||
available, also when disconnected from a character (i.e. “ooc”).</p>
|
||
<p>This class makes sure that caller is always an Account object, while
|
||
creating a new property “character” that is set only if a
|
||
character is actually attached to this Account and Session.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('command',)</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'command'}</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.account_caller">
|
||
<code class="sig-name descname">account_caller</code><em class="property"> = True</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.account_caller" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'command'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all();'</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.muxcommand.MuxAccountCommand.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'command', 'tags': '', 'text': '\n This is an on-Account version of the MuxCommand. Since these commands sit\n on Accounts rather than on Characters/Objects, we need to check\n this in the parser.\n\n Account commands are available also when puppeting a Character, it\'s\n just that they are applied with a lower priority and are always\n available, also when disconnected from a character (i.e. "ooc").\n\n This class makes sure that caller is always an Account object, while\n creating a new property "character" that is set only if a\n character is actually attached to this Account and Session.\n '}</em><a class="headerlink" href="#evennia.commands.default.muxcommand.MuxAccountCommand.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.syscommands">
|
||
<span id="evennia-commands-default-syscommands-module"></span><h2>evennia.commands.default.syscommands module<a class="headerlink" href="#module-evennia.commands.default.syscommands" title="Permalink to this headline">¶</a></h2>
|
||
<p>System commands</p>
|
||
<p>These are the default commands called by the system commandhandler
|
||
when various exceptions occur. If one of these commands are not
|
||
implemented and part of the current cmdset, the engine falls back
|
||
to a default solution instead.</p>
|
||
<p>Some system commands are shown in this module
|
||
as a REFERENCE only (they are not all added to Evennia’s
|
||
default cmdset since they don’t currently do anything differently from the
|
||
default backup systems hard-wired in the engine).</p>
|
||
<p>Overloading these commands in a cmdset can be used to create
|
||
interesting effects. An example is using the NoMatch system command
|
||
to implement a line-editor where you don’t have to start each
|
||
line with a command (if there is no match to a known command,
|
||
the line is just added to the editor buffer).</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.syscommands.</code><code class="sig-name descname">SystemMultimatch</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemMultimatch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>Multiple command matches.</p>
|
||
<p>The cmdhandler adds a special attribute ‘matches’ to this
|
||
system command.</p>
|
||
<blockquote>
|
||
<div><p>matches = [(cmdname, args, cmdobj, cmdlen, mratio, raw_cmdname) , (cmdname, …), …]</p>
|
||
</div></blockquote>
|
||
<p>Here, <cite>cmdname</cite> is the command’s name and <cite>args</cite> the rest of the incoming string,
|
||
without said command name. <cite>cmdobj</cite> is the Command instance, the cmdlen is
|
||
the same as len(cmdname) and mratio is a measure of how big a part of the
|
||
full input string the cmdname takes up - an exact match would be 1.0. Finally,
|
||
the <cite>raw_cmdname</cite> is the cmdname unmodified by eventual prefix-stripping.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('__multimatch_command',)</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'__multimatch_command'}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemMultimatch.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Handle multiple-matches by using the at_search_result default handler.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = '__multimatch_command'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemMultimatch.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': '__multimatch_command', 'tags': '', 'text': "\n Multiple command matches.\n\n The cmdhandler adds a special attribute 'matches' to this\n system command.\n\n matches = [(cmdname, args, cmdobj, cmdlen, mratio, raw_cmdname) , (cmdname, ...), ...]\n\n Here, `cmdname` is the command's name and `args` the rest of the incoming string,\n without said command name. `cmdobj` is the Command instance, the cmdlen is\n the same as len(cmdname) and mratio is a measure of how big a part of the\n full input string the cmdname takes up - an exact match would be 1.0. Finally,\n the `raw_cmdname` is the cmdname unmodified by eventual prefix-stripping.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemMultimatch.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.syscommands.</code><code class="sig-name descname">SystemNoInput</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemNoInput"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>This is called when there is no input given</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('__noinput_command',)</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'__noinput_command'}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemNoInput.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do nothing.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = '__noinput_command'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoInput.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': '__noinput_command', 'tags': '', 'text': '\n This is called when there is no input given\n '}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoInput.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.syscommands.</code><code class="sig-name descname">SystemNoMatch</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemNoMatch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>No command was found matching the given input.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('__nomatch_command',)</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'__nomatch_command'}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemNoMatch.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This is given the failed raw string as input.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = '__nomatch_command'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemNoMatch.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': '__nomatch_command', 'tags': '', 'text': '\n No command was found matching the given input.\n '}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemNoMatch.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.syscommands.</code><code class="sig-name descname">SystemSendToChannel</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemSendToChannel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>This is a special command that the cmdhandler calls
|
||
when it detects that the command given matches
|
||
an existing Channel object key (or alias).</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('__send_to_channel_command',)</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'__send_to_channel_command'}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemSendToChannel.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Create a new message and send it to channel, using
|
||
the already formatted input.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = '__send_to_channel_command'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/syscommands.html#SystemSendToChannel.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This method is called by the cmdhandler once the command name
|
||
has been identified. It creates a new set of member variables
|
||
that can be later accessed from self.func() (see below)</p>
|
||
<p>The following variables are available for our use when entering this
|
||
method (from the command definition, and assigned on the fly by the
|
||
cmdhandler):</p>
|
||
<blockquote>
|
||
<div><p>self.key - the name of this command (‘look’)
|
||
self.aliases - the aliases of this cmd (‘l’)
|
||
self.permissions - permission string for this command
|
||
self.help_category - overall category of command</p>
|
||
<p>self.caller - the object calling this command
|
||
self.cmdstring - the actual command name used to call this</p>
|
||
<blockquote>
|
||
<div><dl class="simple">
|
||
<dt>(this allows you to know which alias was used,</dt><dd><p>for example)</p>
|
||
</dd>
|
||
</dl>
|
||
</div></blockquote>
|
||
<p>self.args - the raw input; everything following self.cmdstring.
|
||
self.cmdset - the cmdset from which this command was picked. Not</p>
|
||
<blockquote>
|
||
<div><p>often used (useful for commands like ‘help’ or to
|
||
list all available commands etc)</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>self.obj - the object on which this command was defined. It is often</dt><dd><p>the same as self.caller.</p>
|
||
</dd>
|
||
</dl>
|
||
</div></blockquote>
|
||
<p>A MUX command has the following possible syntax:</p>
|
||
<blockquote>
|
||
<div><p>name[ with several words][/switch[/switch..]] arg1[,arg2,…] [[=|,] arg[,..]]</p>
|
||
</div></blockquote>
|
||
<p>The ‘name[ with several words]’ part is already dealt with by the
|
||
cmdhandler at this point, and stored in self.cmdname (we don’t use
|
||
it here). The rest of the command is stored in self.args, which can
|
||
start with the switch indicator /.</p>
|
||
<dl class="simple">
|
||
<dt>Optional variables to aid in parsing, if set:</dt><dd><dl class="simple">
|
||
<dt>self.switch_options - (tuple of valid /switches expected by this</dt><dd><p>command (without the /))</p>
|
||
</dd>
|
||
<dt>self.rhs_split - Alternate string delimiter or tuple of strings</dt><dd><p>to separate left/right hand sides. tuple form
|
||
gives priority split to first string delimiter.</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>This parser breaks self.args into its constituents and stores them in the
|
||
following variables:</p>
|
||
<blockquote>
|
||
<div><p>self.switches = [list of /switches (without the /)]
|
||
self.raw = This is the raw argument input, including switches
|
||
self.args = This is re-defined to be everything <em>except</em> the switches
|
||
self.lhs = Everything to the left of = (lhs:’left-hand side’). If</p>
|
||
<blockquote>
|
||
<div><p>no = is found, this is identical to self.args.</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>self.rhs: Everything to the right of = (rhs:’right-hand side’).</dt><dd><p>If no ‘=’ is found, this is None.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>self.lhslist - [self.lhs split into a list by comma]
|
||
self.rhslist - [list of self.rhs split into a list by comma]
|
||
self.arglist = [list of space-separated args (stripped, including ‘=’ if it exists)]</p>
|
||
<p>All args and list members are stripped of excess whitespace around the
|
||
strings, but case is preserved.</p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.syscommands.SystemSendToChannel.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': '__send_to_channel_command', 'tags': '', 'text': '\n This is a special command that the cmdhandler calls\n when it detects that the command given matches\n an existing Channel object key (or alias).\n '}</em><a class="headerlink" href="#evennia.commands.default.syscommands.SystemSendToChannel.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.system">
|
||
<span id="evennia-commands-default-system-module"></span><h2>evennia.commands.default.system module<a class="headerlink" href="#module-evennia.commands.default.system" title="Permalink to this headline">¶</a></h2>
|
||
<p>System commands</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdReload">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdReload</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdReload"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdReload" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>reload the server</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>reload [reason]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This restarts the server. The Portal is not
|
||
affected. Non-persistent scripts will survive a reload (use
|
||
reset to purge) and at_reload() hooks will be called.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('restart', 'reload')</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'reload', 'restart'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['restart']</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdReload.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdReload.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdReload.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Reload the system.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'reload'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(reload) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(reload) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReload.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'restart', 'category': 'system', 'key': 'reload', 'tags': '', 'text': '\n reload the server\n\n Usage:\n reload [reason]\n\n This restarts the server. The Portal is not\n affected. Non-persistent scripts will survive a reload (use\n reset to purge) and at_reload() hooks will be called.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdReload.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdReset">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdReset</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdReset"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdReset" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>reset and reboot the server</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>reset</p>
|
||
</dd>
|
||
</dl>
|
||
<p class="rubric">Notes</p>
|
||
<p>For normal updating you are recommended to use reload rather
|
||
than this command. Use shutdown for a complete stop of
|
||
everything.</p>
|
||
<p>This emulates a cold reboot of the Server component of Evennia.
|
||
The difference to shutdown is that the Server will auto-reboot
|
||
and that it does not affect the Portal, so no users will be
|
||
disconnected. Contrary to reload however, all shutdown hooks will
|
||
be called and any non-database saved scripts, ndb-attributes,
|
||
cmdsets etc will be wiped.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('reset', 'reboot')</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'reboot', 'reset'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['reboot']</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdReset.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdReset.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdReset.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Reload the system.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'reset'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(reload) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(reload) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdReset.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'reboot', 'category': 'system', 'key': 'reset', 'tags': '', 'text': '\n reset and reboot the server\n\n Usage:\n reset\n\n Notes:\n For normal updating you are recommended to use reload rather\n than this command. Use shutdown for a complete stop of\n everything.\n\n This emulates a cold reboot of the Server component of Evennia.\n The difference to shutdown is that the Server will auto-reboot\n and that it does not affect the Portal, so no users will be\n disconnected. Contrary to reload however, all shutdown hooks will\n be called and any non-database saved scripts, ndb-attributes,\n cmdsets etc will be wiped.\n\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdReset.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdShutdown">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdShutdown</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdShutdown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>stop the server completely</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>shutdown [announcement]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Gracefully shut down both Server and Portal.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('shutdown',)</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'shutdown'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdShutdown.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Define function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'shutdown'</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(shutdown) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(shutdown) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdShutdown.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'system', 'key': 'shutdown', 'tags': '', 'text': '\n stop the server completely\n\n Usage:\n shutdown [announcement]\n\n Gracefully shut down both Server and Portal.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdShutdown.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdPy">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdPy</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdPy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdPy" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>execute a snippet of python code</p>
|
||
<dl>
|
||
<dt>Usage:</dt><dd><p>py [cmd]
|
||
py/edit
|
||
py/time <cmd>
|
||
py/clientraw <cmd>
|
||
py/noecho</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>time - output an approximate execution time for <cmd>
|
||
edit - open a code editor for multi-line code experimentation
|
||
clientraw - turn off all client-specific escaping. Note that this may</p>
|
||
<blockquote>
|
||
<div><p>lead to different output depending on prototocol (such as angular brackets
|
||
being parsed as HTML in the webclient but not in telnet clients)</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>noecho - in Python console mode, turn off the input echo (e.g. if your client</dt><dd><p>does this for you already)</p>
|
||
</dd>
|
||
</dl>
|
||
</dd>
|
||
</dl>
|
||
<p>Without argument, open a Python console in-game. This is a full console,
|
||
accepting multi-line Python code for testing and debugging. Type <cite>exit()</cite> to
|
||
return to the game. If Evennia is reloaded, the console will be closed.</p>
|
||
<p>Enter a line of instruction after the ‘py’ command to execute it
|
||
immediately. Separate multiple commands by ‘;’ or open the code editor
|
||
using the /edit switch (all lines added in editor will be executed
|
||
immediately when closing or using the execute command in the editor).</p>
|
||
<p>A few variables are made available for convenience in order to offer access
|
||
to the system (you can import more at execution time).</p>
|
||
<dl class="simple">
|
||
<dt>Available variables in py environment:</dt><dd><p>self, me : caller
|
||
here : caller.location
|
||
evennia : the evennia API
|
||
inherits_from(obj, parent) : check object inheritance</p>
|
||
</dd>
|
||
</dl>
|
||
<p>You can explore The evennia API from inside the game by calling
|
||
the <cite>__doc__</cite> property on entities:</p>
|
||
<blockquote>
|
||
<div><p>py evennia.__doc__
|
||
py evennia.managers.__doc__</p>
|
||
</div></blockquote>
|
||
<p><a href="#id103"><span class="problematic" id="id104">|</span></a>rNote: In the wrong hands this command is a severe security risk. It
|
||
should only be accessible by trusted server admins/superusers.|n</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('!', 'py')</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'!', 'py'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['!']</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdPy.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdPy.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdPy.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>hook function</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'py'</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(py) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(py) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '!', 'category': 'system', 'key': 'py', 'tags': '', 'text': "\n execute a snippet of python code\n\n Usage:\n py [cmd]\n py/edit\n py/time <cmd>\n py/clientraw <cmd>\n py/noecho\n\n Switches:\n time - output an approximate execution time for <cmd>\n edit - open a code editor for multi-line code experimentation\n clientraw - turn off all client-specific escaping. Note that this may\n lead to different output depending on prototocol (such as angular brackets\n being parsed as HTML in the webclient but not in telnet clients)\n noecho - in Python console mode, turn off the input echo (e.g. if your client\n does this for you already)\n\n Without argument, open a Python console in-game. This is a full console,\n accepting multi-line Python code for testing and debugging. Type `exit()` to\n return to the game. If Evennia is reloaded, the console will be closed.\n\n Enter a line of instruction after the 'py' command to execute it\n immediately. Separate multiple commands by ';' or open the code editor\n using the /edit switch (all lines added in editor will be executed\n immediately when closing or using the execute command in the editor).\n\n A few variables are made available for convenience in order to offer access\n to the system (you can import more at execution time).\n\n Available variables in py environment:\n self, me : caller\n here : caller.location\n evennia : the evennia API\n inherits_from(obj, parent) : check object inheritance\n\n You can explore The evennia API from inside the game by calling\n the `__doc__` property on entities:\n py evennia.__doc__\n py evennia.managers.__doc__\n\n |rNote: In the wrong hands this command is a severe security risk. It\n should only be accessible by trusted server admins/superusers.|n\n\n "}</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdPy.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('time', 'edit', 'clientraw', 'noecho')</em><a class="headerlink" href="#evennia.commands.default.system.CmdPy.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdScripts">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdScripts</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdScripts"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdScripts" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>list and manage all running scripts</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>scripts[/switches] [#dbref, key, script.path or <obj>]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>start - start a script (must supply a script path)
|
||
stop - stops an existing script
|
||
kill - kills a script - without running its cleanup hooks
|
||
validate - run a validation on the script(s)</p>
|
||
</dd>
|
||
</dl>
|
||
<p>If no switches are given, this command just views all active
|
||
scripts. The argument can be either an object, at which point it
|
||
will be searched for all scripts defined on it, or a script name
|
||
or #dbref. For using the /stop switch, a unique script #dbref is
|
||
required since whole classes of scripts often have the same name.</p>
|
||
<p>Use script for managing commands on objects.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('globalscript', 'listscripts', 'scripts')</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'globalscript', 'listscripts', 'scripts'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['globalscript', 'listscripts']</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.excluded_typeclass_paths">
|
||
<code class="sig-name descname">excluded_typeclass_paths</code><em class="property"> = ['evennia.prototypes.prototypes.DbPrototype']</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.excluded_typeclass_paths" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdScripts.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdScripts.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>implement method</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'scripts'</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(listscripts) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(listscripts) or perm(Admin)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'globalscript listscripts', 'category': 'system', 'key': 'scripts', 'tags': '', 'text': '\n list and manage all running scripts\n\n Usage:\n scripts[/switches] [#dbref, key, script.path or <obj>]\n\n Switches:\n start - start a script (must supply a script path)\n stop - stops an existing script\n kill - kills a script - without running its cleanup hooks\n validate - run a validation on the script(s)\n\n If no switches are given, this command just views all active\n scripts. The argument can be either an object, at which point it\n will be searched for all scripts defined on it, or a script name\n or #dbref. For using the /stop switch, a unique script #dbref is\n required since whole classes of scripts often have the same name.\n\n Use script for managing commands on objects.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdScripts.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('start', 'stop', 'kill', 'validate')</em><a class="headerlink" href="#evennia.commands.default.system.CmdScripts.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdObjects">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdObjects</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdObjects"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdObjects" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>statistics on objects in the database</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>objects [<nr>]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Gives statictics on objects in database as well as
|
||
a list of <nr> latest objects in database. If not
|
||
given, <nr> defaults to 10.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('db', 'objects', 'stats', 'listobjs', 'listobjects')</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'db', 'listobjects', 'listobjs', 'objects', 'stats'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['db', 'stats', 'listobjs', 'listobjects']</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdObjects.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdObjects.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement the command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'objects'</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(listobjects) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(listobjects) or perm(Builder)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdObjects.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'db stats listobjs listobjects', 'category': 'system', 'key': 'objects', 'tags': '', 'text': '\n statistics on objects in the database\n\n Usage:\n objects [<nr>]\n\n Gives statictics on objects in database as well as\n a list of <nr> latest objects in database. If not\n given, <nr> defaults to 10.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdObjects.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdService">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdService</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdService"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdService" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>manage system services</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>service[/switch] <service></p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>list - shows all available services (default)
|
||
start - activates or reactivate a service
|
||
stop - stops/inactivate a service (can often be restarted)
|
||
delete - tries to permanently remove a service</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Service management system. Allows for the listing,
|
||
starting, and stopping of services. If no switches
|
||
are given, services will be listed. Note that to operate on the
|
||
service you have to supply the full (green or red) name as given
|
||
in the list.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('service', 'services')</em><a class="headerlink" href="#evennia.commands.default.system.CmdService._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'service', 'services'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdService._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['services']</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdService.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdService.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdService.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Implement command</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'service'</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(service) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(service) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'services', 'category': 'system', 'key': 'service', 'tags': '', 'text': '\n manage system services\n\n Usage:\n service[/switch] <service>\n\n Switches:\n list - shows all available services (default)\n start - activates or reactivate a service\n stop - stops/inactivate a service (can often be restarted)\n delete - tries to permanently remove a service\n\n Service management system. Allows for the listing,\n starting, and stopping of services. If no switches\n are given, services will be listed. Note that to operate on the\n service you have to supply the full (green or red) name as given\n in the list.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdService.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('list', 'start', 'stop', 'delete')</em><a class="headerlink" href="#evennia.commands.default.system.CmdService.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdAbout">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdAbout</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdAbout"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdAbout" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>show Evennia info</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>about</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Display info about the game engine.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('about', 'version')</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'about', 'version'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['version']</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdAbout.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdAbout.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Display information about server or target</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'about'</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdAbout.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'version', 'category': 'system', 'key': 'about', 'tags': '', 'text': '\n show Evennia info\n\n Usage:\n about\n\n Display info about the game engine.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdAbout.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdTime">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdTime</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdTime"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdTime" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>show server time statistics</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>time</p>
|
||
</dd>
|
||
</dl>
|
||
<p>List Server time statistics such as uptime
|
||
and the current time stamp.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('uptime', 'time')</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'time', 'uptime'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['uptime']</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdTime.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdTime.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdTime.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Show server time data in a table.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'time'</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(time) or perm(Player)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(time) or perm(Player)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdTime.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'uptime', 'category': 'system', 'key': 'time', 'tags': '', 'text': '\n show server time statistics\n\n Usage:\n time\n\n List Server time statistics such as uptime\n and the current time stamp.\n '}</em><a class="headerlink" href="#evennia.commands.default.system.CmdTime.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.system.</code><code class="sig-name descname">CmdServerLoad</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdServerLoad"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>show server load and memory statistics</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>server[/mem]</p>
|
||
</dd>
|
||
<dt>Switches:</dt><dd><p>mem - return only a string of the current memory usage
|
||
flushmem - flush the idmapper cache</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This command shows server load statistics and dynamic memory
|
||
usage. It also allows to flush the cache of accessed database
|
||
objects.</p>
|
||
<p>Some Important statistics in the table:</p>
|
||
<p><a href="#id105"><span class="problematic" id="id106">|</span></a>wServer load|n is an average of processor usage. It’s usually
|
||
between 0 (no usage) and 1 (100% usage), but may also be
|
||
temporarily higher if your computer has multiple CPU cores.</p>
|
||
<p>The <a href="#id107"><span class="problematic" id="id108">|</span></a>wResident/Virtual memory|n displays the total memory used by
|
||
the server process.</p>
|
||
<p>Evennia <a href="#id109"><span class="problematic" id="id110">|</span></a>wcaches|n all retrieved database entities when they are
|
||
loaded by use of the idmapper functionality. This allows Evennia
|
||
to maintain the same instances of an entity and allowing
|
||
non-persistent storage schemes. The total amount of cached objects
|
||
are displayed plus a breakdown of database object types.</p>
|
||
<p>The <a href="#id111"><span class="problematic" id="id112">|</span></a>wflushmem|n switch allows to flush the object cache. Please
|
||
note that due to how Python’s memory management works, releasing
|
||
caches may not show you a lower Residual/Virtual memory footprint,
|
||
the released memory will instead be re-used by the program.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('serverprocess', 'server', 'serverload')</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'server', 'serverload', 'serverprocess'}</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['serverprocess', 'serverload']</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/system.html#CmdServerLoad.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Show list.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'system'</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'server'</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:perm(list) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:perm(list) or perm(Developer)'</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'serverprocess serverload', 'category': 'system', 'key': 'server', 'tags': '', 'text': "\n show server load and memory statistics\n\n Usage:\n server[/mem]\n\n Switches:\n mem - return only a string of the current memory usage\n flushmem - flush the idmapper cache\n\n This command shows server load statistics and dynamic memory\n usage. It also allows to flush the cache of accessed database\n objects.\n\n Some Important statistics in the table:\n\n |wServer load|n is an average of processor usage. It's usually\n between 0 (no usage) and 1 (100% usage), but may also be\n temporarily higher if your computer has multiple CPU cores.\n\n The |wResident/Virtual memory|n displays the total memory used by\n the server process.\n\n Evennia |wcaches|n all retrieved database entities when they are\n loaded by use of the idmapper functionality. This allows Evennia\n to maintain the same instances of an entity and allowing\n non-persistent storage schemes. The total amount of cached objects\n are displayed plus a breakdown of database object types.\n\n The |wflushmem|n switch allows to flush the object cache. Please\n note that due to how Python's memory management works, releasing\n caches may not show you a lower Residual/Virtual memory footprint,\n the released memory will instead be re-used by the program.\n\n "}</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.system.CmdServerLoad.switch_options">
|
||
<code class="sig-name descname">switch_options</code><em class="property"> = ('mem', 'flushmem')</em><a class="headerlink" href="#evennia.commands.default.system.CmdServerLoad.switch_options" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="evennia-commands-default-tests-module">
|
||
<h2>evennia.commands.default.tests module<a class="headerlink" href="#evennia-commands-default-tests-module" title="Permalink to this headline">¶</a></h2>
|
||
<p>This is part of the Evennia unittest framework, for testing the
|
||
stability and integrity of the codebase during updates. This module
|
||
test the default command set. It is instantiated by the
|
||
evennia/objects/tests.py module, which in turn is run by as part of the
|
||
main test suite started with</p>
|
||
<blockquote>
|
||
<div><p>> python game/manage.py test.</p>
|
||
</div></blockquote>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">CmdInterrupt</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#CmdInterrupt"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.commands.html#evennia.commands.command.Command" title="evennia.commands.command.Command"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.command.Command</span></code></a></p>
|
||
<p>Base command</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>command [args]</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This is the base command class. Inherit from this
|
||
to create new commands.</p>
|
||
<p>The cmdhandler makes the following variables available to the
|
||
command methods (so you can always assume them to be there):
|
||
self.caller - the game object calling the command
|
||
self.cmdstring - the command name used to trigger this command (allows</p>
|
||
<blockquote>
|
||
<div><p>you to know which alias was used, for example)</p>
|
||
</div></blockquote>
|
||
<dl class="simple">
|
||
<dt>cmd.args - everything supplied to the command following the cmdstring</dt><dd><p>(this is usually what is parsed in self.parse())</p>
|
||
</dd>
|
||
<dt>cmd.cmdset - the cmdset from which this command was matched (useful only</dt><dd><p>seldomly, notably for help-type commands, to create dynamic
|
||
help entries and lists)</p>
|
||
</dd>
|
||
<dt>cmd.obj - the object on which this command is defined. If a default command,</dt><dd><p>this is usually the same as caller.</p>
|
||
</dd>
|
||
</dl>
|
||
<p>cmd.rawstring - the full raw string input, including any args and no parsing.</p>
|
||
<p>The following class properties can/should be defined on your child class:</p>
|
||
<p>key - identifier for command (e.g. “look”)
|
||
aliases - (optional) list of aliases (e.g. [“l”, “loo”])
|
||
locks - lock string (default is “cmd:all()”)
|
||
help_category - how to organize this help entry in help system</p>
|
||
<blockquote>
|
||
<div><p>(default is “General”)</p>
|
||
</div></blockquote>
|
||
<p>auto_help - defaults to True. Allows for turning off auto-help generation
|
||
arg_regex - (optional) raw string regex defining how the argument part of</p>
|
||
<blockquote>
|
||
<div><p>the command should look in order to match for this command
|
||
(e.g. must it be a space between cmdname and arg?)</p>
|
||
</div></blockquote>
|
||
<p>(Note that if auto_help is on, this initial string is also used by the
|
||
system to create the help entry for the command, so it’s a good idea to
|
||
format it similar to this one). This behavior can be changed by
|
||
overriding the method ‘get_help’ of a command: by default, this
|
||
method returns cmd.__doc__ (that is, this very docstring, or
|
||
the docstring of your command). You can, however, extend or
|
||
replace this without disabling auto_help.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('interrupt',)</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'interrupt'}</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = []</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#CmdInterrupt.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>This is the actual executing part of the command. It is
|
||
called directly after self.parse(). See the docstring of this
|
||
module for which object properties are available (beyond those
|
||
set in self.parse())</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'interrupt'</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all();'</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.parse">
|
||
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#CmdInterrupt.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.parse" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Once the cmdhandler has identified this as the command we
|
||
want, this function is run. If many of your commands have a
|
||
similar syntax (for example ‘cmd arg1 = arg2’) you should
|
||
simply define this once and just let other commands of the
|
||
same form inherit from this. See the docstring of this module
|
||
for which object properties are available to use (notably
|
||
self.args).</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.tests.CmdInterrupt.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '', 'category': 'general', 'key': 'interrupt', 'tags': '', 'text': '\n Base command\n\n Usage:\n command [args]\n\n This is the base command class. Inherit from this\n to create new commands.\n\n The cmdhandler makes the following variables available to the\n command methods (so you can always assume them to be there):\n self.caller - the game object calling the command\n self.cmdstring - the command name used to trigger this command (allows\n you to know which alias was used, for example)\n cmd.args - everything supplied to the command following the cmdstring\n (this is usually what is parsed in self.parse())\n cmd.cmdset - the cmdset from which this command was matched (useful only\n seldomly, notably for help-type commands, to create dynamic\n help entries and lists)\n cmd.obj - the object on which this command is defined. If a default command,\n this is usually the same as caller.\n cmd.rawstring - the full raw string input, including any args and no parsing.\n\n The following class properties can/should be defined on your child class:\n\n key - identifier for command (e.g. "look")\n aliases - (optional) list of aliases (e.g. ["l", "loo"])\n locks - lock string (default is "cmd:all()")\n help_category - how to organize this help entry in help system\n (default is "General")\n auto_help - defaults to True. Allows for turning off auto-help generation\n arg_regex - (optional) raw string regex defining how the argument part of\n the command should look in order to match for this command\n (e.g. must it be a space between cmdname and arg?)\n\n (Note that if auto_help is on, this initial string is also used by the\n system to create the help entry for the command, so it\'s a good idea to\n format it similar to this one). This behavior can be changed by\n overriding the method \'get_help\' of a command: by default, this\n method returns cmd.__doc__ (that is, this very docstring, or\n the docstring of your command). You can, however, extend or\n replace this without disabling auto_help.\n '}</em><a class="headerlink" href="#evennia.commands.default.tests.CmdInterrupt.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.CommandTest">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">CommandTest</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#CommandTest"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.CommandTest" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="evennia.utils.html#evennia.utils.test_resources.EvenniaTest" title="evennia.utils.test_resources.EvenniaTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.utils.test_resources.EvenniaTest</span></code></a></p>
|
||
<p>Tests a command</p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.CommandTest.call">
|
||
<code class="sig-name descname">call</code><span class="sig-paren">(</span><em class="sig-param">cmdobj</em>, <em class="sig-param">args</em>, <em class="sig-param">msg=None</em>, <em class="sig-param">cmdset=None</em>, <em class="sig-param">noansi=True</em>, <em class="sig-param">caller=None</em>, <em class="sig-param">receiver=None</em>, <em class="sig-param">cmdstring=None</em>, <em class="sig-param">obj=None</em>, <em class="sig-param">inputs=None</em>, <em class="sig-param">raw_string=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#CommandTest.call"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.CommandTest.call" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Test a command by assigning all the needed
|
||
properties to cmdobj and running</p>
|
||
<blockquote>
|
||
<div><p>cmdobj.at_pre_cmd()
|
||
cmdobj.parse()
|
||
cmdobj.func()
|
||
cmdobj.at_post_cmd()</p>
|
||
</div></blockquote>
|
||
<p>The msgreturn value is compared to eventual
|
||
output sent to caller.msg in the game</p>
|
||
<dl class="field-list simple">
|
||
<dt class="field-odd">Returns</dt>
|
||
<dd class="field-odd"><p>The received message that was sent to the caller.</p>
|
||
</dd>
|
||
<dt class="field-even">Return type</dt>
|
||
<dd class="field-even"><p>msg (str)</p>
|
||
</dd>
|
||
</dl>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestAccount">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestAccount</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_char_create">
|
||
<code class="sig-name descname">test_char_create</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_char_create"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_char_create" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_char_delete">
|
||
<code class="sig-name descname">test_char_delete</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_char_delete"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_char_delete" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_color_test">
|
||
<code class="sig-name descname">test_color_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_color_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_color_test" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_ic">
|
||
<code class="sig-name descname">test_ic</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_ic"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_ic" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_ooc">
|
||
<code class="sig-name descname">test_ooc</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_ooc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_ooc" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_ooc_look">
|
||
<code class="sig-name descname">test_ooc_look</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_ooc_look"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_ooc_look" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_option">
|
||
<code class="sig-name descname">test_option</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_option"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_option" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_password">
|
||
<code class="sig-name descname">test_password</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_password"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_password" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_quell">
|
||
<code class="sig-name descname">test_quell</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_quell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_quell" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_quit">
|
||
<code class="sig-name descname">test_quit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_quit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_quit" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_sessions">
|
||
<code class="sig-name descname">test_sessions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_sessions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_sessions" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAccount.test_who">
|
||
<code class="sig-name descname">test_who</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAccount.test_who"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAccount.test_who" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestAdmin">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestAdmin</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAdmin.test_ban">
|
||
<code class="sig-name descname">test_ban</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin.test_ban"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin.test_ban" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAdmin.test_emit">
|
||
<code class="sig-name descname">test_emit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin.test_emit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin.test_emit" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAdmin.test_force">
|
||
<code class="sig-name descname">test_force</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin.test_force"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin.test_force" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAdmin.test_perm">
|
||
<code class="sig-name descname">test_perm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin.test_perm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin.test_perm" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestAdmin.test_wall">
|
||
<code class="sig-name descname">test_wall</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestAdmin.test_wall"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestAdmin.test_wall" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestBatchProcess">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestBatchProcess</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBatchProcess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBatchProcess" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBatchProcess.test_batch_commands">
|
||
<code class="sig-name descname">test_batch_commands</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBatchProcess.test_batch_commands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBatchProcess.test_batch_commands" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestBuilding">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestBuilding</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_attribute_commands">
|
||
<code class="sig-name descname">test_attribute_commands</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_attribute_commands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_attribute_commands" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_copy">
|
||
<code class="sig-name descname">test_copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_copy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_copy" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_create">
|
||
<code class="sig-name descname">test_create</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_create"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_create" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_desc">
|
||
<code class="sig-name descname">test_desc</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_desc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_desc" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_desc_default_to_room">
|
||
<code class="sig-name descname">test_desc_default_to_room</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_desc_default_to_room"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_desc_default_to_room" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>no rhs changes room’s desc</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_destroy">
|
||
<code class="sig-name descname">test_destroy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_destroy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_destroy" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_destroy_sequence">
|
||
<code class="sig-name descname">test_destroy_sequence</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_destroy_sequence"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_destroy_sequence" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_dig">
|
||
<code class="sig-name descname">test_dig</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_dig"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_dig" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_do_nested_lookup">
|
||
<code class="sig-name descname">test_do_nested_lookup</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_do_nested_lookup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_do_nested_lookup" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_empty_desc">
|
||
<code class="sig-name descname">test_empty_desc</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_empty_desc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_empty_desc" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>empty desc sets desc as ‘’</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_examine">
|
||
<code class="sig-name descname">test_examine</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_examine"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_examine" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_exit_commands">
|
||
<code class="sig-name descname">test_exit_commands</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_exit_commands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_exit_commands" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_find">
|
||
<code class="sig-name descname">test_find</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_find"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_find" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_list_cmdsets">
|
||
<code class="sig-name descname">test_list_cmdsets</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_list_cmdsets"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_list_cmdsets" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_lock">
|
||
<code class="sig-name descname">test_lock</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_lock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_lock" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_name">
|
||
<code class="sig-name descname">test_name</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_name"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_name" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_nested_attribute_commands">
|
||
<code class="sig-name descname">test_nested_attribute_commands</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_nested_attribute_commands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_nested_attribute_commands" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_script">
|
||
<code class="sig-name descname">test_script</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_script"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_script" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_set_home">
|
||
<code class="sig-name descname">test_set_home</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_set_home"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_set_home" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_set_obj_alias">
|
||
<code class="sig-name descname">test_set_obj_alias</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_set_obj_alias"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_set_obj_alias" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_spawn">
|
||
<code class="sig-name descname">test_spawn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_spawn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_spawn" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_split_nested_attr">
|
||
<code class="sig-name descname">test_split_nested_attr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_split_nested_attr"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_split_nested_attr" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_tag">
|
||
<code class="sig-name descname">test_tag</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_tag"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_tag" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_teleport">
|
||
<code class="sig-name descname">test_teleport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_teleport"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_teleport" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_tunnel">
|
||
<code class="sig-name descname">test_tunnel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_tunnel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_tunnel" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_tunnel_exit_typeclass">
|
||
<code class="sig-name descname">test_tunnel_exit_typeclass</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_tunnel_exit_typeclass"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_tunnel_exit_typeclass" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestBuilding.test_typeclass">
|
||
<code class="sig-name descname">test_typeclass</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestBuilding.test_typeclass"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestBuilding.test_typeclass" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestComms">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestComms</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.setUp">
|
||
<code class="sig-name descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.setUp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Sets up testing environment</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_all_com">
|
||
<code class="sig-name descname">test_all_com</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_all_com"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_all_com" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_cboot">
|
||
<code class="sig-name descname">test_cboot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_cboot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_cboot" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_cdesc">
|
||
<code class="sig-name descname">test_cdesc</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_cdesc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_cdesc" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_cdestroy">
|
||
<code class="sig-name descname">test_cdestroy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_cdestroy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_cdestroy" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_cemit">
|
||
<code class="sig-name descname">test_cemit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_cemit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_cemit" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_channels">
|
||
<code class="sig-name descname">test_channels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_channels"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_channels" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_clock">
|
||
<code class="sig-name descname">test_clock</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_clock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_clock" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_cwho">
|
||
<code class="sig-name descname">test_cwho</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_cwho"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_cwho" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_page">
|
||
<code class="sig-name descname">test_page</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_page"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_page" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestComms.test_toggle_com">
|
||
<code class="sig-name descname">test_toggle_com</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestComms.test_toggle_com"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestComms.test_toggle_com" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestGeneral">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestGeneral</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_access">
|
||
<code class="sig-name descname">test_access</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_access"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_access" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_get_and_drop">
|
||
<code class="sig-name descname">test_get_and_drop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_get_and_drop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_get_and_drop" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_give">
|
||
<code class="sig-name descname">test_give</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_give"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_give" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_home">
|
||
<code class="sig-name descname">test_home</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_home"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_home" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_inventory">
|
||
<code class="sig-name descname">test_inventory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_inventory"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_inventory" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_look">
|
||
<code class="sig-name descname">test_look</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_look"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_look" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_mux_command">
|
||
<code class="sig-name descname">test_mux_command</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_mux_command"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_mux_command" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_nick">
|
||
<code class="sig-name descname">test_nick</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_nick"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_nick" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_pose">
|
||
<code class="sig-name descname">test_pose</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_pose"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_pose" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_say">
|
||
<code class="sig-name descname">test_say</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_say"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_say" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestGeneral.test_whisper">
|
||
<code class="sig-name descname">test_whisper</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestGeneral.test_whisper"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestGeneral.test_whisper" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestHelp">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestHelp</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestHelp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestHelp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestHelp.setUp">
|
||
<code class="sig-name descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestHelp.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestHelp.setUp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Sets up testing environment</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestHelp.tearDown">
|
||
<code class="sig-name descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestHelp.tearDown"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestHelp.tearDown" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Hook method for deconstructing the test fixture after testing it.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestHelp.test_help">
|
||
<code class="sig-name descname">test_help</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestHelp.test_help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestHelp.test_help" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestHelp.test_set_help">
|
||
<code class="sig-name descname">test_set_help</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestHelp.test_set_help"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestHelp.test_set_help" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestInterruptCommand">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestInterruptCommand</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestInterruptCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestInterruptCommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestInterruptCommand.test_interrupt_command">
|
||
<code class="sig-name descname">test_interrupt_command</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestInterruptCommand.test_interrupt_command"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestInterruptCommand.test_interrupt_command" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestSystem">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestSystem</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystem.test_about">
|
||
<code class="sig-name descname">test_about</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem.test_about"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem.test_about" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystem.test_objects">
|
||
<code class="sig-name descname">test_objects</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem.test_objects"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem.test_objects" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystem.test_py">
|
||
<code class="sig-name descname">test_py</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem.test_py"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem.test_py" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystem.test_scripts">
|
||
<code class="sig-name descname">test_scripts</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem.test_scripts"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem.test_scripts" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystem.test_server_load">
|
||
<code class="sig-name descname">test_server_load</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystem.test_server_load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystem.test_server_load" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestSystemCommands">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestSystemCommands</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystemCommands"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystemCommands" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystemCommands.test_channelcommand">
|
||
<code class="sig-name descname">test_channelcommand</code><span class="sig-paren">(</span><em class="sig-param">mock_channeldb</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystemCommands.test_channelcommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystemCommands.test_channelcommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystemCommands.test_multimatch">
|
||
<code class="sig-name descname">test_multimatch</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystemCommands.test_multimatch"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystemCommands.test_multimatch" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestSystemCommands.test_simple_defaults">
|
||
<code class="sig-name descname">test_simple_defaults</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestSystemCommands.test_simple_defaults"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestSystemCommands.test_simple_defaults" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.tests.TestUnconnectedCommand">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.tests.</code><code class="sig-name descname">TestUnconnectedCommand</code><span class="sig-paren">(</span><em class="sig-param">methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestUnconnectedCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestUnconnectedCommand" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.tests.CommandTest" title="evennia.commands.default.tests.CommandTest"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.tests.CommandTest</span></code></a></p>
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.tests.TestUnconnectedCommand.test_info_command">
|
||
<code class="sig-name descname">test_info_command</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/tests.html#TestUnconnectedCommand.test_info_command"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.tests.TestUnconnectedCommand.test_info_command" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-evennia.commands.default.unloggedin">
|
||
<span id="evennia-commands-default-unloggedin-module"></span><h2>evennia.commands.default.unloggedin module<a class="headerlink" href="#module-evennia.commands.default.unloggedin" title="Permalink to this headline">¶</a></h2>
|
||
<p>Commands that are available from the connect screen.</p>
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.unloggedin.</code><code class="sig-name descname">CmdUnconnectedConnect</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedConnect"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>connect to the game</p>
|
||
<dl class="simple">
|
||
<dt>Usage (at login screen):</dt><dd><p>connect accountname password
|
||
connect “account name” “pass word”</p>
|
||
</dd>
|
||
</dl>
|
||
<p>Use the create command to first create an account before logging in.</p>
|
||
<p>If you have spaces in your name, enclose it in double quotes.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('co', 'connect', 'con', 'conn')</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'co', 'con', 'conn', 'connect'}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['co', 'con', 'conn']</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s.*?|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedConnect.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Uses the Django admin api. Note that unlogged-in commands
|
||
have a unique position in that their func() receives
|
||
a session object instead of a source_object like all
|
||
other types of logged-in commands (this is because
|
||
there is no object yet before the account has logged in)</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'connect'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedConnect.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'co con conn', 'category': 'general', 'key': 'connect', 'tags': '', 'text': '\n connect to the game\n\n Usage (at login screen):\n connect accountname password\n connect "account name" "pass word"\n\n Use the create command to first create an account before logging in.\n\n If you have spaces in your name, enclose it in double quotes.\n '}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedConnect.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.unloggedin.</code><code class="sig-name descname">CmdUnconnectedCreate</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedCreate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>create a new account account</p>
|
||
<dl class="simple">
|
||
<dt>Usage (at login screen):</dt><dd><p>create <accountname> <password>
|
||
create “account name” “pass word”</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This creates a new account account.</p>
|
||
<p>If you have spaces in your name, enclose it in double quotes.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('create', 'cre', 'cr')</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'cr', 'cre', 'create'}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['cre', 'cr']</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.arg_regex">
|
||
<code class="sig-name descname">arg_regex</code><em class="property"> = re.compile('\\s.*?|$', re.IGNORECASE)</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.arg_regex" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedCreate.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Do checks and create account</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'create'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedCreate.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'cre cr', 'category': 'general', 'key': 'create', 'tags': '', 'text': '\n create a new account account\n\n Usage (at login screen):\n create <accountname> <password>\n create "account name" "pass word"\n\n This creates a new account account.\n\n If you have spaces in your name, enclose it in double quotes.\n '}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedCreate.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.unloggedin.</code><code class="sig-name descname">CmdUnconnectedQuit</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedQuit"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>quit when in unlogged-in state</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>quit</p>
|
||
</dd>
|
||
</dl>
|
||
<p>We maintain a different version of the quit command
|
||
here for unconnected accounts for the sake of simplicity. The logged in
|
||
version is a bit more complicated.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('q', 'qu', 'quit')</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'q', 'qu', 'quit'}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['q', 'qu']</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedQuit.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Simply close the connection.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'quit'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedQuit.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'q qu', 'category': 'general', 'key': 'quit', 'tags': '', 'text': '\n quit when in unlogged-in state\n\n Usage:\n quit\n\n We maintain a different version of the quit command\n here for unconnected accounts for the sake of simplicity. The logged in\n version is a bit more complicated.\n '}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedQuit.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.unloggedin.</code><code class="sig-name descname">CmdUnconnectedLook</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedLook"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>look when in unlogged-in state</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>look</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This is an unconnected version of the look command for simplicity.</p>
|
||
<p>This is called by the server and kicks everything in gear.
|
||
All it does is display the connect screen.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('look', 'l', '__unloggedin_look_command')</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'__unloggedin_look_command', 'l', 'look'}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['look', 'l']</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedLook.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Show the connect screen.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = '__unloggedin_look_command'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedLook.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': 'look l', 'category': 'general', 'key': '__unloggedin_look_command', 'tags': '', 'text': '\n look when in unlogged-in state\n\n Usage:\n look\n\n This is an unconnected version of the look command for simplicity.\n\n This is called by the server and kicks everything in gear.\n All it does is display the connect screen.\n '}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedLook.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp">
|
||
<em class="property">class </em><code class="sig-prename descclassname">evennia.commands.default.unloggedin.</code><code class="sig-name descname">CmdUnconnectedHelp</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedHelp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Bases: <a class="reference internal" href="#evennia.commands.default.muxcommand.MuxCommand" title="evennia.commands.default.muxcommand.MuxCommand"><code class="xref py py-class docutils literal notranslate"><span class="pre">evennia.commands.default.muxcommand.MuxCommand</span></code></a></p>
|
||
<p>get help when in unconnected-in state</p>
|
||
<dl class="simple">
|
||
<dt>Usage:</dt><dd><p>help</p>
|
||
</dd>
|
||
</dl>
|
||
<p>This is an unconnected version of the help command,
|
||
for simplicity. It shows a pane of info.</p>
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp._keyaliases">
|
||
<code class="sig-name descname">_keyaliases</code><em class="property"> = ('help', '?', 'h')</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp._keyaliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp._matchset">
|
||
<code class="sig-name descname">_matchset</code><em class="property"> = {'?', 'h', 'help'}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp._matchset" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.aliases">
|
||
<code class="sig-name descname">aliases</code><em class="property"> = ['?', 'h']</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.aliases" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.func">
|
||
<code class="sig-name descname">func</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/commands/default/unloggedin.html#CmdUnconnectedHelp.func"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.func" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Shows help</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.help_category">
|
||
<code class="sig-name descname">help_category</code><em class="property"> = 'general'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.help_category" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.key">
|
||
<code class="sig-name descname">key</code><em class="property"> = 'help'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.key" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.lock_storage">
|
||
<code class="sig-name descname">lock_storage</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.lock_storage" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.locks">
|
||
<code class="sig-name descname">locks</code><em class="property"> = 'cmd:all()'</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.locks" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="evennia.commands.default.unloggedin.CmdUnconnectedHelp.search_index_entry">
|
||
<code class="sig-name descname">search_index_entry</code><em class="property"> = {'aliases': '? h', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n get help when in unconnected-in state\n\n Usage:\n help\n\n This is an unconnected version of the help command,\n for simplicity. It shows a pane of info.\n '}</em><a class="headerlink" href="#evennia.commands.default.unloggedin.CmdUnconnectedHelp.search_index_entry" title="Permalink to this definition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||
<div class="sphinxsidebarwrapper">
|
||
<div id="searchbox" style="display: none" role="search">
|
||
<h3 id="searchlabel">Quick search</h3>
|
||
<div class="searchformwrapper">
|
||
<form class="search" action="../search.html" method="get">
|
||
<input type="text" name="q" aria-labelledby="searchlabel" />
|
||
<input type="submit" value="Go" />
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script>$('#searchbox').show(0);</script>
|
||
<p><h3><a href="../index.html">Table of Contents</a></h3>
|
||
<ul>
|
||
<li><a class="reference internal" href="#">evennia.commands.default package</a><ul>
|
||
<li><a class="reference internal" href="#submodules">Submodules</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.account">evennia.commands.default.account module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.admin">evennia.commands.default.admin module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.batchprocess">evennia.commands.default.batchprocess module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.building">evennia.commands.default.building module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.cmdset_account">evennia.commands.default.cmdset_account module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.cmdset_character">evennia.commands.default.cmdset_character module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.cmdset_session">evennia.commands.default.cmdset_session module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.cmdset_unloggedin">evennia.commands.default.cmdset_unloggedin module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.comms">evennia.commands.default.comms module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.general">evennia.commands.default.general module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.help">evennia.commands.default.help module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.muxcommand">evennia.commands.default.muxcommand module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.syscommands">evennia.commands.default.syscommands module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.system">evennia.commands.default.system module</a></li>
|
||
<li><a class="reference internal" href="#evennia-commands-default-tests-module">evennia.commands.default.tests module</a></li>
|
||
<li><a class="reference internal" href="#module-evennia.commands.default.unloggedin">evennia.commands.default.unloggedin module</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<div class="relations">
|
||
<h3>Related Topics</h3>
|
||
<ul>
|
||
<li><a href="../index.html">Documentation overview</a><ul>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
<div role="note" aria-label="source link">
|
||
<!--h3>This Page</h3-->
|
||
<ul class="this-page-menu">
|
||
<li><a href="../_sources/api/evennia.commands.default.rst.txt"
|
||
rel="nofollow">Show Page Source</a></li>
|
||
</ul>
|
||
</div>
|
||
<h3>Versions</h3>
|
||
<ul>
|
||
<li><a href="evennia.commands.default.html">1.0-dev (develop branch)</a></li>
|
||
<li><a href="../../0.9.1/api/evennia.commands.default.html">0.9.1 (master branch)</a></li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="footer">
|
||
©2020, The Evennia developer community.
|
||
|
||
|
|
||
Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.4</a>
|
||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||
|
||
|
|
||
<a href="../_sources/api/evennia.commands.default.rst.txt"
|
||
rel="nofollow">Page source</a>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |