Back to mods
ChatHook project artwork

Modrinth · Minecraft mod

ChatHook

Send Minecraft chat to a Discord webhook!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ChatHook release matches 1.20.3?

Updated 2 years ago
alpha file 1.0.0
Game version 1.20.1, 1.20.2, 1.20.3
Loader Fabric

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.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does ChatHook 1.0.0 need?

1.0.0 on 1.20.3. Every mod below is checked against that same setup.

No extra mods listed for this file

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 on 1.20.3. Pick another file and the loader, install side or required mods may change.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 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

Hook icon by Freepik

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.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ChatHook versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.