Added at_server_start() and at_server_stop() hooks to allow users to safely initialize their custom systems whenever the server restarts.
This commit is contained in:
parent
7818ca077a
commit
309c03ce43
7 changed files with 81 additions and 33 deletions
|
|
@ -1,20 +1,23 @@
|
|||
#
|
||||
# This module holds textual connection screen definitions. All global
|
||||
# string variables (only) in this module are read by Evennia and
|
||||
# assumed to define a Connection screen. You can change which module is
|
||||
# used with settings.CONNECTION_SCREEN_MODULE.
|
||||
#
|
||||
# The names of the string variables doesn't matter (except they
|
||||
# shouldn't start with _), but each should hold a string defining a
|
||||
# connection screen - as seen when first connecting to the game
|
||||
# (before having logged in).
|
||||
#
|
||||
# OBS - If there are more than one string variable viable in this
|
||||
# module, a random one is picked!
|
||||
#
|
||||
# After adding new connection screens to this module you must either
|
||||
# reboot or reload the server to make them available.
|
||||
#
|
||||
"""
|
||||
This module holds textual connection screen definitions. All global
|
||||
string variables (only) in this module are read by Evennia and
|
||||
assumed to define a Connection screen.
|
||||
|
||||
The names of the string variables doesn't matter (except they
|
||||
shouldn't start with _), but each should hold a string defining a
|
||||
connection screen - as seen when first connecting to the game
|
||||
(before having logged in).
|
||||
|
||||
OBS - If there are more than one string variable viable in this
|
||||
module, a random one is picked!
|
||||
|
||||
After adding new connection screens to this module you must either
|
||||
reboot or reload the server to make them available.
|
||||
|
||||
You can change which module is used with
|
||||
settings.CONNECTION_SCREEN_MODULE.
|
||||
|
||||
"""
|
||||
|
||||
from src.utils import utils
|
||||
from src.commands.connection_screen import DEFAULT_SCREEN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue