diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2016-10-04 18:17:12 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2016-10-05 00:13:37 +0200 |
commit | d4c76258e37337ea585cf24d8e05b50a30fa307d (patch) | |
tree | 6936b8f843171843008743e1341fe431222eec82 /minetest.conf.example | |
parent | 1079aeaa13a94c67c1e0a0bd1c461e14841a1eec (diff) | |
download | minetest-d4c76258e37337ea585cf24d8e05b50a30fa307d.tar.gz minetest-d4c76258e37337ea585cf24d8e05b50a30fa307d.tar.bz2 minetest-d4c76258e37337ea585cf24d8e05b50a30fa307d.zip |
Chat: new settings to prevent spam
Added the following chat coreside features
* Chat messages length limit
* Message rate limiting
* Message rate kicking
Note:
* handleChat now takes RemotePlayer pointer instead of u16 to remove useless
lookups
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 9c8015625..b1b202786 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -933,6 +933,18 @@ # type: float # server_map_save_interval = 5.3 +# Set the maximum character length of a chat message sent by clients. (0 to disable) +# type: integer +# chat_message_max_size = 500 + +# Limit a single player to send X messages per 10 seconds. (0 to disable) +# type: float +# chat_message_limit_per_10sec = 8.0 + +# Kick player if send more than X messages per 10 seconds. (0 to disable) +# type: integer +# chat_message_limit_trigger_kick = 50 + ### Physics # type: float @@ -1523,7 +1535,7 @@ # profiler.default_report_format = txt # The file path relative to your worldpath in which profiles will be saved to. -# +# # type: string # profiler.report_path = "" |