Перейти к содержимому
Mineforgian

LimitedMaces

This plugin limits the number of maces on a server!

Загрузки
5K
Подписчики
9
Обновлён
8 апреля 2026 г.
Лицензия
MIT

Опубликован 16 декабря 2025 г.

LimitedMaces

LimitedMaces is a lightweight server-side plugin that gives server owners full control over how many Maces can exist on the server at any given time. Perfect for hardcore, SMP, or special-event servers where powerful items should stay rare and meaningful.

💡 Want a one-mace server like the Lifesteal SMP? Just set the mace limit to 1!


Features

  • Global Mace Limit
    Set a hard cap on how many maces may exist across the entire server.

  • Container Restrictions
    Maces cannot be placed into:

    • Chests
    • Barrels
    • Shulker Boxes
    • Any other container

    Hoppers cannot pick up maces.

  • Crafting Control

    • The mace crafting recipe is disabled automatically once the limit is reached
    • Autocrafters cannot craft maces
    • Global messages are sent out about mace status changes (discord webhook feature coming soon!!!)
  • Destruction Handling

    • When a mace is destroyed:
      • A server-wide broadcast is sent
      • A new mace can be crafted again (until the limit is reached)
  • Illegal Mace Cleanup

    • Untracked or duplicated maces are automatically removed
  • Optional Enchanting

    • Control whether maces can be enchanted
    • When allow-mace-enchanting is true, maces can be placed into Enchanting Tables and Anvils
    • When false, maces cannot be placed into enchant tables or anvils, making them completely unenchantable

Commands

Command Permission Description
/maces limitedmaces.use View tracked maces
/maces reload limitedmaces.reload Reload the config
/maces setlimit <n> limitedmaces.setlimit Set the mace limit
/maces enchanting <on|off> limitedmaces.enchanting Enable/disable mace enchanting
/getuntrackedmace limitedmaces.getuntracked Get an untracked mace (bypasses limit)
/clearuntrackedmaces limitedmaces.clearuntracked Clear all untracked maces
/removemace <id> limitedmaces.remove Remove a mace from the plugin and world

Configuration

Configuration file is located at: plugins/LimitedMaces/config.yml

Data file is located at: plugins/LimitedMaces/maces.yml. DO NOT TOUCH THIS UNLESS YOU KNOW WHAT YOU ARE DOING.

Default / Example config.yml

version: 1.1.4

# Maximum number of maces allowed on the server
allowed-maces: 3

# Whether maces can be enchanted
# If false, maces cannot be placed into enchant tables or anvils
allow-mace-enchanting: true

messages:
  prefix: "&6[LimitedMaces]&r "
  crafted-broadcast: "&a%player% &7crafted &f%amount%&7 mace(s)! &7(%current%/%max%)"
  destroyed-broadcast: "&cA mace was destroyed! &7(last held by &f%lastHolder%&7) &7(%current%/%max%)"
  containers-blocked: "&cYou can't put the mace in any container."
  limit-reached: "&cMace limit reached. A mace must be destroyed before another can be crafted."
  illegal-removed: "&cAn illegal/untracked mace was removed."
  reload: "&aLimitedMaces config reloaded."
  no-permission: "&cYou don't have permission."

Migration from MultiMace

If you're upgrading from an older version (1.1.3 or earlier) that used the "MultiMace" name:

  1. The plugin will automatically detect the old plugins/MultiMace/ folder
  2. Config and data will be migrated to the new plugins/LimitedMaces/ folder
  3. The old folder will be deleted after successful migration
  4. Prefix "MultiMace" will be updated to "LimitedMaces". If you set a custom prefix, this may override that.

If this is not automatically done or you face issues with this process, feel free to join our Discord and open a ticket. Link is in the sidebar.


Compatibility

  • Minecraft 1.21.x
  • Designed to be lightweight and efficient
  • No dependencies required

Ченджлог

1.1.5Релиз1.21.9, 1.21.10, 1.21.11 · 8 апреля 2026 г.

Version 1.1.5

  • New config option: block-container-storage - When set to true (default), prevents maces from being stored in containers. Set to false to allow storing maces in chests, hoppers, etc.
  • Config auto-update: Existing configs will automatically receive the new option when upgrading
1.1.4Релиз1.21.9, 1.21.10, 1.21.11 · 11 марта 2026 г.

Changelog

Version 1.1.4

  • Renamed plugin files, config, and commands from "MultiMace" to "LimitedMaces" to match Modrinth name
  • New folder structure: Config and data files now stored directly in plugins/LimitedMaces/ instead of subfolders
    • config.yml is now at plugins/LimitedMaces/config.yml
    • maces.yml is now at plugins/LimitedMaces/maces.yml
  • New commands:
    • /maces setlimit <n> - Change the mace limit in-game
    • /maces enchanting <on|off> - Toggle mace enchanting in-game
    • /removemace <id> - Remove a specific mace from the plugin (also removes item from players, containers, and dropped items)
  • New permissions:
    • limitedmaces.setlimit - Permission to change mace limit
    • limitedmaces.enchanting - Permission to toggle enchanting
    • limitedmaces.remove - Permission to remove maces
  • Automatic migration: Servers upgrading from 1.1.3 or earlier will have their config and data automatically migrated from the old MultiMace folder
  • All permissions renamed from multimace.* to limitedmaces.*
1.1.3Релиз1.21.9, 1.21.10, 1.21.11 · 17 декабря 2025 г.

Changelog

Version 1.1.3

  • Fixed bug where grindstones can not be used to disenchant the mace when enchants are allowed.
1.1.2Релиз1.21.9, 1.21.10, 1.21.11 · 17 декабря 2025 г.

Changelog

Version 1.1.2

  • Patched bug with /maces where you can see the mace holder's coordinates.
1.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 16 декабря 2025 г.

Changelog

Version 1.1.1

New Features

  • Added detection for maces destroyed via /kill command or other forced removals
  • Maces can no longer be taken from the creative menu item list - they must be crafted to prevent certain bugs
  • Added /getuntrackedmace command to give yourself an untracked mace that bypasses the mace limit
  • Added /clearuntrackedmaces command to remove all untracked maces from the server

Technical Changes

  • Improved item removal detection to distinguish between pickups, natural despawns, and forced removals
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 16 декабря 2025 г.

Added configuration option to allow maces to be enchantable. Defaults to true. Turning this False prevents users from putting the mace into an anvil or crafting table.

This also fixes the bug where maces could not be put into anvils or enchantment tables.

1.0Релиз1.21.9, 1.21.10, 1.21.11 · 16 декабря 2025 г.

First Version of the plugin.

Комментарии

Загружаем…