Log2Discord

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.


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 operators:

  • /log2discord reload
    Reloads the configuration from the JSON file

  • /log2discord setWebhook <url>
    Updates the webhook and saves it into the config

Example Output

Discord_Yn9WnFgfVb

Notes

  • This mod is server-side only and does not need to be installed by clients.
  • Works with Fabric 1.21.9.
  • Make sure to keep your webhook URL private — anyone with this URL can post into your Discord channel.

Project members

samxel

Owner

Details

Licensed MIT
Published a month ago
Updated a month ago