Jail Logic – Unofficial Update

An unofficial, community-maintained fork of the Jail Logic mod, updated for newer Minecraft versions.

File Details

jailmod-2.7-1.21.11.jar

  • R
  • May 21, 2026
  • 221.47 KB
  • 10
  • 1.21.11
  • Fabric

File Name

jailmod-2.7-1.21.11.jar

Supported Versions

  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:jail-logic-unofficial-update-1549513:8122521"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Added

  • Optional BanHammer webhook integration: if discord_webhook_url is empty ( in the config.json), JailMod can reuse config/banhammer/config.json (discordWebhookUrls / discordWebhookUrl).
  • New config/jailmod/discord-messages.json with BanHammer-style message templates (jailMessage, unjailMessage, autoUnjailMessage) and per-message toggles.
  • Auto-patching for discord-messages.json so new fields are added on update without wiping existing user edits.
  • /jail reload now reloads Discord message templates and webhook resolution cache.
  • /unjail command suggestions now list jailed players only.

Fixed

  • Fixed /unjail behavior to show a red error when target player is not jailed.

Notes

  • BanHammer is optional; JailMod works without it.
  • Goal of this update: jail actions are now reported to Discord in the same moderation-style format as BanHammer.
  • Webhook URL priority is: discord_webhook_url first, then BanHammer fallback (only when use_banhammer_webhook=true).