**
๐ **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**
```yaml
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. โ๏ธ*
Need a server to run MaceLimiter?
Get 24/7 high-performance hosting from reliable hosting for your community!
Click here to get started with KCB Hosting
