Custom evennia launcher commands with EXTRA_LAUNCHER_COMMANDS setting

This commit is contained in:
Griatch 2021-07-04 21:54:27 +02:00
parent 0bca9963fe
commit b949fb0b6c
2 changed files with 54 additions and 0 deletions

View file

@ -225,6 +225,11 @@ MAX_CONNECTION_RATE = 2
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."
# custom, extra commands to add to the `evennia` launcher. This is a dict
# of {'cmdname': 'path.to.callable', ...}, where the callable will be passed
# any extra args given on the command line. For example `evennia cmdname foo bar`.
CUSTOM_LAUNCHER_COMMANDS = {}
# 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