
Modrinth · Minecraft mod
ChatHook
Send Minecraft chat to a Discord webhook!
Quick answer
Which ChatHook release should I use?
ChatHook 1.0.0 targets 1.20.1, 1.20.2, 1.20.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is ChatHook required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does ChatHook 1.0.0 need?
1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add ChatHook without breaking your instance.
Built for ChatHook 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 1.20.1, 1.20.2, 1.20.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does ChatHook add?
chathook
A logical server mod that forwards Minecraft chat, game and command messages to a Discord webhook.
How to Use
Create a file called secrets.txt in the root of your server (in the same folder as the server.jar.
In the file, write the following line:
webhook_url=[your webhook url here]
The webhook URL should be in the form of https://discord.com/api/webhooks/{some numbers}/{token}.
Now, just fire up the server and you're all set!
Known Limitations
- Command messages aren't captured
- Chat from Dynmap sends IP addresses in the text and these are not filtered by ChatHook (will be fixed by a message filtering feature in future)
Attribution
Project description from Modrinth.
Pick your setup
ChatHook by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
ChatHook versions and loaders
1.0.0
chathook-0.1.0-alpha+1.20.1.jar
18 Jan 2024
Looking for an older file? The official Modrinth project page is in Resources.