Resolve merge conflicts with master.
This commit is contained in:
commit
7ff783fea1
21 changed files with 900 additions and 122 deletions
|
|
@ -110,7 +110,7 @@ AMP_INTERFACE = '127.0.0.1'
|
|||
EVENNIA_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
# Path to the game directory (containing the server/conf/settings.py file)
|
||||
# This is dynamically created- there is generally no need to change this!
|
||||
if sys.argv[1] == 'test' if len(sys.argv)>1 else False:
|
||||
if sys.argv[1] == 'test' if len(sys.argv) > 1 else False:
|
||||
# unittesting mode
|
||||
GAME_DIR = os.getcwd()
|
||||
else:
|
||||
|
|
@ -208,14 +208,14 @@ MAX_CONNECTION_RATE = 2
|
|||
# from the client! To turn the limiter off, set to <= 0.
|
||||
MAX_COMMAND_RATE = 80
|
||||
# The warning to echo back to users if they send commands too fast
|
||||
COMMAND_RATE_WARNING ="You entered commands too fast. Wait a moment and try again."
|
||||
COMMAND_RATE_WARNING = "You entered commands too fast. Wait a moment and try again."
|
||||
# Determine how large of a string can be sent to the server in number
|
||||
# of characters. If they attempt to enter a string over this character
|
||||
# limit, we stop them and send a message. To make unlimited, set to
|
||||
# 0 or less.
|
||||
MAX_CHAR_LIMIT = 6000
|
||||
# The warning to echo back to users if they enter a very large string
|
||||
MAX_CHAR_LIMIT_WARNING="You entered a string that was too long. Please break it up into multiple parts."
|
||||
MAX_CHAR_LIMIT_WARNING = "You entered a string that was too long. Please break it up into multiple parts."
|
||||
# If this is true, errors and tracebacks from the engine will be
|
||||
# echoed as text in-game as well as to the log. This can speed up
|
||||
# debugging. OBS: Showing full tracebacks to regular users could be a
|
||||
|
|
@ -381,6 +381,12 @@ CMDSET_CHARACTER = "commands.default_cmdsets.CharacterCmdSet"
|
|||
CMDSET_ACCOUNT = "commands.default_cmdsets.AccountCmdSet"
|
||||
# Location to search for cmdsets if full path not given
|
||||
CMDSET_PATHS = ["commands", "evennia", "contribs"]
|
||||
# Fallbacks for cmdset paths that fail to load. Note that if you change the path for your default cmdsets,
|
||||
# you will also need to copy CMDSET_FALLBACKS after your change in your settings file for it to detect the change.
|
||||
CMDSET_FALLBACKS = {CMDSET_CHARACTER: 'evennia.commands.default.cmdset_character.CharacterCmdSet',
|
||||
CMDSET_ACCOUNT: 'evennia.commands.default.cmdset_account.AccountCmdSet',
|
||||
CMDSET_SESSION: 'evennia.commands.default.cmdset_session.SessionCmdSet',
|
||||
CMDSET_UNLOGGEDIN: 'evennia.commands.default.cmdset_unloggedin.UnloggedinCmdSet'}
|
||||
# Parent class for all default commands. Changing this class will
|
||||
# modify all default commands, so do so carefully.
|
||||
COMMAND_DEFAULT_CLASS = "evennia.commands.default.muxcommand.MuxCommand"
|
||||
|
|
@ -527,8 +533,12 @@ PERMISSION_ACCOUNT_DEFAULT = "Player"
|
|||
# Default sizes for client window (in number of characters), if client
|
||||
# is not supplying this on its own
|
||||
CLIENT_DEFAULT_WIDTH = 78
|
||||
CLIENT_DEFAULT_HEIGHT = 45 # telnet standard is 24 but does anyone use such
|
||||
# low-res displays anymore?
|
||||
# telnet standard height is 24; does anyone use such low-res displays anymore?
|
||||
CLIENT_DEFAULT_HEIGHT = 45
|
||||
# Help output from CmdHelp are wrapped in an EvMore call
|
||||
# (excluding webclient with separate help popups). If continuous scroll
|
||||
# is preferred, change 'HELP_MORE' to False. EvMORE uses CLIENT_DEFAULT_HEIGHT
|
||||
HELP_MORE = True
|
||||
|
||||
######################################################################
|
||||
# Guest accounts
|
||||
|
|
@ -602,8 +612,8 @@ IRC_ENABLED = False
|
|||
# active. OBS: RSS support requires the python-feedparser package to
|
||||
# be installed (through package manager or from the website
|
||||
# http://code.google.com/p/feedparser/)
|
||||
RSS_ENABLED=False
|
||||
RSS_UPDATE_INTERVAL = 60*10 # 10 minutes
|
||||
RSS_ENABLED = False
|
||||
RSS_UPDATE_INTERVAL = 60*10 # 10 minutes
|
||||
|
||||
######################################################################
|
||||
# Django web features
|
||||
|
|
@ -619,7 +629,7 @@ DEBUG = False
|
|||
TEMPLATE_DEBUG = DEBUG
|
||||
# Emails are sent to these people if the above DEBUG value is False. If you'd
|
||||
# rather prefer nobody receives emails, leave this commented out or empty.
|
||||
ADMINS = () #'Your Name', 'your_email@domain.com'),)
|
||||
ADMINS = () # 'Your Name', 'your_email@domain.com'),)
|
||||
# These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True.
|
||||
MANAGERS = ADMINS
|
||||
# Absolute path to the directory that holds file uploads from web apps.
|
||||
|
|
@ -680,13 +690,13 @@ WEBSITE_TEMPLATE = 'website'
|
|||
WEBCLIENT_TEMPLATE = 'webclient'
|
||||
# The default options used by the webclient
|
||||
WEBCLIENT_OPTIONS = {
|
||||
"gagprompt": True, # Gags prompt from the output window and keep them
|
||||
# together with the input bar
|
||||
"helppopup": True, # Shows help files in a new popup window
|
||||
"notification_popup": False, # Shows notifications of new messages as
|
||||
# popup windows
|
||||
"notification_sound": False # Plays a sound for notifications of new
|
||||
# messages
|
||||
"gagprompt": True, # Gags prompt from the output window and keep them
|
||||
# together with the input bar
|
||||
"helppopup": True, # Shows help files in a new popup window
|
||||
"notification_popup": False, # Shows notifications of new messages as
|
||||
# popup windows
|
||||
"notification_sound": False # Plays a sound for notifications of new
|
||||
# messages
|
||||
}
|
||||
|
||||
# We setup the location of the website template as well as the admin site.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue