From ace067c4f5e979ca30eab2bce164a18ed9578308 Mon Sep 17 00:00:00 2001 From: Antrare Date: Mon, 14 Nov 2022 11:49:23 +1100 Subject: [PATCH] Update menu_login.py Updating installation instructions to be in line with new requirements. --- evennia/contrib/base_systems/menu_login/menu_login.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/evennia/contrib/base_systems/menu_login/menu_login.py b/evennia/contrib/base_systems/menu_login/menu_login.py index 8e417dfdba..1b185016a0 100644 --- a/evennia/contrib/base_systems/menu_login/menu_login.py +++ b/evennia/contrib/base_systems/menu_login/menu_login.py @@ -6,14 +6,14 @@ Contribution - Vincent-lg 2016, Griatch 2019 (rework for modern EvMenu) This changes the Evennia login to ask for the account name and password in sequence instead of requiring you to enter both at once. -To install, add this line to the settings file (`mygame/server/conf/settings.py`): +To install, add these lines to the settings file (`mygame/server/conf/settings.py`): CMDSET_UNLOGGEDIN = "evennia.contrib.base_systems.menu_login.UnloggedinCmdSet" + CONNECTION_SCREEN_MODULE = "evennia.contrib.base_systems.menu_login.connection_screens" - -Reload the server and the new connection method will be active. Note that you must -independently change the connection screen to match this login style, by editing -`mygame/server/conf/connection_screens.py`. +Reload the server and the new connection method will be active. If you want to modify the +way the connection screen looks, use the current one as a guide and create a new one in your +game folder. Then update the settings file CONNECTION_SCREEN_MODULE to point to yours. This uses Evennia's menu system EvMenu and is triggered by a command that is called automatically when a new user connects.