75 lines
2.3 KiB
Python
75 lines
2.3 KiB
Python
r"""
|
|
Evennia settings file.
|
|
|
|
The available options are found in the default settings file found
|
|
here:
|
|
|
|
https://www.evennia.com/docs/latest/Setup/Settings-Default.html
|
|
|
|
Remember:
|
|
|
|
Don't copy more from the default file than you actually intend to
|
|
change; this will make sure that you don't overload upstream updates
|
|
unnecessarily.
|
|
|
|
When changing a setting requiring a file system path (like
|
|
path/to/actual/file.py), use GAME_DIR and EVENNIA_DIR to reference
|
|
your game folder and the Evennia library folders respectively. Python
|
|
paths (path.to.module) should be given relative to the game's root
|
|
folder (typeclasses.foo) whereas paths within the Evennia library
|
|
needs to be given explicitly (evennia.foo).
|
|
|
|
If you want to share your game dir, including its settings, you can
|
|
put secret game- or server-specific settings in secret_settings.py.
|
|
|
|
"""
|
|
|
|
# Use the defaults from Evennia unless explicitly overridden
|
|
from evennia.settings_default import *
|
|
|
|
######################################################################
|
|
# Evennia base server config
|
|
######################################################################
|
|
|
|
# This is the name of your game. Make it catchy!
|
|
SERVERNAME = "Moss and Puddles"
|
|
|
|
SERVER_HOSTNAME = "www.howardabrams.com"
|
|
|
|
# WEBSOCKET_CLIENT_URL = "ws://www.howardabrams.com/ws"
|
|
WEBSOCKET_CLIENT_URL = "https://www.howardabrams.com/ws"
|
|
|
|
TIME_ZONE = "PST8PDT"
|
|
TIME_FACTOR = 1.0
|
|
TIME_GAME_EPOCH = 1747562312
|
|
|
|
# from datetime import datetime
|
|
# from time import mktime
|
|
# start = datetime.now()
|
|
# epoch = mktime(start.timetuple())
|
|
# epoch = epoch - 1 * 86400 - 3 * 3600 - 15 * 60
|
|
# print(epoch)
|
|
|
|
MEDIA_URL = "/cozy/media/"
|
|
STATIC_URL = "/cozy/static/"
|
|
|
|
SSH_ENABLED = True
|
|
# SSL_ENABLED = True
|
|
|
|
FUNCPARSER_PARSE_OUTGOING_MESSAGES_ENABLED = True
|
|
SEARCH_MULTIMATCH_REGEX = r"(?P<number>[0-9]+)-(?P<name>[^-]*)(?P<args>.*)"
|
|
SEARCH_MULTIMATCH_TEMPLATE = " {number}-{name}{aliases}{info}\n"
|
|
|
|
CHARGEN_MENU = "world.chargen_menu"
|
|
AUTO_CREATE_CHARACTER_WITH_ACCOUNT = False
|
|
AUTO_PUPPET_ON_LOGIN = False
|
|
MAX_NR_CHARACTERS = 6
|
|
|
|
######################################################################
|
|
# Settings given in secret_settings.py override those in this file.
|
|
######################################################################
|
|
try:
|
|
from server.conf.secret_settings import *
|
|
except ImportError:
|
|
print("secret_settings.py file not found or failed to import.")
|