One Mace Only

One Mace per server. It can't be dropped, stored in containers or hidden in bundles, its holder glows for everyone to see, and it transfers to their killer in PvP. Natural deaths never lose it. Fully configurable.

One Mace Only

One Mace Only is a lightweight Fabric mod designed for SMPs and competitive servers that turns the Mace into a unique, high-stakes weapon that can never be hidden, stashed, or lost on the ground. Every rule below can be changed in the config file.

Features & Mechanics

  • One Mace Per Server: The first player to craft the Mace claims it. While it exists, nobody else can craft another one, in a crafting table, the 2x2 grid, or an autocrafter. If the Mace is ever destroyed, it can be crafted again.
  • Undroppable & Unstashable: Players cannot manually drop the Mace (Q / Ctrl+Q), toss it out of their inventory screen, or place it into containers (such as chests, barrels, shulker boxes, hoppers, or Ender Chests). It also can't be hidden inside a bundle, an item frame, a decorated pot, or anything else, so nobody can hide or hoard it.
  • Infinite Glowing Effect: Whoever holds the Mace receives a permanent Glowing effect so everyone can track them indefinitely, until they lose it in PvP and the Mace transfers to someone else.
  • Protected on Non-Player Deaths: Even with keepInventory disabled, dying to mobs, fall damage, lava, or the void will never drop or destroy the Mace. It is safely held and restored to your inventory as soon as you respawn.
  • Direct PvP Transfer: When a player is killed by another player, the Mace never touches the ground; it transfers straight into the killer's inventory along with the Glowing effect.
  • Server-Wide Boss Bar Announcements: Displays a small boss bar announcement at the top of the screen to the entire server whenever someone crafts or obtains the Mace, picks it up, takes it from another player, or when it gets destroyed or deleted (for example with /clear).

Commands

CommandPermissionDescription
/maceOperatorsShows whether the Mace exists, who is holding it and where, and warns if more than one Mace is found.
/mace reloadOperatorsReloads the config file without restarting the server.

/mace lists:

  • Players holding the Mace, with their coordinates and dimension.
  • Any Mace lying on the ground, with its location.
  • Any Mace stored in a chest, barrel, hopper, shulker box, furnace or a minecart with a chest or hopper, with its location.
  • A warning if there are multiple Maces.

The result is only shown to the operator who runs the command.

Configuration

A config file is created at config/singlemace.json the first time the server starts. Every option has a comment above it explaining what it does. After editing, run /mace reload or restart the server.

OptionDefaultWhat it does
oneMacePerServertrueOnly one Mace can be crafted at a time.
allowContainerStoragefalseAllow the Mace in chests, barrels, shulker boxes, hoppers, ender chests, item frames, etc.
allowBundleStoragefalseAllow the Mace in bundles.
allowDroppingfalseAllow players to drop the Mace.
glowingtrueThe holder glows while carrying the Mace.
keepOnNaturalDeathtrueThe Mace comes back on respawn after a fall, mob, lava, void or /kill death. false = it drops.
transferToKillertrueThe killer receives the Mace when a player kills the holder. false = it drops.
announcementstrueShow the boss bar announcements.
announcementSeconds5How long each announcement stays on screen (1 to 60).

Notes

  • The /mace container scan covers chunks loaded around online players. Maces in unloaded chunks won't show up.
  • If the server restarts while a Mace holder is on the death screen after a natural death, that Mace is lost. Delete world/data/singlemace.dat and restart to allow crafting a new one.
  • If allowContainerStorage or allowBundleStorage is on, the mod can't track a stored Mace, so /clear no longer resets the lock.
  • In creative mode, the "Mace destroyed" check is paused for the holder, because the server can't see an item held on the creative cursor.

Requirements

  • Minecraft: 26.3
  • Mod Loader: Fabric

One Mace Only Team

profile avatar
Owner
  • 1
    Projects
  • 7
    Downloads