
One Mace Datapack
This is a version of the popular One Mace plugin/mod concept, except built for vanilla.
This is a datapack form of the one mace concept. It can be installed for vanilla, paper, fabric, and more, both worlds and servers. When the mace is crafted, the player who made it will be revealed in a chat message (See gallery)
Another feature allows operators to increase the maximum amount of maces, using the command /scoreboard players set MaxMaces MaceHasCrafted <amount>. Setting this to zero will prevent maces from being crafted at all. AT THE PRESENT MOMENT THIS IS NOT FUNCTIONING CORRECTLY. WILL BE PATCHED IN FUTURE UPDATE
Unfortunately, due to datapack limitations, it doesn't reset automatically. To reset it, type the command /function onemace:reset as an operator. Additionally, storage of the mace is not yet prevented.
The datapack has only been tested on 1.21.11, but should work for any version post 1.21.5, and potentially prior to that.
To Do list
- Make it reset (if possible)
- Prevent storing of the mace
