promotional bannermobile promotional banner

Cozy Cobble Bug Mod

A custom mod written to allow users to send bug reports from in game to a discord webhook in a support server!

Cozy Cobble Bug Mod — v1.1.0 Initial Release

Let your players report bugs without ever leaving Minecraft.

Reports are sent as rich Discord embeds — complete with category, severity, an optional screenshot, and a mclo.gs log link — straight to your server's webhook.


Features

In-game report form (ModernUI)

  • Press B to open the interactive guide, or Shift+B to jump straight to the report form
  • The guide is a 5-page custom GUI walkthrough — no book item required
  • Fields: Title, Description, Steps to Reproduce
  • Cycle through configurable Categories (Gameplay, Crash / Freeze, Visual / Rendering, Performance, Inventory / Items, World / Chunks, Multiplayer / Sync, Other — all customisable in config)
  • Cycle through four Severity levels — Low 🟢, Medium 🟡, High 🟠, Critical 🔴 — with matching colour-coded Discord embeds
  • Searchable Affected Mod / Datapack / Resource Pack picker, auto-populated from your loaded mods, active datapacks, and active resource packs

Discord integration

  • Reports are posted as rich Discord embeds with category & severity emojis, player name, modpack name, timestamp, and a coloured sidebar that matches severity
  • Attach the latest screenshot (captured the moment B is pressed) as the embed image
  • Attach the game log uploaded privately to mclo.gs — only a link appears in the embed, keeping raw log data off Discord
  • Ping one or more Discord roles on every report
  • Full Forum channel support — each report creates a new thread with a configurable tag per category

Setup in three commands

/bugreportsetup webhook https://discord.com/api/webhooks/...
/bugreportsetup packname Your Modpack Name
/bugreportsetup status

The webhook URL is never stored in config.json — it lives in a randomly-named hidden file so players who inspect their config folder can't steal it.

Relay mode (advanced / modpack distributors)

Deploy the bundled Cloudflare Worker (cloudflare-worker/worker.js) to keep the webhook URL entirely off all client machines. Add relayUrl and relaySecret to config.json and point it at your worker — no bot token required.

Automatic datapack & resource pack load-order control

Configure the load order of packs in <gameDir>/datapacks/ and <gameDir>/resourcepacks/ directly from config.json — useful for modpacks that ship extra packs alongside the mod.


Requirements

Dependency Version
Minecraft 1.21.1
Fabric Loader ≥ 0.19.3
Fabric API 0.116.14+1.21.1
ModernUI-MC 3.13.0.1 for 1.21.1
owo-lib 0.13.0-alpha.15+1.21 (optional, for guide book UI)
Lavender 0.1.15+1.21 (optional, for guide book)

Quick Setup

  1. Drop the mod JAR into your mods/ folder along with its required dependencies.
  2. Launch the game once — config/cozycobblebugmod/config.json and a README.md are written automatically.
  3. Run /bugreportsetup webhook <your Discord webhook URL> (op level 2 required).
  4. Run /bugreportsetup packname <Your Modpack Name>.
  5. Run /bugreportsetup status to confirm everything is green.
  6. Optionally edit config.json to customise role pings, embed colour, categories, and more.

Config Highlights

Key Default Description
roleIds [] List of Discord Role IDs to ping per report
isForumChannel false Set true when your webhook is in a Forum channel
forumTagIds {} Map category names → Forum Tag IDs
embedColor "E74C3C" Hex sidebar colour (no #)
allowScreenshot true Allow screenshot attachments
allowLog true Allow log attachments
useMclogs true Upload logs to mclo.gs instead of attaching raw bytes
maxReportsPerHour 5 Client-side rate limit (0 = off)
reportingEnabled true Master on/off switch
categories 8 built-in Add, remove, or rename categories freely

Full reference is written to config/cozycobblebugmod/README.md on first launch.


License

CC0-1.0 — public domain. Use, modify, and redistribute freely.

The Cozy Cobble Bug Mod Team

profile avatar
  • 3
    Projects
  • 14
    Downloads

I Am But SMORE'S

More from TostedSmores