- Mace on SMP Join
- When a player joins the SMP for the first time, automatically give them a custom Mace.
- The Mace should have a unique custom name and custom texture/model.
- The Mace must not be removed when the player dies.
- The Mace must not despawn.
- The Mace should remain in the player's inventory or be safely returned after death.
- Mace Kill Upgrade System
When a player kills another player using the custom Mace:
- The killer's Mace gains 1 Upgrade Level.
- Display a message such as:
"⚔ MACE UPGRADED! Level 2"
- Play a custom upgrade sound and particle effect.
- The victim's Mace is NOT deleted.
- The victim's Mace is NOT banned.
- The victim keeps their own Mace and can continue playing.
- Custom Mace Levels
Example progression:
Level 1 — Starter Mace
Level 2 — Power Mace
- Increased attack power.
- Small Strength effect after a successful hit.
Level 3 — Thunder Mace
- Chance to summon lightning when hitting a player.
Level 4 — Shadow Mace
- Chance to give the enemy Slowness.
- Dark particle effects.
Level 5 — Vampire Mace
- Successful hits restore a small amount of the user's health.
Level 6 — Berserker Mace
- Temporary Speed and Strength after killing a player.
Level 7 — God Mace
- Powerful custom effects.
- Special particles.
- Custom kill animation/effect.
- Custom Name
Use a level-based name such as:
- "§6⚔ Mace of Power §7[Lv.1]"
- "§e⚡ Thunder Mace §7[Lv.3]"
- "§5☠ Shadow Mace §7[Lv.4]"
- "§c❤ Vampire Mace §7[Lv.5]"
- "§d✦ God Mace §7[Lv.7]"
The name should automatically update when the Mace levels up.
- Custom Texture / Model
Support Minecraft's modern CustomModelData / Item Model system.
Make the Mace visually different from the normal Minecraft Mace.
The plugin should allow different models for different levels:
"mace_level_1" "mace_level_2" "mace_level_3" "mace_level_4" "mace_level_5" "mace_level_6" "mace_level_7"
- Anti-Loss System
The custom Mace must NEVER be permanently lost because of PvP death.
If a player dies:
- Keep their Mace.
- Do not allow it to despawn.
- Do not allow another player to permanently take it.
- Restore the Mace automatically if necessary.
The victim's Mace level must remain unchanged.
- Kill Tracking
Track:
- Player kills
- Mace kills
- Current Mace level
- Mace owner
- Upgrade progress
Store player data so it survives server restarts.
Use a persistent database/file such as:
"players.yml"
Example:
players:
PlayerName: mace-level: 5 mace-kills: 12
- Commands
Add:
"/mace"
- Shows the player's current Mace level and abilities.
"/mace give <player>"
"/mace level <player> <level>"
- Changes a player's Mace level.
"/mace reload"
- Reloads the configuration.
"/mace stats"
- Permissions
mace.admin mace.give mace.level mace.reload mace.stats
- Configuration
Create a fully configurable "config.yml" where the server owner can change:
- Mace names
- Mace levels
- Kill requirements
- Abilities
- Damage
- Potion effects
- Ability chances
- Cooldowns
- Particles
- Sounds
- Messages
- Custom model data
- Anti-loss settings
Example:
mace: starter-level: 1 upgrade-per-kill: 1 max-level: 10
anti-loss: enabled: true keep-on-death: true prevent-despawn: true
abilities: thunder: enabled: true chance: 25 cooldown: 10
vampire: enabled: true heal: 2.0
- Important PvP Rule
Only a kill made using the custom Mace should count toward a Mace upgrade.
If the player kills someone with:
- Sword
- Bow
- Axe
- Other weapon
- Fall damage
- Lava
- Any other method
the Mace should NOT upgrade.
- Compatibility
Build the plugin for modern Paper Minecraft servers.
Target:
- Minecraft 1.21.x+
- Paper API
- Java 21+
Use Adventure API for modern messages and effects.
Plugin Goal
The final result should feel like a custom Mace Upgrade SMP system where every player receives a special Mace, PvP kills upgrade the killer's Mace, and nobody permanently loses their Mace after dying.
The plugin must be optimized, configurable, persistent across restarts, and ready for a production SMP server.