ChatHook
This logical server modification redirects messages from Minecraft game chat, as well as system notifications and commands, directly to a Discord webhook.
How to Set Up
In your server's root folder (the same one containing the server.jar file), create a text file called secrets.txt and write the following line in it:
webhook_url=[your webhook URL]
Make sure the URL has the correct format: https://discord.com/api/webhooks/{number}/{token}.
After starting the server, the mod will automatically begin working - no additional actions required!
Current Limitations
- The system does not yet intercept commands entered by players
- Messages from Dynmap may contain IP addresses that are not filtered in the current version
Visual guide: How to get Discord webhook URL