Update menu_login.py
Updating installation instructions to be in line with new requirements.
This commit is contained in:
parent
71d05208ac
commit
ace067c4f5
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
This changes the Evennia login to ask for the account name and password in
|
||||||
sequence instead of requiring you to enter both at once.
|
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"
|
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. If you want to modify the
|
||||||
Reload the server and the new connection method will be active. Note that you must
|
way the connection screen looks, use the current one as a guide and create a new one in your
|
||||||
independently change the connection screen to match this login style, by editing
|
game folder. Then update the settings file CONNECTION_SCREEN_MODULE to point to yours.
|
||||||
`mygame/server/conf/connection_screens.py`.
|
|
||||||
|
|
||||||
This uses Evennia's menu system EvMenu and is triggered by a command that is
|
This uses Evennia's menu system EvMenu and is triggered by a command that is
|
||||||
called automatically when a new user connects.
|
called automatically when a new user connects.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue