Henry Heffernan

make a mace that gets stronger with every kill and it starts at a wooden mace then stone mace then copper mace then iron macer then gold mace then diamond mace then netherite mace then god mace every kill your permenint effects get better every kill and every 2 kills it upgrades and when your at netherite to upgarde to the god mace you need to kill 5 differnt people

Kodari AI
KodariSep 20 at 12:29 pm 2
MaceAscension
A progressive weapon plugin where a mace evolves through eight tiers: wooden, stone, copper, iron, gold, diamond, netherite, and god. Each kill permanently enhances the player's effects, with weapon upgrades occurring every two kills. The final netherite-to-god upgrade requires eliminating five distinct players. The mace tracks kill counts per player, displays current tier and progress, and applies escalating buffs like strength, speed, and damage resistance based on tier. The god mace grants supreme powers. All progression persists across sessions, and the plugin includes configurable settings for kill requirements and effect scaling.
  1. Create the Gradle project and plugin metadata.

  2. Add persistent player progression and tier logic, including the five-distinct-player Netherite requirement.

  3. Add mace item creation/upgrades, permanent effects, join/respawn handling, and kill tracking.

  4. Add the /killmace stats command and first-join mace distribution.

Implemented the KillMace plugin.

  • Progression: Wooden → Stone → Copper → Iron → Gold → Diamond → Netherite.

  • Upgrades every 2 player kills.

  • After reaching Netherite, killing 5 different players unlocks the God Mace.

  • Permanent Speed, Haste, Strength, and Resistance improve with every kill.

  • Progress persists in players.yml.

  • Mace items automatically update on kills and player joins.

  • Added /killmace to view kills, tier, and God Mace progress.

  • Added first-join mace distribution and respawn effect restoration.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 458
src/main/java/com/example/killmace/KillMacePlugin.java
package com.example.killmace;

import java.util.Objects;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class KillMacePlugin extends JavaPlugin {

    private MaceManager maceManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        maceManager = new MaceManager(this);
        maceManager.load();

        getServer().getPluginManager().registerEvents(new MaceListener(maceManager), this);

        PluginCommand command = Objects.requireNonNull(getCommand("killmace"));
        command.setExecutor(new KillMaceCommand(maceManager));
    }

    @Override
    public void onDisable() {
        if (maceManager != null) {
            maceManager.save();
        }
    }
}