techcloke-cyber

Create me a custom mace plugin where there is 8 different types of maces and you can upgrade them by killing 3 players. these 8 maces have unique powers like dashing, freezing someone, dealing extra damage upon impact with the player. etc. make a INVENTORY GUI with a config. and it has special effects and also i want it to look cool so add some particals or something like that to fit in with the mace.

Kodari AI
KodariApr 6 at 4:07 pm 14,921 (v2)

I’ll create a custom mace plugin with 8 unique maces, upgrade system, special abilities, and particle effects with a GUI interface.

CustomMaces
A comprehensive mace system featuring 8 unique maces with special abilities including dashing, freezing, lightning strikes, and more. Players upgrade maces by achieving kills, unlocking enhanced effects and particles. Includes a fully customizable GUI for mace selection and management, particle effects for visual flair, and extensive configuration options.

All files have been created! This custom mace plugin features:

8 Unique Maces:

  • Thunder Mace - Strikes enemies with lightning

  • Frost Mace - Freezes and slows targets

  • Flame Mace - Burns enemies with fire damage

  • Wind Mace - Dash ability for mobility

  • Shadow Mace - Blindness and darkness effects

  • Earth Mace - Massive knockback and damage

  • Void Mace - Pulls enemies toward you

  • Life Mace - Drains life to heal yourself

Features:

  • Upgrade system: Kill 3 players to level up (configurable)

  • 3 levels per mace with scaling power

  • Custom particle effects for each mace type

  • Sound effects matching each ability

  • Fully configurable names, lore, and ability values

  • Interactive GUI for mace selection (/maces)

  • Persistent data tracking kills and levels

  • Beautiful upgrade effects with fireworks and enchantment particles

Each mace has unique visual and gameplay effects that match its theme!

techcloke-cyber

Some of these maces are just too op so can you fix that. and for the freezing mace can you make it so that it freezes the player not give them slowness and it just freezes the player for like 2 seconds.

Kodari AI
KodariApr 6 at 4:55 pm 8,050 (v2)

I’ll read the relevant files to understand the current mace configurations and balance them, plus fix the freezing mace to actually freeze players.

I’ll balance the maces and fix the frost mace to actually freeze players. Let me update the config values and the frost ability implementation.

Balanced the maces and fixed the frost effect! Here’s what changed:

Balance Changes:

  • Thunder: Reduced base damage 12.0 → 10.0, lightning damage 4.0 → 2.5

  • Frost: Changed to actual freeze mechanic (40 ticks = 2 seconds)

  • Flame: Reduced base 11.0 → 10.0, fire duration 100 → 60 ticks, bonus damage 3.0 → 2.0

  • Shadow: Reduced blindness 100 → 60 ticks (5s → 3s)

  • Earth: Reduced base damage 14.0 → 11.0 (was way too high)

  • Life: Reduced heal 2.0 → 1.5

Frost Mace Fix: Now properly freezes players for 2 seconds by setting velocity to zero and preventing all movement, then restores normal speed afterward.

techcloke-cyber

Okay, everything is perfect, but it's too op, so I want you to add a cooldown when hitting the player because it activates a ability on hiting the player and it needs like a 10 second cool down. also add +3 new abilitys for every single mace and you can activate it with shift and right click. and i have a custom texturepack so can you sync it with it

Kodari AI
KodariApr 9 at 5:45 pm 33,835 (v2)

I’ll read all the existing files to understand the current ability system and then add cooldowns and new abilities.

I’ll add a 10-second cooldown for hit abilities, 3 new shift-right-click special abilities for each mace, and custom model data for texture pack support.

All files have been updated with:

  • 10-second cooldown for hit abilities with cooldown messages

  • 3 unique special abilities for each mace (activated with Shift + Right Click)

  • Custom model data support for texture packs (1001-1008 for each mace type)

  • Cooldown tracking system in PlayerData

  • Special ability cooldowns configurable per mace type

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
20 1,506
src/main/java/com/custommaces/CustomMaces.java
package com.custommaces;

import com.custommaces.commands.MaceCommand;
import com.custommaces.inventory.gui.GUIListener;
import com.custommaces.inventory.gui.GUIManager;
import com.custommaces.listeners.MaceListener;
import com.custommaces.managers.ConfigManager;
import com.custommaces.managers.MaceManager;
import com.custommaces.managers.PlayerDataManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CustomMaces extends JavaPlugin {
    
    private ConfigManager configManager;
    private MaceManager maceManager;
    private PlayerDataManager playerDataManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        loadManagers();
        registerListeners();
        registerCommands();
        
        getLogger().info("CustomMaces has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (playerDataManager != null) {
            playerDataManager.saveAll();
        }
        getLogger().info("CustomMaces has been disabled!");
    }
    
    private void loadManagers() {
        this.configManager = new ConfigManager(this);
        this.configManager.load();
        
        this.maceManager = new MaceManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.guiManager = new GUIManager();
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new MaceListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        getCommand("maces").setExecutor(new MaceCommand(this));
    }
}