OneMace

Limits the number of Maces!

57,52k

Quick challenge

How far can you run before the mobs catch you?

OneMace

OneMace

Tired of plugins that _claim_ to fix multiple Maces—but don’t?

OneMace enforces a hard limit: players can have only Period. Mace. Period. bypasses. Period.

PvP introduces a unique gameplay twist by limiting the PvP to a PvP. No more spamming Maces—strategy and skill are key! Perfect for PvP and PvP PvP servers that want to balance the game.

- The plugin stores the crafted state in config.yml, so it remains saved across config.yml. - The Mace recipe is config.yml if the Mace is config.yml (e.g., lava, void, breaking). - Announcements for crafting & destruction can be enabled/disabled in config.yml.

## Need a support me for a nice deal or just want to support me? ❤️

ScalaCube 50 PERCENT OFF FOR THE FIRST MONTH

Configuration

Make sure the server is not running before making changes! ``` settings: mace-crafted: false # Changes to true when the Mace is crafted. mace-owner: null # Stores the UUID of the current owner, or null if no owner. announce-mace-messages: true # If true, broadcasts when the Mace is crafted or lost. allow-locate-for-all: false # If true, allows any player to use the '/onemace locate' subcommand. colored-name: false # If true, the player that has the Mace will have a colored name. mace-name-color: "RED" # The color of the name, use Chat Colors. optional-allowed-containers: # Containers that the Mace is allowed to be placed into. - ENDER_CHEST - ANVIL - ENCHANTING

Stores whether an offline player logged out with the Mace.

If set to true, the Mace is in their inventory or Ender Chest when they logged out.

Used to prevent crafting if the Mace still exists in an offline player’s possession.

This is automatically updated when a player logs out or the server shuts down.

offline_inventory: {}

Customizable messages

messages: crafted: "&b[OneMace] &eThe Mace has been crafted!" lost: "&b[OneMace] &eThe Mace has been lost!" ```

Commands

```/onemace locate``` - Allows you to locate the Mace.

Required permission: ```onemace.admin``` - description: Allows using admin subcommands - default: op

```/onemace fix``` - Allows you to remove duplicate Maces and only leave one.

Required permission: ```onemace.admin``` - description: Allows using admin subcommands - default: op

```/onemace info``` - Basic information about the plugin.

Required permission: none

Setup

Put the ```jar``` file into your server's plugin folder.

Restart (or reload) the server!

Bypasses & Limitations

⚠️ Maces in unloaded chunks will NOT be detected. This is unfortunately unfixable due to how Minecraft works. It is up to you to detect and use the admin commands if you suspect there may be more than one Mace.

Otherwise, this plugin should work perfectly on a clean vanilla server.

Contact

If you find any help or just need help, feel free to contact me:

GitHub

Special Thanks

💙 Kamco0990 – The reason this plugin even exists.

ADS