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
keepInventorydisabled, 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
| Command | Permission | Description |
|---|---|---|
/mace | Operators | Shows whether the Mace exists, who is holding it and where, and warns if more than one Mace is found. |
/mace reload | Operators | Reloads 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.
| Option | Default | What it does |
|---|---|---|
oneMacePerServer | true | Only one Mace can be crafted at a time. |
allowContainerStorage | false | Allow the Mace in chests, barrels, shulker boxes, hoppers, ender chests, item frames, etc. |
allowBundleStorage | false | Allow the Mace in bundles. |
allowDropping | false | Allow players to drop the Mace. |
glowing | true | The holder glows while carrying the Mace. |
keepOnNaturalDeath | true | The Mace comes back on respawn after a fall, mob, lava, void or /kill death. false = it drops. |
transferToKiller | true | The killer receives the Mace when a player kills the holder. false = it drops. |
announcements | true | Show the boss bar announcements. |
announcementSeconds | 5 | How long each announcement stays on screen (1 to 60). |
Notes
- The
/macecontainer 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.datand restart to allow crafting a new one. - If
allowContainerStorageorallowBundleStorageis on, the mod can't track a stored Mace, so/clearno 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