From fafe2e779e65b27cad63c76ad2f9be7910ca7d99 Mon Sep 17 00:00:00 2001 From: Tehom Date: Fri, 10 Feb 2017 07:44:08 -0500 Subject: [PATCH] Added comments to the individual settings. --- evennia/settings_default.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/evennia/settings_default.py b/evennia/settings_default.py index c1f8798533..57a29ab35c 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -347,10 +347,18 @@ COMMAND_DEFAULT_CLASS = "evennia.commands.default.muxcommand.MuxCommand" # default class logs channel messages to a file and allows for /history. # This setting allows to override the command class used with your own. CHANNEL_COMMAND_CLASS = "evennia.comms.channelhandler.ChannelCommand" -# These specify defaults to the base Command parent class +# These specify defaults to the base Command parent class. Override them +# in order to change default behavior for your commands. +# If specified, DEFAULT_COMMAND_ARG_REGEX forces a command's structure +# to match the given regular expression. DEFAULT_COMMAND_ARG_REGEX = None +# If True, DEFAULT_COMMAND_MSG_SHARE will share a self.msg() to all sessions +# associated with the caller. +# If False, self.msg() will send a message only self.session. DEFAULT_COMMAND_MSG_SHARE = False +# The help category of a command if not otherwise specified. DEFAULT_COMMAND_HELP_CATEGORY = "general" +# The default lockstring of a command. DEFAULT_COMMAND_LOCKS = "" ######################################################################