endzone_xd

Create a Minecraft Paper/Spigot plugin compatible with version 1.21.x.

Add command: /endzonearmour helmet /endzonearmour chestplate /endzonearmour leggings /endzonearmour boots

Gives custom Netherite armor with:

GENERAL (ALL PIECES):

  • Material: Netherite
  • Unbreakable: true
  • Protection V
  • Unbreaking III
  • Mending I
  • NO Thorns enchantment
  • Name style: WHITE + BOLD

Names:

  • Helmet → "Pale Helmet"
  • Chestplate → "Pale Chestplate"
  • Leggings → "Pale Leggings"
  • Boots → "Pale Boots"

---

EFFECTS WHILE WORN:

Helmet:

  • Haste V
  • Fast mining / reduced cooldown

Chestplate:

  • Resistance III

Leggings:

  • Strength III
  • Fire Resistance

Boots:

  • Speed V

---

HEALTH SYSTEM (IMPORTANT):

  • Full set bonus ONLY when ALL 4 pieces are worn
  • When full set is worn:

→ Player gets TOTAL +15 hearts (30 health points)

  • This must NOT stack per piece
  • Use AttributeModifier system properly to avoid duplication bugs
  • Remove bonus instantly when armor is removed

---

REQUIREMENTS:

  • Effects apply only while worn
  • No stacking bugs
  • Multiplayer safe
  • Optimized (no lag repeating tasks abuse)

---

OUTPUT:

  • Full Java source code
  • plugin.yml
  • Ready-to-build project
Kodari AI
KodariApr 21 at 8:04 pm 10,285 (v2)

I’ll create a custom armor plugin with special effects and a full set bonus system.

EndZoneArmour
A custom netherite armor system featuring the Pale Set with unique enchantments and powerful effects. Each piece grants specific potion effects when worn (Helmet: Haste V, Chestplate: Resistance III, Leggings: Strength III + Fire Resistance, Boots: Speed V). Wearing the complete set grants a bonus of +15 hearts using the AttributeModifier system. Includes an optimized effect manager to prevent stacking bugs and ensure multiplayer safety.

Perfect! I’ve created a complete custom armor plugin with optimized effect management and a proper health bonus system.

Key Features Implemented:

✅ /endzonearmour command with helmet/chestplate/leggings/boots options ✅ All pieces are Netherite with Protection V, Unbreaking III, Mending I (NO Thorns) ✅ White + Bold naming: “Pale Helmet”, “Pale Chestplate”, etc. ✅ Individual effects per piece (Haste V, Resistance III, Strength III + Fire Res, Speed V) ✅ Full set bonus: +15 hearts (30 HP) using AttributeModifier system ✅ No stacking bugs - uses UUID-based modifiers per player ✅ Multiplayer safe with per-player tracking ✅ Optimized with 2-second check interval (not spammy) ✅ PersistentDataContainer marks items as Pale armor ✅ Effects removed instantly on armor removal ✅ Automatic cleanup on player quit

Technical Highlights:

  • AttributeModifier with deterministic UUID prevents health bonus duplication

  • Effect reapplication checks prevent flickering

  • Lazy effect removal only when armor changes

  • Health clamping when bonus is removed/added

Ready to build and deploy on Paper/Spigot 1.21.x!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 474
src/main/java/com/endzonearmour/EndZoneArmour.java
package com.endzonearmour;

import com.endzonearmour.commands.ArmorCommand;
import com.endzonearmour.listeners.ArmorListener;
import com.endzonearmour.managers.ArmorEffectManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EndZoneArmour extends JavaPlugin {
    
    private ArmorEffectManager armorEffectManager;
    
    @Override
    public void onEnable() {
        this.armorEffectManager = new ArmorEffectManager(this);
        
        getServer().getPluginManager().registerEvents(new ArmorListener(this), this);
        
        getCommand("endzonearmour").setExecutor(new ArmorCommand(this));
        
        getLogger().info("EndZoneArmour has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (armorEffectManager != null) {
            armorEffectManager.shutdown();
        }
        getLogger().info("EndZoneArmour has been disabled!");
    }
}