From e95dc90918ad38fe81b084016eb5588ab2eccce0 Mon Sep 17 00:00:00 2001 From: archfan <33993466+archfan7411@users.noreply.github.com> Date: Tue, 27 Aug 2019 13:35:02 -0400 Subject: [PATCH] Add mod security info to README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c691ef..7514f9c 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,13 @@ channel_id = 576585506658189332 allow_logins = true ``` -4. Set `discord.port` in your `minetest.conf` to match the port you used in `relay.conf`. You may also set `discord.text_color` to a hex color string if you'd like to color relayed messages from Discord. +4. Enable mod security and add `discordmt` to the trusted and http mods. In additon, set `discord.port` in your `minetest.conf` to match the port you used in `relay.conf`and optionally set `discord.text_color` to a hex color string if you'd like to color relayed messages from Discord. Example `minetest.conf` excerpt: ``` +secure.enable_security = true +secure.trusted_mods = discordmt +secure.http_mods = discordmt discord.port = 8080 discord.text_color = #a7a7a7 ```