Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 5 weeks ago
Updated 22 days ago
Everything To Do With Maces ETDWM
Creator: neovimMan
Platform: Minecraft Java Edition 1.21.11 (Paper only)
Latest Version: 1.2.0
This is a plugin that modifies certain vanilla mace crafting / combat behaviors to fit your server's needs.
Report any and all bugs/issues to: https://github.com/neovimman/Everything-To-Do-With-Maces-ETDWM/issues
Behavior 1: Mace Limiter
What it does: Limits the total number of maces allowed on the server
Caps all maces server-wide at a configured maximum- The configured limit applies to the whole server. Every craft is announced to the server. Crafter block crafts are announced as
An auto-crafter. The player who crafts the final mace receives a separate announcement. - Use
/etdwm infoto compare the active count with the number of maces that actually exist, and/etdwm resetto clear entries and delete every mace.
- The configured limit applies to the whole server. Every craft is announced to the server. Crafter block crafts are announced as
Behavior 2: Player Damage Limiter
What it does: Caps the damage a mace can deal to another player
Limits mace damage against players to a configured value- Values from
1.0damage (half a heart) to100.0damage (50 hearts). - Only PVP hits with a mace is capped; damage to mobs, and hits with other weapons are normal.
- Values from
Behavior 3: Mace Cooldown
What it does: Adds a cooldown between mace hits against players
Cancels mace hits that land inside the configured cooldown and shows the remaining time in the hotbar- Accepts a duration in ticks (
20) or minutes and seconds (1:00). Values are clamped to the valid range. - Enabled by default with a
1:00cooldown.
- Accepts a duration in ticks (
Behavior 4: Enchant Limiter
What it does: Caps the level of each enchantment allowed on a mace
Reduces any mace enchantment above its configured level to that level- Set an enchantment's limit to
0to remove it entirely. Density, Breach, and Wind Burst follow the same rule.
- Set an enchantment's limit to
Behavior 5: Enchant Disabler
What it does: Completely disables enchantments on maces
Cancels enchanting maces, blocks enchanted anvil results, and strips existing enchantments from maces- No mace enchantment is allowed at all, regardless of level.
- Disabled by default. If both Behavior 4 and Behavior 5 are enabled, Behavior 5 takes precedence because every enchantment is removed.
config.yml
# ============================================================================
# Everything To Do With Maces — config.yml
# Creator: neovimMan
# Platform: Minecraft Java Edition 1.21.11 (Paper only)
#
# Reload changes at runtime with: /etdwm reload
# Show the loaded settings with: /etdwm info
# Reset maces with: /etdwm reset
#
# This plugin limits maces and modifies their crafting and combat behavior.
# It is a server-side plugin: install it on the server only, and vanilla
# clients can connect normally. Mace UUIDs are stored in data.yml at
# plugins/EverythingToDoWithMaces/data.yml.
#
# ============================================================================
# ----------------------------------------------------------------------------
# MACE DETECTION (used by all behaviors)
# ----------------------------------------------------------------------------
# Every `minecraft:mace` item counts, however it was obtained: crafted,
# existing before the plugin was installed, or created from the creative
# menu, commands, loot, or another plugin.
#
# Each mace is assigned a UUID and recorded in data.yml, so the count survives
# restarts. Registry changes are saved immediately.
#
# Notes:
# - Maces in unloaded chunks or offline player data cannot be reached by
# /etdwm reset; they are adopted again the next time they load, so re-run
# the command after visiting those areas if needed.
# - If a mace's UUID is removed by an external tool or command, the item
# becomes untracked and its registry entry is not freed automatically. The
# plugin adopts the item again the next time it encounters it.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# BEHAVIOR 1: Mace Limiter
# Caps the total number of maces allowed on the server, including maces that
# already exist and maces obtained outside of crafting.
# ----------------------------------------------------------------------------
behavior-1-mace-limiter:
enabled: true
# Server-wide limit on all maces (minimum 1). New crafts are blocked while
# the active count is at or above this limit. If existing maces already
# exceed the limit, they are all kept and new crafts stay blocked until
# enough maces are destroyed; the plugin never deletes one.
# Default: 1.
max-maces: 1
# Broadcast when a mace is crafted.
# Placeholders: {player}, {count}, {remaining}
craft-announcement: "&6{player} &7has crafted mace &6{count}&7, only &6{remaining} &7remain!"
# Broadcast when the final available mace is crafted.
# Placeholder: {player}
final-craft-announcement: "&6{player} &7has crafted the final mace!"
# ----------------------------------------------------------------------------
# BEHAVIOR 2: Player Damage Limiter
# Caps the damage a mace can deal to another player.
#
# Only PVP hits with a mace in the attacker's main hand are capped. Damage to
# mobs, and hits with other weapons are untouched.
# ----------------------------------------------------------------------------
behavior-2-player-damage-limiter:
enabled: false
# Maximum damage per hit, from 1.0 (half a heart) to 100.0 (50 hearts).
# 1.0 = 0.5 in-game hearts. 12.0 = 6 hearts.
# Default: 12.0.
max-damage: 12.0
# ----------------------------------------------------------------------------
# BEHAVIOR 3: Mace Cooldown
# Cancels mace hits that land inside the configured cooldown and shows the
# remaining time on the mace in the hotbar.
#
# Only a mace in the main hand starts or obeys the cooldown. The display
# matches the cooldown used by ender pearls and wind charges.
# ----------------------------------------------------------------------------
behavior-3-mace-cooldown:
enabled: true
# Cooldown between mace hits against players. Format as mm:ss ("1:00") or a
# plain number of ticks ("1200"). Values must be positive; unparsable or
# non-positive values fall back to 1:00.
# Default: 1:00.
cooldown: "1:00"
# ----------------------------------------------------------------------------
# BEHAVIOR 4: Enchant Limiter
# Reduces any mace enchantment above its configured level to that level.
#
# Applies to every mace, tracked or not, when enchanting, using an anvil,
# picking up, dropping, swapping hands, interacting, attacking, moving items
# through inventories or hoppers, and during a periodic inventory sweep.
# ----------------------------------------------------------------------------
behavior-4-enchant-limiter:
enabled: false
# Map of enchantment key -> maximum level (0 or greater).
# A value of 0 removes the enchantment entirely.
# wind_burst is capped at level 3; higher values are clamped with a warning.
#
# To add a key to the map, remove the braces '{}', press 'enter' to add a line,
# press 'tab' to indent, then the enchantment key, a colon ':', and the level.
#
# Examples:
# enchant-limits:
# density: 4
# breach: 3
# wind_burst: 3
enchant-limits:
density: 4
breach: 3
wind_burst: 1
# ----------------------------------------------------------------------------
# BEHAVIOR 5: Enchant Disabler
# Cancels enchanting maces, blocks enchanted anvil results, and strips all
# enchantments from existing maces.
#
# This is stricter than Behavior 4: no mace enchantment is allowed at all,
# regardless of level. If both Behavior 4 and Behavior 5 are enabled,
# Behavior 5 takes precedence because every enchantment is removed.
# ----------------------------------------------------------------------------
behavior-5-enchant-disabler:
enabled: false
# Strips ALL enchantments from maces, including enchanted maces that already
# exist and maces found in player inventories, ender chests, open containers,
# and item entities. A periodic sweep catches anything that was missed.


