Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
/ Logregator Public archive

Fabric Mod to log events via Discord Webhook

License

Notifications You must be signed in to change notification settings

DistrictOfJoban/Logregator

Repository files navigation

Logregator

A Fabric mod that forwards configured Minecraft and optionally MTR Mod logging Events to a Discord Webhook. This is designed to be used in The District of Joban, but may be used on other server as well. Heavily work in progress.

Config

The config file is located in <Your MC Folder>/config/logregator/config.json.
A sample json can be found below:

{
  "webhook": "<Discord Webhook URL Here>",
  "events": {
    "filteredItems": [
      {
        "itemId": "mtr:dashboard",
        "permLevel": [0, 1]
      }
    ],
    "blockBreak": [
      {
        "blockId": "minecraft:grass_block",
        "area": {
          "pos1": [5, 0, 5],
          "pos2": [-5, 255, -5]
        },
        "permLevel": [0, 1]
      }
    ],
    "blockPlace": [
      {
        "blockId": "minecraft:grass_block",
        "area": {
          "pos1": [5, 0, 5],
          "pos2": [-5, 255, -5]
        },
        "permLevel": [0, 1]
      }
    ],
    "mtr": {
      "logBlock": true,
      "logRailwayData": true
    }
  }
}

License

This project is licensed under the MIT License.

About

Fabric Mod to log events via Discord Webhook

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages