UltimateMaceControl

UltimateMaceControl

Ultimate mace handling plugin with two modes - single mace or multiple mace but no enchant.......

2 218 downloads
1 followers

**

๐Ÿ“– Description

MaceLimiter is a powerful and highly configurable Minecraft plugin designed to balance the Mace weapon introduced in Minecraft 1.21. The Mace's devastating smash attack and unique mechanics can break PvP balance on competitive servers, especially LifeSteal, Factions, and hardcore PvP environments.

This plugin offers two distinct balancing modes to fit your server's playstyle:

๐Ÿ—ก๏ธ Mode 1: SINGLE_MACE (The Highlander Rule)

"There can be only one."

Only ONE Mace can exist on the entire server at any time. This creates an intense dynamic where the Mace becomes a legendary trophy that players fight over. When destroyed, the recipe becomes available again for a new challenger to claim.

โš”๏ธ Mode 2: UNLIMITED_NO_ENCHANT (The Nerf)

"Power without enhancement."

Players can craft unlimited Maces, but they cannot be enchanted. No Density, no Breach, no Mending. This keeps the Mace usable but prevents it from becoming an unstoppable force when combined with powerful enchantments.


โœจ Key Features

๐ŸŽฏ Core Features

Feature Description
Dual Mode System Choose between Single Mace or Unlimited No-Enchant modes
Persistent State Mace ownership and state survive server restarts
Offline Tracking Tracks Mace when owner logs out, prevents crafting exploits
Destruction Detection Detects Mace loss via Lava, Void, Fire, Cactus, Despawn, Explosions
Auto Recipe Toggle Recipe auto-enables when Mace is destroyed (Mode 1)
13 Languages Full localization support with customizable messages

๐Ÿ”’ Mode 1: SINGLE_MACE Features

Feature Description
One Mace Limit Only one Mace can exist server-wide
Crafting Control Recipe disabled when Mace exists
Ownership Tracking Tracks current Mace holder with UUID
Container Restrictions Mace cannot be stored in chests, barrels, shulkers, hoppers
Allowed Containers Configurable exceptions (Anvil, Smithing Table, Grindstone)
Item Frame Block Prevents displaying Mace in item frames
Armor Stand Block Prevents placing Mace on armor stands
Hopper Protection Blocks hopper/dropper movement of Mace
Colored Name Mace holder gets colored display name
Locate Command Find current Mace holder or location
Death Drop Alerts Broadcasts when Mace holder dies
Transfer Tracking Announces ownership changes

โš”๏ธ Mode 2: UNLIMITED_NO_ENCHANT Features

Feature Description
Unlimited Crafting No restrictions on Mace crafting
Enchanting Blocked Cannot enchant at Enchanting Table
Anvil Blocked Cannot add enchanted books via Anvil
Combining Blocked Cannot combine enchanted items with Mace
Smithing Allowed Can still upgrade to Netherite (if applicable)
Free Storage No container restrictions in this mode
Enchant Removal Auto-strips enchants if Mace somehow gets enchanted

๐ŸŽฎ Use Cases

1. LifeSteal Servers The Mace's massive damage output can one-shot players, stealing hearts instantly. MaceLimiter prevents this from becoming server-breaking:

  • Mode 1: Only one player can wield this power at a time
  • Mode 2: Mace stays useful but not OP without enchants

2. Factions / Raiding Servers Prevent faction leaders from hoarding multiple enchanted Maces:

  • Container restrictions prevent vault storage
  • Single Mace creates faction wars over the weapon
  • Destruction detection resets the playing field

3. Hardcore PvP Servers Balance competitive PvP without removing the Mace entirely:

  • Keep the unique smash attack mechanic
  • Remove enchantment stacking abuse
  • Create legendary weapon dynamics

4. SMP / Semi-Vanilla Servers Add excitement without heavy modification:

  • Single Mace becomes a server-wide event
  • Players hunt for the Mace holder
  • Natural balancing through scarcity

5. Event Servers Perfect for special events and competitions:

  • "Hunt the Mace Holder" events
  • Last player standing with Mace wins
  • Timed Mace challenges

๐Ÿ“Š Mode Comparison Chart

Feature Mode 1: SINGLE_MACE Mode 2: UNLIMITED_NO_ENCHANT
Maces Allowed 1 โˆž Unlimited
Crafting Limit โœ… Yes โŒ No
Enchanting โœ… Allowed โŒ Blocked
Anvil Use โœ… Allowed โš ๏ธ Repair Only
Chest Storage โŒ Blocked โœ… Allowed
Shulker Storage โŒ Blocked โœ… Allowed
Hopper Movement โŒ Blocked โœ… Allowed
Item Frames โŒ Blocked โœ… Allowed
Ownership Tracking โœ… Yes โŒ No
Offline Protection โœ… Yes โŒ No
Colored Names โœ… Optional โŒ N/A
Locate Command โœ… Full โŒ N/A
Destruction Alerts โœ… Yes โŒ No
Death Broadcasts โœ… Yes โŒ No

๐Ÿ› ๏ธ Commands

Command Description Permission
/macelimiter help Show help menu Everyone
/macelimiter info Display plugin info and status macelimiter.info
/macelimiter locate Find Mace holder/location macelimiter.locate
/macelimiter reload Reload configuration macelimiter.admin
/macelimiter reset Reset Mace state (re-enable crafting) macelimiter.admin
/macelimiter status Show detailed debug status macelimiter.admin
/macelimiter setowner <player> Manually set Mace owner macelimiter.admin
/macelimiter forcereset Force reset all state macelimiter.admin

Aliases: /mace, /ml, /macel


๐Ÿ” Permissions

Permission Description Default
macelimiter.* All permissions OP
macelimiter.admin Admin commands (reload, reset, etc.) OP
macelimiter.locate Use /macelimiter locate Everyone
macelimiter.info Use /macelimiter info Everyone
macelimiter.bypass Bypass container restrictions False
macelimiter.craft Permission to craft Mace Everyone
macelimiter.notify Receive Mace event broadcasts Everyone

๐ŸŒ Supported Languages

Code Language Status
en_US English (US) โœ… Complete
es_ES Spanish (Spain) โœ… Template
de_DE German โœ… Template
fr_FR French โœ… Template
pt_BR Portuguese (Brazil) โœ… Template
zh_CN Chinese Simplified โœ… Template
ja_JP Japanese โœ… Template
ko_KR Korean โœ… Template
ru_RU Russian โœ… Template
it_IT Italian โœ… Template
pl_PL Polish โœ… Template
nl_NL Dutch โœ… Template
tr_TR Turkish โœ… Template

Templates are auto-generated in English. Community translations welcome!


โš™๏ธ Configuration Overview

settings:
  Mode: SINGLE_MACE or UNLIMITED_NO_ENCHANT
  plugin-mode: "SINGLE_MACE"
  
   Mode 1 Settings
  mace-crafted: false           Internal tracking
  mace-owner: null              Current owner UUID
  announce-mace-events: true    Broadcast events
  allow-locate-for-all: false   Public locate command
  colored-name: true            Color Mace holder's name
  mace-name-color: "RED"        Name color choice
  
   Allowed containers for Mace (Mode 1 only)
  allowed-containers:
    - ANVIL
    - SMITHING_TABLE
    - GRINDSTONE
    - ENCHANTING_TABLE

 Language selection
language: "en_US"

๐Ÿ“ฆ Installation

Requirements

  • Minecraft Server: Paper 1.21+ (or Spigot/Purpur)
  • Java: 21 or higher

Steps

  1. Download the MaceLimiter.jar file
  2. Stop your server
  3. Place the JAR in your plugins folder
  4. Start your server
  5. Configure in plugins/MaceLimiter/config.yml
  6. Reload with /macelimiter reload

๐Ÿ”„ How It Works

Mode 1 Workflow (SINGLE_MACE)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    SERVER STARTS                            โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚                         โ–ผ                                   โ”‚
โ”‚              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                        โ”‚
โ”‚              โ”‚  mace-crafted: false โ”‚                       โ”‚
โ”‚              โ”‚  Recipe: ENABLED     โ”‚                       โ”‚
โ”‚              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                        โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚                         โ–ผ                                   โ”‚
โ”‚              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                        โ”‚
โ”‚              โ”‚  Player Crafts Mace โ”‚                        โ”‚
โ”‚              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                        โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚                         โ–ผ                                   โ”‚
โ”‚              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                        โ”‚
โ”‚              โ”‚  mace-crafted: true  โ”‚                       โ”‚
โ”‚              โ”‚  mace-owner: UUID    โ”‚                       โ”‚
โ”‚              โ”‚  Recipe: DISABLED    โ”‚                       โ”‚
โ”‚              โ”‚  Broadcast: Crafted  โ”‚                       โ”‚
โ”‚              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                        โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                   โ”‚
โ”‚         โ–ผ               โ–ผ               โ–ผ                   โ”‚
โ”‚    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚    โ”‚ Player  โ”‚    โ”‚  Player  โ”‚    โ”‚   Mace    โ”‚            โ”‚
โ”‚    โ”‚ Logs Outโ”‚    โ”‚  Dies    โ”‚    โ”‚ Destroyed โ”‚            โ”‚
โ”‚    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ”‚         โ”‚              โ”‚                โ”‚                   โ”‚
โ”‚         โ–ผ              โ–ผ                โ–ผ                   โ”‚
โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚   โ”‚  Offline  โ”‚  โ”‚   Mace    โ”‚   โ”‚   Reset    โ”‚            โ”‚
โ”‚   โ”‚ Tracking  โ”‚  โ”‚  Dropped  โ”‚   โ”‚   State    โ”‚            โ”‚
โ”‚   โ”‚  Active   โ”‚  โ”‚ Broadcast โ”‚   โ”‚  Recipe ON โ”‚            โ”‚
โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ”‚                                                             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Mode 2 Workflow (UNLIMITED_NO_ENCHANT)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    SERVER STARTS                            โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚                         โ–ผ                                   โ”‚
โ”‚              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                        โ”‚
โ”‚              โ”‚  Crafting: ALLOWED   โ”‚                       โ”‚
โ”‚              โ”‚  Enchanting: BLOCKED โ”‚                       โ”‚
โ”‚              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                        โ”‚
โ”‚                         โ”‚                                   โ”‚
โ”‚         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                   โ”‚
โ”‚         โ–ผ               โ–ผ               โ–ผ                   โ”‚
โ”‚    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
โ”‚    โ”‚ Player  โ”‚    โ”‚  Player  โ”‚    โ”‚  Player   โ”‚            โ”‚
โ”‚    โ”‚Crafts 1โ”‚    โ”‚Crafts 2 โ”‚    โ”‚ Crafts N โ”‚            โ”‚
โ”‚    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
โ”‚         โ”‚              โ”‚                โ”‚                   โ”‚
โ”‚         โ–ผ              โ–ผ                โ–ผ                   โ”‚
โ”‚    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”             โ”‚
โ”‚    โ”‚           ALL ATTEMPTS TO              โ”‚             โ”‚
โ”‚    โ”‚          ENCHANT = BLOCKED             โ”‚             โ”‚
โ”‚    โ”‚   โ€ข Enchanting Table โŒ                 โ”‚             โ”‚
โ”‚    โ”‚   โ€ข Anvil + Books โŒ                    โ”‚             โ”‚
โ”‚    โ”‚   โ€ข Combining โŒ                        โ”‚             โ”‚
โ”‚    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜             โ”‚
โ”‚                                                             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽจ Broadcast Messages Preview

Mace Crafted

[MaceLimiter] Steve has crafted the legendary Mace! There can be only one.

Mace Destroyed (Lava)

[MaceLimiter] โš  Steve's Mace has been DESTROYED by Lava!
[MaceLimiter] โœ“ The Mace recipe has been RE-ENABLED! Craft it while you can!

