HomeJavaModsWorldEaterNotifier
WorldEaterNotifier
ModsJava

WorldEaterNotifier

by Kisde · on Modrinth

Fabric mod that monitors world eaters and trenchers, sending Discord notifications with per‑event ping control when they stop or get obstructed.

⬇ Download on Modrinth

WorldEaterNotifier

Fabric mod that monitors world eaters and trenchers, sending Discord notifications with per‑event ping control when they stop or get obstructed.

Minecraft Fabric Java License

WorldEaterGithub_10fps

What is it?

Fabric mod that monitors world eaters (TNT-based), trenchers, and bedrock breakers (block destruction-based), sending Discord webhook notifications with per‑event ping control and fully customizable messages when they stop, start, or get obstructed.

Documentation

For a complete guide on how to configure all the features please visit the documentation: WorldEaterNotifier Documentation

Features

Installation

  1. Clone the repository:

    git clone https://github.com/CodeW4VE/WorldEaterNotifier.git
    cd WorldEaterNotifier
    
  2. Build the mod:

    ./gradlew build
    
  3. Copy the generated .jar file from build/libs/ to your server's mods folder:

    cp build/libs/worldeaternotifier-*.jar /path/to/server/mods/
    
  4. Create a worldeaternotifier-config.json file in your server's config directory with Discord webhook and world eater settings.

Configuration

The mod creates config/worldeaternotifier.json on first run. You can edit it manually or use the in‑game commands.

Example:

{
  "webhookUrl": "https://discord.com/api/webhooks/...",
  "pingRoleId": "123456789012345678",
  "notificationMode": "webhook",
  "botToken": "",
  "guildId": "",
  "channelId": "",
  "showSubscriptionButton": true,
  "memberDiscordRole": "",
  "worldEaterSettings": {
    "stopTimeoutSeconds": 60,
    "minTntCount": 3,
    "pingSettings": {
      "enabled": true,
      "onStart": true,
      "onStop": true,
      "onStuck": true,
      "onResumed": true,
      "onShutdown": true
    },
    "messages": {
      "start": "{type} **'{name}'** has started.",
      "stuck": "{type} **'{name}'** has stopped due to an obstruction.",
      "resumed": "{type} **'{name}'** has started again.",
      "manualStop": "{type} **'{name}'** was stopped manually.",
      "shutdown": "{type} **'{name}'** was shut down with the server and may have broken."
    }
  },
  "trencherSettings": {
    "stopTimeoutSeconds": 180,
    "minBlocksBroken": 20,
    "pingSettings": {
      "enabled": true,
      "onStart": true,
      "onStop": true,
      "onStuck": true,
      "onResumed": true,
      "onShutdown": true
    },
    "messages": {
      "start": "{type} **'{name}'** has started.",
      "stuck": "{type} **'{name}'** has stopped due to an obstruction.",
      "resumed": "{type} **'{name}'** has started again.",
      "manualStop": "{type} **'{name}'** was stopped manually.",
      "shutdown": "{type} **'{name}'** was shut down with the server and may have broken."
    }
  },
  "bedrockBreakerSettings": {
    "stopTimeoutSeconds": 60,
    "minBlocksBroken": 1,
    "pingSettings": {
      "enabled": true,
      "onStart": true,
      "onStop": true,
      "onStuck": true,
      "onResumed": true,
      "onShutdown": true
    },
    "messages": {
      "start": "{type} **'{name}'** has started.",
      "stuck": "{type} **'{name}'** has stopped due to an obstruction.",
      "resumed": "{type} **'{name}'** has started again.",
      "manualStop": "{type} **'{name}'** was stopped manually.",
      "shutdown": "{type} **'{name}'** was shut down with the server and may have broken."
    }
  },
  "worldEaters": [],
  "trenchers": [],
  "bedrockBreakers": [],
  "whitelist": []
}

Usage

  1. Install the mod and start your server.
  2. Configure delivery:
    • Webhook mode (default): /worldeater settings setWebhookUrl <url>
    • Bot mode: /worldeater settings setBotToken <token>, set setGuildId and setChannelId, then /worldeater settings setNotificationMode bot
  3. Create machines:
    • /worldeater create <name> <x1> <y1> <z1> <x2> <y2> <z2>
    • /trencher create <name> <x1> <y1> <z1> <x2> <y2> <z2>
    • /bedrockbreaker create <name> <x1> <y1> <z1> <x2> <y2> <z2> (Coordinates auto‑suggest the block you stand on; Tab completes names.)
  4. Start monitoring with /worldeater start <name>, /trencher start <name>, or /bedrockbreaker start <name>.
  5. The mod automatically sends Discord messages when a machine stops unexpectedly (stuck), resumes, or is manually stopped.
  6. In bot mode, Discord slash commands mirror the Minecraft commands:
    • /worldeater start <name>, /worldeater stop <name>, /worldeater list (autocomplete suggests existing names)
    • Same for /trencher and /bedrockbreaker
    • /config pings — interactive flow to toggle per-machine-type ping settings
  7. Adjust settings on the fly:
    • /worldeater settings show, /trencher settings show, /bedrockbreaker settings show
    • /worldeater settings setStopTimeout <seconds>
    • /trencher settings setMinBlocksBroken <count>
    • /worldeater settings discordPings enable true and individual events like onStuck false
    • /worldeater settings showSubscriptionButton <true|false> (bot mode)
    • /worldeater settings setMemberDiscordRole <roleId> (bot mode)
    • Edit notification messages directly in the JSON file.
    • Use Tab to explore all subcommands.
  8. Manage machines: list, stop, delete for all three types.
  9. When the server shuts down, all active machines are stopped and a shutdown notification is sent.

Dependencies

Building from Source

Requires:

Build command:

./gradlew clean build

Generated artifact: build/libs/worldeaternotifier-*.jar

License

MIT © froyln

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more