
EssentialsBMC
Create a Server-Side Fabric Mod (1.21.1 Java) named "EssentialsBMC" (ID: essentials_bmc). Directives: NO client assets/mixins. Use Fabric API, Permissions...
00—fabricServer1.21.1mod
EssentialsBMC Summary
EssentialsBMC is a server-side Fabric mod (1.21.1) that delivers essentials-style utilities with permission checks and JSON-backed storage. The Fabric Permissions API is bundled in the jar, so no extra mods are required.
- Storage & Config: Data lives under
config/essentials_bmc/(homes.json,warps.json,spawn.json,joined.json,announcer.json,config.json). Files are created with defaults on first run. - Teleports:
/spawn&/setspawn,/back(last death),/rtpwith border buffer and solid-ground checks, warps (/warp,/setwarp,/delwarp), homes with tiered limits (/home,/sethome,/delhome), and TPA flow (/tpa,/tpaccept,/tpdenywith 60s expiry). - Player tools: Private messages (
/msg,/r), trash GUI (/trash), hat swap, clear inventory, night vision (/luz), nicknames, item repair (single/all), and inventory inspection (/invsee9x6 view). - Admin & buffs: Flight toggle, god mode, heal/feed, speed scaling, and hunger/night-vision helpers. Damage is blocked for players with god enabled.
- World utilities: First-join auto-teleport to spawn with a welcome note, auto-announcer cycling chat/actionbar/title/bossbar messages (bossbar hides after 10s), random teleport chooses safe ground, and passive main/offhand repair for players with the
essentialsbmc.passive.autorepairpermission (interval fromconfig.json, default 5 minutes). - Permissions: Every command registers permission nodes (see
PermissionNodesin code). Home limits honoressentialsbmc.home.limit.admin/vip/memberwith a default of 1 home when no tier is granted.
Use the JSON files to pre-seed homes/warps/spawn or adjust announcer messages/intervals and the passive repair interval. Everything runs server-side with no client assets or mixins.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.