(PEP8) Whitespace clean up tp settings_default.py
This commit is contained in:
parent
15d480bdf6
commit
340ebb688d
1 changed files with 25 additions and 25 deletions
|
|
@ -100,7 +100,7 @@ EVENNIA_ADMIN = True
|
||||||
EVENNIA_DIR = os.path.dirname(os.path.abspath(__file__))
|
EVENNIA_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
# Path to the game directory (containing the server/conf/settings.py 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!
|
# 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
|
# unittesting mode
|
||||||
GAME_DIR = os.getcwd()
|
GAME_DIR = os.getcwd()
|
||||||
else:
|
else:
|
||||||
|
|
@ -206,14 +206,14 @@ MAX_CONNECTION_RATE = 2
|
||||||
# from the client! To turn the limiter off, set to <= 0.
|
# from the client! To turn the limiter off, set to <= 0.
|
||||||
MAX_COMMAND_RATE = 80
|
MAX_COMMAND_RATE = 80
|
||||||
# The warning to echo back to users if they send commands too fast
|
# 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
|
# 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
|
# 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
|
# limit, we stop them and send a message. To make unlimited, set to
|
||||||
# 0 or less.
|
# 0 or less.
|
||||||
MAX_CHAR_LIMIT = 6000
|
MAX_CHAR_LIMIT = 6000
|
||||||
# The warning to echo back to users if they enter a very large string
|
# 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
|
# 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
|
# 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
|
# debugging. OBS: Showing full tracebacks to regular users could be a
|
||||||
|
|
@ -483,7 +483,7 @@ MAX_NR_CHARACTERS = 1
|
||||||
# The access hierarchy, in climbing order. A higher permission in the
|
# The access hierarchy, in climbing order. A higher permission in the
|
||||||
# hierarchy includes access of all levels below it. Used by the perm()/pperm()
|
# hierarchy includes access of all levels below it. Used by the perm()/pperm()
|
||||||
# lock functions.
|
# lock functions.
|
||||||
PERMISSION_HIERARCHY = ["Guests", # note-only used if GUEST_ENABLED=True
|
PERMISSION_HIERARCHY = ["Guests", # note-only used if GUEST_ENABLED=True
|
||||||
"Players",
|
"Players",
|
||||||
"PlayerHelpers",
|
"PlayerHelpers",
|
||||||
"Builders",
|
"Builders",
|
||||||
|
|
@ -537,17 +537,17 @@ GUEST_LIST = ["Guest" + str(s+1) for s in range(9)]
|
||||||
# general "mud info" channel. Other channels beyond that
|
# general "mud info" channel. Other channels beyond that
|
||||||
# are up to the admin to design and call appropriately.
|
# are up to the admin to design and call appropriately.
|
||||||
DEFAULT_CHANNELS = [
|
DEFAULT_CHANNELS = [
|
||||||
# public channel
|
# public channel
|
||||||
{"key": "Public",
|
{"key": "Public",
|
||||||
"aliases": ('ooc', 'pub'),
|
"aliases": ('ooc', 'pub'),
|
||||||
"desc": "Public discussion",
|
"desc": "Public discussion",
|
||||||
"locks": "control:perm(Wizards);listen:all();send:all()"},
|
"locks": "control:perm(Wizards);listen:all();send:all()"},
|
||||||
# connection/mud info
|
# connection/mud info
|
||||||
{"key": "MudInfo",
|
{"key": "MudInfo",
|
||||||
"aliases": "",
|
"aliases": "",
|
||||||
"desc": "Connection log",
|
"desc": "Connection log",
|
||||||
"locks": "control:perm(Immortals);listen:perm(Wizards);send:false()"}
|
"locks": "control:perm(Immortals);listen:perm(Wizards);send:false()"}
|
||||||
]
|
]
|
||||||
# Extra optional channel for receiving connection messages ("<player> has (dis)connected").
|
# Extra optional channel for receiving connection messages ("<player> has (dis)connected").
|
||||||
# While the MudInfo channel will also receieve this, this channel is meant for non-staffers.
|
# While the MudInfo channel will also receieve this, this channel is meant for non-staffers.
|
||||||
CHANNEL_CONNECTINFO = None
|
CHANNEL_CONNECTINFO = None
|
||||||
|
|
@ -573,8 +573,8 @@ IRC_ENABLED = False
|
||||||
# active. OBS: RSS support requires the python-feedparser package to
|
# active. OBS: RSS support requires the python-feedparser package to
|
||||||
# be installed (through package manager or from the website
|
# be installed (through package manager or from the website
|
||||||
# http://code.google.com/p/feedparser/)
|
# http://code.google.com/p/feedparser/)
|
||||||
RSS_ENABLED=False
|
RSS_ENABLED = False
|
||||||
RSS_UPDATE_INTERVAL = 60*10 # 10 minutes
|
RSS_UPDATE_INTERVAL = 60*10 # 10 minutes
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Django web features
|
# Django web features
|
||||||
|
|
@ -590,7 +590,7 @@ DEBUG = False
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
# Emails are sent to these people if the above DEBUG value is False. If you'd
|
# 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.
|
# 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.
|
# These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True.
|
||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
# Absolute path to the directory that holds file uploads from web apps.
|
# Absolute path to the directory that holds file uploads from web apps.
|
||||||
|
|
@ -651,13 +651,13 @@ WEBSITE_TEMPLATE = 'website'
|
||||||
WEBCLIENT_TEMPLATE = 'webclient'
|
WEBCLIENT_TEMPLATE = 'webclient'
|
||||||
# The default options used by the webclient
|
# The default options used by the webclient
|
||||||
WEBCLIENT_OPTIONS = {
|
WEBCLIENT_OPTIONS = {
|
||||||
"gagprompt": True, # Gags prompt from the output window and keep them
|
"gagprompt": True, # Gags prompt from the output window and keep them
|
||||||
# together with the input bar
|
# together with the input bar
|
||||||
"helppopup": True, # Shows help files in a new popup window
|
"helppopup": True, # Shows help files in a new popup window
|
||||||
"notification_popup": False, # Shows notifications of new messages as
|
"notification_popup": False, # Shows notifications of new messages as
|
||||||
# popup windows
|
# popup windows
|
||||||
"notification_sound": False # Plays a sound for notifications of new
|
"notification_sound": False # Plays a sound for notifications of new
|
||||||
# messages
|
# messages
|
||||||
}
|
}
|
||||||
|
|
||||||
# We setup the location of the website template as well as the admin site.
|
# 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