legendisreal_

Create a plugin for me named God Armor.

It should feature Netherite armor where each armor piece has a different ability: ​First — Netherite Boots: Named God Boots in red color. Its ability will be permanent Speed 3 as long as it is equipped. ​Second — God Chestplate: Named God Chestplate in red color. Its ability will be permanent 10 extra hearts as long as it is equipped. ​Third — Netherite Leggings: Named God Leggings in red color. Its ability will be permanent Resistance 2 as long as it is equipped. ​Fourth — Netherite Helmet: Named God Helmet in red color. Its ability will be permanent Strength 2 as long as it is equipped. ​Additionally, when we type /godarmor in the chat, a Chest INVENTORY GUI should open containing all these God Armor pieces. Also, apply the Flow armor trim in white color to all these God Armor pieces." Make it fast

Kodari AI
KodariJun 7 at 4:45 pm 12

I’ll create a God Armor plugin with custom abilities and a GUI system.

GodArmor
A powerful armor system featuring God-tier Netherite armor pieces with unique permanent abilities. God Boots grant Speed 3, God Chestplate provides 10 extra hearts, God Leggings give Resistance 2, and God Helmet bestows Strength 2. All pieces feature the Flow armor trim in white. Access all armor pieces through an interactive chest GUI with the /godarmor command.

Done! Your GodArmor plugin is ready with:

✅ God Boots - Permanent Speed III ✅ God Chestplate - +10 Hearts (20 HP) ✅ God Leggings - Permanent Resistance II ✅ God Helmet - Permanent Strength II ✅ Flow armor trim (white/quartz) on all pieces ✅ /godarmor command opens GUI with all armor pieces ✅ Effects update automatically every second ✅ Click any armor piece in GUI to receive it

All armor pieces are unbreakable and have red-colored names as requested!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
13 582
src/main/java/com/godarmor/GodArmor.java
package com.godarmor;

import com.godarmor.commands.GodArmorCommand;
import com.godarmor.inventory.gui.GUIListener;
import com.godarmor.inventory.gui.GUIManager;
import com.godarmor.listeners.ArmorListener;
import com.godarmor.managers.ArmorManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class GodArmor extends JavaPlugin {
    
    private GUIManager guiManager;
    private ArmorManager armorManager;
    
    @Override
    public void onEnable() {
        this.guiManager = new GUIManager();
        this.armorManager = new ArmorManager();
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new ArmorListener(this), this);
        
        getCommand("godarmor").setExecutor(new GodArmorCommand(this));
        
        Bukkit.getScheduler().runTaskTimer(this, this::updateArmorEffects, 20L, 20L);
        
        getLogger().info("GodArmor has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("GodArmor has been disabled!");
    }
    
    private void updateArmorEffects() {
        Bukkit.getOnlinePlayers().forEach(player -> {
            ArmorListener.updatePlayerEffects(player);
        });
    }
}