endzone_xd

Create a Minecraft Paper/Spigot plugin compatible with version 1.21.11.

Add a command: /endzonearmour

Subcommands: /endzonearmour helmet /endzonearmour chestplate /endzonearmour leggings /endzonearmour boots

Each command gives a custom Netherite armor piece with:

General properties (ALL pieces):

  • Material: Netherite
  • Unbreakable: true
  • Protection V
  • Unbreaking III
  • Mending I
  • DO NOT include Thorns enchantment

Custom item names:

  • Helmet → "Pale Helmet"
  • Chestplate → "Pale Chestplate"
  • Leggings → "Pale Leggings"
  • Boots → "Pale Boots"
  • Name color: WHITE
  • Style: BOLD

Custom effects per armor piece:

Helmet:

  • Apply Haste V while worn
  • Increase attack speed (simulate no cooldown)
  • Increase mining speed significantly
  • Add +1 heart (2 health)

Chestplate:

  • Apply Resistance III while worn
  • Add +1.5 hearts (3 health)

Leggings:

  • Apply Strength III
  • Apply Fire Resistance
  • Add +1.5 hearts (3 health)

Boots:

  • Apply Speed III
  • Add +1 heart (2 health)

Full set bonus:

  • When wearing all 4 pieces:

- Add extra health so total bonus becomes +15 hearts - Ensure it does not stack incorrectly

Requirements:

  • Effects ONLY apply while armor is worn
  • Remove effects instantly when armor is removed
  • Use AttributeModifiers for extra health
  • No lag (efficient system)
  • Multiplayer support
  • Prevent stacking bugs

Also include:

  • plugin.yml
  • Clean and optimized code

Output:

  • Full source code
  • Compiled .jar file ready to use
Kodari AI
KodariApr 21 at 7:43 pm 15,721 (v2)

I’ll create a custom Netherite armor plugin with dynamic effects and full set bonuses.

EndzoneArmour
A custom armor system featuring Pale-themed Netherite armor pieces with unique effects. Helmet provides Haste V and enhanced attack speed, Chestplate grants Resistance III, Leggings give Strength III and Fire Resistance, and Boots provide Speed III. Each piece adds bonus health, and wearing the full set grants a massive +15 heart bonus. Effects are dynamically applied when armor is equipped and removed when taken off.

Now I’ll create the remaining files:

All files created! The plugin features:

  • Custom Pale Netherite armor with white bold names

  • Individual piece effects: Haste V + attack speed (helmet), Resistance III (chestplate), Strength III + Fire Resistance (leggings), Speed III (boots)

  • Health bonuses: +2 hearts (helmet/boots), +3 hearts (chestplate/leggings), +15 hearts total when wearing full set

  • Dynamic effect system: Effects apply/remove instantly when armor is equipped/unequipped

  • No stacking bugs: Uses UUID-based attribute modifiers and tracks armor state changes

  • Multiplayer optimized: Efficient 1-second check interval, event-driven updates

  • Tab completion for the command

The plugin is ready to compile and use on Paper/Spigot 1.21.1!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
6 633
src/main/java/com/endzonearmour/EndzoneArmour.java
package com.endzonearmour;

import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class EndzoneArmour extends JavaPlugin {

    private ItemManager itemManager;
    private ArmorEffectManager armorEffectManager;

    @Override
    public void onEnable() {
        this.itemManager = new ItemManager(this);
        this.armorEffectManager = new ArmorEffectManager(this);

        getCommand("endzonearmour").setExecutor(new EndzoneArmourCommand(this));
        Bukkit.getPluginManager().registerEvents(armorEffectManager, this);

        getLogger().info("EndzoneArmour has been enabled!");
    }

    @Override
    public void onDisable() {
        if (armorEffectManager != null) {
            armorEffectManager.cleanup();
        }
        getLogger().info("EndzoneArmour has been disabled!");
    }
}