Skip to content

Commit

Permalink
Add mod security info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
archfan7411 authored Aug 27, 2019
1 parent 437976b commit e95dc90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit e95dc90

Please sign in to comment.