From 81de57adfd7c74c7a2a1c3c26d87b0de6509881e Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 7 Nov 2018 21:26:34 +0000 Subject: [PATCH] Adds public point of contact email to settings and unloggedin help command. --- evennia/commands/default/unloggedin.py | 3 +++ evennia/settings_default.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/evennia/commands/default/unloggedin.py b/evennia/commands/default/unloggedin.py index 607c95439b..07cf8e36f2 100644 --- a/evennia/commands/default/unloggedin.py +++ b/evennia/commands/default/unloggedin.py @@ -276,6 +276,9 @@ Next you can connect to the game: |wconnect Anna c67jHL8p|n You can use the |wlook|n command if you want to see the connect screen again. """ + + if settings.STAFF_CONTACT_EMAIL: + string += 'For support, please contact: %s' % settings.STAFF_CONTACT_EMAIL self.caller.msg(string) diff --git a/evennia/settings_default.py b/evennia/settings_default.py index d6a1d0c82e..6fb053f1a7 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -670,6 +670,9 @@ DEBUG = False ADMINS = () # 'Your Name', 'your_email@domain.com'),) # These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True. MANAGERS = ADMINS +# This is a public point of contact for players or the public to contact +# a staff member or administrator of the site. It is publicly posted. +STAFF_CONTACT_EMAIL = None # Absolute path to the directory that holds file uploads from web apps. # Example: "/home/media/media.lawrence.com" MEDIA_ROOT = os.path.join(GAME_DIR, "web", "media")