promotional bannermobile promotional banner

ProtectionBlocks

ProtectionBlocks allows players to secure their builds with customizable protection blocks and manage permissions with ease.
Back to Files

protectionblocks-1.0.6.jar

File nameprotectionblocks-1.0.6.jar
Uploader
ReaperFtxReaperFtx
Uploaded
Jun 28, 2026
Downloads
42
Size
8.4 MB
Mod Loaders
Forge
File ID
8334716
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:protection-blocks-1351203:8334716")

Learn more aboutย Curse Maven

What's new

๐ŸŽ‰ v1.0.6 โ€” In-game admin GUI & item tooltips

Quality-of-life release focused on configuration UX: admins can now edit the entire server config from a clean in-game GUI without touching the TOML, and players see at a glance how big each protection block actually is by hovering over it in the inventory.


๐Ÿ†• In-game admin configuration GUI

The whole protectionblocks-server.toml is now editable from inside Minecraft. No more uploading files to your host or restarting the world for a 1-line tweak.

  • 4 tabs: General, Tiers, Behavior, Bot โ€” all 20 server options grouped logically.
  • Two ways to open it:
    • ๐ŸŽฏ New keybind with its own category "Protection Blocks" in Options โ†’ Controls. Unbound by default to avoid clashing with other mods โ€” pick whatever key suits you.
    • ๐Ÿ–ฑ๏ธ New button โ›จ Protect in the top-left of the pause menu (Esc), 70ร—16 to align with other admin-mod buttons (HeadRoles, etc.). Auto-detects neighbours and places itself after them โ€” never overlaps.
  • OP-gated: the button only appears for players with permission level 2+. The packet handler validates again server-side, so a modified client can't bypass it.
  • Hot-reload: every option except crafting recipes applies instantly, no restart. Radii, tier toggles, anti-bypass, bot endpoint, audit log โ€” all live. The only field with a "โš  Requires /reload" badge is enableProtectionBlockRecipes, because Forge only refreshes recipes at data-manager startup.
  • Range validation client- AND server-side: out-of-range values get clamped, and the server replies with the real applied state.

๐Ÿ†• Item tooltips on hover

Hover any protection block in your inventory, hotbar, creative tab or recipe book and the tooltip now shows:

  • Radius in blocks (pastel mint โ€” #A8E6CF)
  • Full protected area: side ร— side ร— side + total volume in blocks (pastel sky โ€” #AED6F1)

The values are read from the live config on every render, so if an admin tweaks basicProtectionRadius in the new GUI, every player's tooltip updates instantly without restarting their client.


๐ŸŒ Languages

Everything new is fully translated to the 5 mod languages:

  • ๐Ÿ‡ช๐Ÿ‡ธ Spanish
  • ๐Ÿ‡ฌ๐Ÿ‡ง English
  • ๐Ÿ‡ฉ๐Ÿ‡ช German
  • ๐Ÿ‡ซ๐Ÿ‡ท French
  • ๐Ÿ‡ฎ๐Ÿ‡น Italian

๐Ÿ”ง Under the hood

  • 3 new network packets for the config flow: RequestConfigPacket, SyncConfigPacket, UpdateConfigPacket. The snapshot POJO (ConfigSnapshot) is the single source of truth for adding new options โ€” one field, one widget.
  • ItemTooltipEvent client-side handler with no caching, so config changes propagate instantly.
  • Keybind registration moved to the correct event bus (Forge MOD bus, not FORGE bus โ€” was a silent no-op in a beta build, fixed before release).

๐Ÿ“ฆ Compatibility

  • Minecraft 1.20.1
  • Forge 47.x
  • Client & Server

ยฉ 2026 Vicxelcode โ€” MIT License

This mod has no additional files