2021-07-23 00:25:23 +02:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < meta name = "generator" content = "Docutils 0.17.1: http://docutils.sourceforge.net/" / >
2022-01-08 16:38:41 +01:00
< title > Menu-based login system — Evennia 1.0-dev documentation< / title >
2021-07-23 00:25:23 +02:00
< link rel = "stylesheet" href = "../_static/nature.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 = "shortcut icon" href = "../_static/favicon.ico" / >
< link rel = "index" title = "Index" href = "../genindex.html" / >
2022-02-06 18:34:09 +00:00
< link rel = "search" title = "Search" href = "../search.html" / >
< link rel = "next" title = "Legacy Comms-commands" href = "Contrib-Mux-Comms-Cmds.html" / >
< link rel = "prev" title = "A voice operated elevator using events" href = "Contrib-Ingame-Python-Tutorial-Elevator.html" / >
2021-07-23 00:25:23 +02:00
< / head > < body >
< div class = "related" role = "navigation" aria-label = "related navigation" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "../genindex.html" title = "General Index"
accesskey="I">index< / a > < / li >
< li class = "right" >
< a href = "../py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
2022-02-06 18:34:09 +00:00
< li class = "right" >
< a href = "Contrib-Mux-Comms-Cmds.html" title = "Legacy Comms-commands"
accesskey="N">next< / a > |< / li >
< li class = "right" >
< a href = "Contrib-Ingame-Python-Tutorial-Elevator.html" title = "A voice operated elevator using events"
accesskey="P">previous< / a > |< / li >
2021-07-23 00:25:23 +02:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 1.0-dev< / a > » < / li >
2022-02-06 18:34:09 +00:00
< li class = "nav-item nav-item-1" > < a href = "Contribs-Overview.html" accesskey = "U" > Contribs< / a > » < / li >
2022-01-08 16:38:41 +01:00
< li class = "nav-item nav-item-this" > < a href = "" > Menu-based login system< / a > < / li >
2021-07-23 00:25:23 +02:00
< / ul >
< div class = "develop" > develop branch< / div >
< / div >
< div class = "document" >
2022-10-23 09:04:07 +00:00
< div class = "documentwrapper" >
2021-07-23 00:25:23 +02:00
< div class = "sphinxsidebar" role = "navigation" aria-label = "main navigation" >
< div class = "sphinxsidebarwrapper" >
< p class = "logo" > < a href = "../index.html" >
< img class = "logo" src = "../_static/evennia_logo.png" alt = "Logo" / >
< / a > < / p >
< 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 >
2022-10-23 09:04:07 +00:00
< h3 > < a href = "../index.html" > Table of Contents< / a > < / h3 >
2022-01-08 16:38:41 +01:00
< ul >
< li > < a class = "reference internal" href = "#" > Menu-based login system< / a > < ul >
< li > < a class = "reference internal" href = "#installation" > Installation< / a > < / li >
< li > < a class = "reference internal" href = "#notes" > Notes< / a > < / li >
< / ul >
< / li >
< / ul >
2022-02-06 18:34:09 +00:00
< h4 > Previous topic< / h4 >
< p class = "topless" > < a href = "Contrib-Ingame-Python-Tutorial-Elevator.html"
title="previous chapter">A voice operated elevator using events< / a > < / p >
< h4 > Next topic< / h4 >
< p class = "topless" > < a href = "Contrib-Mux-Comms-Cmds.html"
title="next chapter">Legacy Comms-commands< / a > < / p >
2021-07-23 00:25:23 +02:00
< div role = "note" aria-label = "source link" >
<!-- h3>This Page</h3 -->
< ul class = "this-page-menu" >
2022-01-08 16:38:41 +01:00
< li > < a href = "../_sources/Contribs/Contrib-Menu-Login.md.txt"
2021-07-23 00:25:23 +02:00
rel="nofollow">Show Page Source< / a > < / li >
< / ul >
< / div > < h3 > Links< / h3 >
< ul >
< li > < a href = "https://www.evennia.com" > Home page< / a > < / li >
< li > < a href = "https://github.com/evennia/evennia" > Evennia Github< / a > < / li >
< li > < a href = "http://games.evennia.com" > Game Index< / a > < / li >
2021-08-06 00:47:51 +02:00
< li >
< a href = "https://discord.gg/AJJpcRUhtF" > Discord< / a > -
< a href = "https://github.com/evennia/evennia/discussions" > Discussions< / a > -
2021-08-06 00:53:44 +02:00
< a href = "https://evennia.blogspot.com/" > Blog< / a >
2021-07-23 00:25:23 +02:00
< / li >
< / ul >
< h3 > Versions< / h3 >
< ul >
2022-01-08 16:38:41 +01:00
< li > < a href = "Contrib-Menu-Login.html" > 1.0-dev (develop branch)< / a > < / li >
2022-02-05 18:41:59 +00:00
< li > < a href = "../../0.9.5/index.html" > 0.9.5 (v0.9.5 branch)< / a > < / li >
2021-07-23 00:25:23 +02:00
< / ul >
< / div >
< / div >
2022-10-23 09:04:07 +00:00
< div class = "bodywrapper" >
< div class = "body" role = "main" >
< section class = "tex2jax_ignore mathjax_ignore" id = "menu-based-login-system" >
< h1 > Menu-based login system< a class = "headerlink" href = "#menu-based-login-system" title = "Permalink to this headline" > ¶< / a > < / h1 >
< p > Contribution by Vincent-lg 2016. Reworked for modern EvMenu by Griatch, 2019.< / p >
< p > This changes the Evennia login to ask for the account name and password as a series
of questions instead of requiring you to enter both at once. It uses Evennia’ s
menu system < code class = "docutils literal notranslate" > < span class = "pre" > EvMenu< / span > < / code > under the hood.< / p >
< section id = "installation" >
< h2 > Installation< a class = "headerlink" href = "#installation" title = "Permalink to this headline" > ¶< / a > < / h2 >
< p > To install, add this to < code class = "docutils literal notranslate" > < span class = "pre" > mygame/server/conf/settings.py< / span > < / code > :< / p >
< div class = "highlight-none notranslate" > < div class = "highlight" > < pre > < span > < / span > CMDSET_UNLOGGEDIN = " evennia.contrib.base_systems.menu_login.UnloggedinCmdSet"
2022-11-09 18:09:24 +00:00
CONNECTION_SCREEN_MODULE = " evennia.contrib.base_systems.menu_login.connection_screens"
2022-10-23 09:04:07 +00:00
< / pre > < / div >
< / div >
< p > Reload the server and reconnect to see the changes.< / p >
< / section >
< section id = "notes" >
< h2 > Notes< a class = "headerlink" href = "#notes" title = "Permalink to this headline" > ¶< / a > < / h2 >
< p > If you want to modify the way the connection screen looks, point
< code class = "docutils literal notranslate" > < span class = "pre" > CONNECTION_SCREEN_MODULE< / span > < / code > to your own module. Use the default as a
guide (see also Evennia docs).< / p >
< hr class = "docutils" / >
< p > < small > This document page is generated from < code class = "docutils literal notranslate" > < span class = "pre" > evennia/contrib/base_systems/menu_login/README.md< / span > < / code > . Changes to this
file will be overwritten, so edit that file rather than this one.< / small > < / p >
< / section >
< / section >
< / div >
< / div >
< / div >
2021-07-23 00:25:23 +02:00
< / div >
< div class = "related" role = "navigation" aria-label = "related navigation" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "../genindex.html" title = "General Index"
>index< / a > < / li >
< li class = "right" >
< a href = "../py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
2022-02-06 18:34:09 +00:00
< li class = "right" >
< a href = "Contrib-Mux-Comms-Cmds.html" title = "Legacy Comms-commands"
>next< / a > |< / li >
< li class = "right" >
< a href = "Contrib-Ingame-Python-Tutorial-Elevator.html" title = "A voice operated elevator using events"
>previous< / a > |< / li >
2021-07-23 00:25:23 +02:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 1.0-dev< / a > » < / li >
2022-02-06 18:34:09 +00:00
< li class = "nav-item nav-item-1" > < a href = "Contribs-Overview.html" > Contribs< / a > » < / li >
2022-01-08 16:38:41 +01:00
< li class = "nav-item nav-item-this" > < a href = "" > Menu-based login system< / a > < / li >
2021-07-23 00:25:23 +02:00
< / ul >
< div class = "develop" > develop branch< / div >
< / div >
< div class = "footer" role = "contentinfo" >
© Copyright 2020, The Evennia developer community.
Created using < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > 3.2.1.
< / div >
< / body >
< / html >