Console2Discord
ModMIT

Console2Discord

A mod that outputs everything in the console log to a discord channel using discord's webhook.

59
Downloads
0
Followers
3 months ago
Updated
📦
3
Versions

📖About Console2Discord

Console2Discord

This mod mirrors your Minecraft server console logs to a Discord channel using a configurable Webhook.
It provides clean message formatting and simple admin commands for configuration.

Dependencies

  • This mod depends on Fabric API

Features

  • Sends server console output (INFO, WARN, ERROR …) directly to a Discord channel
  • Easy configuration via JSON file or in-game commands

Configuration

config/log2discord.json:

{
  "webhookUrl": "https://discord.com/api/webhooks/…"
}

Commands

Available only to server op:

  • /console2discord reload
    Reloads the config from the json file
  • /console2discord setWebhook <url>
    Updates the webhook and saves it into the config

Example Output

Example Output

Notes

  • The mod is server-side only and is not required on clients
  • Works with Fabric 1.21.9+
  • Make sure to keep your webhook URL private, otherwise anyone with this URL can post in your discord channel.

Credit to samxel for this mod, I only continued it for further versions