summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorHybridDog <3192173+HybridDog@users.noreply.github.com>2021-03-13 11:18:25 +0100
committerGitHub <noreply@github.com>2021-03-13 11:18:25 +0100
commit88b052cbea346fd29120837f5b802427bc889be2 (patch)
tree6229a14001e4c343e06b54e52ad38fab549cd0ae /builtin/settingtypes.txt
parent051bc9e6624c63c3612e041644ec587b328bae55 (diff)
downloadminetest-88b052cbea346fd29120837f5b802427bc889be2.tar.gz
minetest-88b052cbea346fd29120837f5b802427bc889be2.tar.bz2
minetest-88b052cbea346fd29120837f5b802427bc889be2.zip
Chatcommands: Show the execution time if the command takes a long time (#10472)
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 62f1ee2d0..75efe64da 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1136,6 +1136,10 @@ enable_rollback_recording (Rollback recording) bool false
# @name, @message, @timestamp (optional)
chat_message_format (Chat message format) string <@name> @message
+# If the execution of a chat command takes longer than this specified time in
+# seconds, add the time information to the chat command message
+chatcommand_msg_time_threshold (Chat command time message threshold) float 0.1
+
# A message to be displayed to all clients when the server shuts down.
kick_msg_shutdown (Shutdown message) string Server shutting down.