Mace Holder Death

[MaceLimiter] Steve has fallen in battle! The Mace has been dropped!

Mace Transfer

[MaceLimiter] The Mace has been transferred to Alex!

๐Ÿ”ง Advanced Configuration

Destruction Methods Detected

Method Detection Auto-Reset
Lava โœ… Yes โœ… Yes
Fire โœ… Yes โœ… Yes
Void โœ… Yes โœ… Yes
Cactus โœ… Yes โœ… Yes
Explosion โœ… Yes โœ… Yes
Despawn โœ… Yes โœ… Yes

Container Restrictions (Mode 1)

Container Default Configurable
Chest โŒ Blocked No
Barrel โŒ Blocked No
Shulker Box โŒ Blocked No
Ender Chest โŒ Blocked No
Hopper โŒ Blocked No
Dropper โŒ Blocked No
Dispenser โŒ Blocked No
Item Frame โŒ Blocked No
Armor Stand โŒ Blocked No
Anvil โœ… Allowed Yes
Smithing Table โœ… Allowed Yes
Grindstone โœ… Allowed Yes
Player Inventory โœ… Allowed Always

๐Ÿ“‹ Plugin Overview

Property Details
Name MaceLimiter
Version 1.0.0
Minecraft Versions 1.21.1 - 1.21.11
Server Software Paper, Spigot, Purpur
Category PvP Balance, Game Mechanics, Weapons
Price Free / Open Source

โ“ FAQ

Q: Does this work with Netherite upgrades?

Yes! In both modes, players can use the Smithing Table to upgrade the Mace (if Minecraft adds this feature). The Smithing Table is allowed by default.

Q: What happens if the Mace owner logs out?

In Mode 1, the plugin tracks the Mace in "offline inventory." No one can craft a new Mace until the owner returns or the Mace is destroyed.

Q: Can players bypass restrictions with creative mode?

By default, no. However, players with the macelimiter.bypass permission can bypass container restrictions.

Q: Does this affect existing Maces?

Yes. When switching to Mode 2, any existing enchanted Maces will have enchantments removed when interacted with.

Q: What if the Mace is in an unloaded chunk?

The plugin tracks ownership by UUID. The Mace state persists even if the chunk is unloaded. When loaded again, tracking continues.

Q: Can I have multiple Maces in Mode 1?

No, that's the entire point! Only ONE Mace can exist. To reset, use /macelimiter reset or wait for the Mace to be destroyed.

Q: Does this work with McMMO or other skill plugins?

Yes! MaceLimiter only affects crafting, enchanting, and storage. Combat mechanics from other plugins are unaffected.


๐Ÿ› Troubleshooting

Issue Solution
Mace can still be crafted Check mace-crafted in config, run /macelimiter reset
Messages not showing Check language setting, verify lang file exists
Container restrictions not working Verify plugin-mode is SINGLE_MACE
Enchanting not blocked Verify plugin-mode is UNLIMITED_NO_ENCHANT
Colored names not applying Enable colored-name: true in config
Commands not working Check permissions, use /macelimiter help

๐Ÿ“ˆ Performance

Metric Impact
Memory Usage Minimal (~1-2 MB)
CPU Impact Negligible
Event Listeners Optimized with early returns
Config Saves Async where possible
Startup Time < 100ms

๐Ÿ“ Changelog

v1.0.0 (Initial Release)

  • โœ… Dual mode system (SINGLE_MACE / UNLIMITED_NO_ENCHANT)
  • โœ… Complete container restrictions for Mode 1
  • โœ… Enchantment blocking for Mode 2
  • โœ… Offline player tracking
  • โœ… Destruction detection (6 methods)
  • โœ… 13 language support
  • โœ… Colored name cosmetics
  • โœ… Full command suite with tab completion
  • โœ… Persistent state across restarts

Thank you for using MaceLimiter! ๐Ÿ—ก๏ธ

Balance the Mace. Balance the Game. โš”๏ธ**

No gallery available for this project.