ibrahim_00123

i ma creating a minecraft paper plugin where player spawn with wooden mace after 1 kkill they got stone mace after 2 kill they got copper after 3 kills they got gold after 5 kills they got iron after 6 kills they got diamond mace after 7 kills they got netherite mace with density 6 breech 5 and wind brust 2 every macew upgrades enchant and some maces gets us effects like diamond and netherite gives us effect strenght 1 and speed 1 and fire rus 1 infinite with diamond all buff 2 with netherite players cant put mace in any containers like shulker echest chest barrel hopper etc they cant drop it when they die they will reset to wooden mace

Kodari AI
KodariJul 4 at 6:34 am 1
MaceProgression
A Minecraft Paper plugin where players progress through mace tiers based on kill count. Starts with a wooden mace that upgrades through stone, copper, gold, iron, diamond, and netherite tiers as players earn kills. Higher tiers grant powerful enchantments (Density, Breach, Wind Burst, Sharpness) and status effects (Strength, Speed, Fire Resistance). Maces cannot be stored in containers or dropped, and reset to wooden on death.

Plan:

  1. Create build.gradle and plugin.yml

  2. Create MaceProgressionPlugin.java — main class

  3. Create MaceManager.java — tier definitions, mace creation, kill tracking, effects

  4. Create PlayerKillListener.java — kill tracking and mace upgrades

  5. Create InventoryListener.java — container/drop prevention

  6. Create PlayerListener.java — death reset and respawn

MaceProgression
A Paper plugin implementing a kill-based mace progression system. Players start with a wooden mace that upgrades through stone, copper, gold, iron, diamond, and netherite tiers as they accumulate kills. Each tier grants better enchantments (Sharpness, Density, Breach, Wind Burst) and diamond/netherite tiers give passive Strength, Speed, and Fire Resistance effects. Maces cannot be stored in containers or dropped, and reset to wooden on death.

Wait — I referenced mm.getPlayerKillsFile() in onPlayerJoin which doesn’t exist. Let me fix the join logic. I’ll check if the file has the UUID as a simpler check… actually the cleanest approach: just check if mm.getKills(uuid) == 0 && !hasMace(player) — if they have no kills recorded and don’t already carry a mace, give them one. No need to check the file directly.

ibrahim_00123

i ma creating a minecraft paper plugin where player spawn with wooden mace after 1 kkill they got stone mace after 2 kill they got copper after 3 kills they got gold after 5 kills they got iron after 6 kills they got diamond mace after 7 kills they got netherite mace with density 6 breech 5 and wind brust 2 every macew upgrades enchant and some maces gets us effects like diamond and netherite gives us effect strenght 1 and speed 1 and fire rus 1 infinite with diamond all buff 2 with netherite players cant put mace in any containers like shulker echest chest barrel hopper etc they cant drop it when they die they will reset to wooden mace when thier mace upgrades there is a popping sound and animation

Kodari AI
KodariJul 4 at 6:42 am 3

All the core mechanics are in place. The one missing piece: when the mace upgrades, there’s no sound or particle animation. Let me add that.

Everything’s built. Here’s the full system:

Files created:

  • build.gradle — Paper 1.21.4, Java 21, XSeries for cross-version safety

  • src/main/resources/plugin.yml

  • src/main/java/com/maceprogression/MaceProgressionPlugin.java — main class

  • src/main/java/com/maceprogression/MaceTier.java — 7 tiers with kill thresholds, enchantments, and passive effects

  • src/main/java/com/maceprogression/managers/MaceManager.java — mace creation, kill tracking (YAML persistence), passive effects, upgrade animations

  • src/main/java/com/maceprogression/listeners/PlayerKillListener.java — kill detection, tier upgrade

  • src/main/java/com/maceprogression/listeners/InventoryListener.java — blocks container storage (chest, barrel, hopper, shulker, ender chest, dropper, dispenser, furnace), drag, and drop

  • src/main/java/com/maceprogression/listeners/PlayerListener.java — join (give starter mace), death (remove from drops, reset kills to 0), respawn (give wooden mace)

Tier progression:

Kills
Tier
Enchants
Effects
0
Wooden
—
—
1
Stone
Sharpness 1
—
2
Copper
Sharpness 2
—
3
Gold
Sharpness 3, Density 1
—
5
Iron
Sharpness 4, Density 2, Breach 1
—
6
Diamond
Sharpness 5, Density 4, Breach 3, Wind Burst 1
Strength 1, Speed 1, Fire Res 1
7
Netherite
Sharpness 6, Density 6, Breach 5, Wind Burst 2
Strength 2, Speed 2, Fire Res 2

Upgrade animation: Totem particles + enchantment particles + experience orb + level up sound.

Security: Mace is tagged with PersistentDataContainer so it’s identified even after renaming. Drop is cancelled, container clicks/drags are blocked, death drops are stripped, other players can’t pick it up.

ibrahim_00123

can u make enchantments and effect to Kills Mace Enchantments Permanent Effects 0 🪵 Wooden Mace None None 1 🪨 Stone Mace Density I None 2 🟤 Copper Mace Density II None 3 🟡 Golden Mace Density III, Wind Burst I Speed I 5 ⚪ Iron Mace Density IV, Wind Burst I Speed I, Fire Resistance I 6 💎 Diamond Mace Density V, Wind Burst II Strength I, Speed I, Fire Resistance I 7 ⚫ Netherite Mace Density VI, Breach V, Wind Burst II Strength II, Speed II, Fire Resistance II

Kodari AI
KodariJul 4 at 7:26 am 1

Updated MaceTier.java to match your exact table.

<kodariPatchedFile>MaceTier.java</kodatiPatchedFile>

ibrahim_00123

add commands like /kills to see the kills /mace to see current tier/mace give <player> <tier> mace.admin Gives a player a specific mace. /mace setkills <player> <amount> mace.admin Sets a player's kills. /mace addkills <player> <amount> mace.admin Adds kills to a player. /mace removekills <player> <amount> mace.admin Removes kills. /mace reset <player> mace.admin Resets player to Wooden Mace. /mace check <player> mace.admin Shows another player's kills and tier. /mace top Everyone Shows the top kill streaks (if you store stats). /mace version Everyone Shows plugin version. /mace debug mace.admin Shows debug information. add these commands

Kodari AI
KodariJul 4 at 7:32 am 3

I’ll create the command system. Need to register commands, create the command handler, and update plugin.yml

Now I’ll create the command executor, update plugin.yml with commands/permissions, and register the command in the main class

Now update MaceManager.java to add the two methods needed by the command, then update MaceProgressionPlugin.java to register the command, and update plugin.yml.

Let me verify the final state of the main files:

The filesystem is readonly so I need to create the file using the inline create tag. Let me create the command file:

ibrahim_00123

change effects iron is speed normal diamond is speed normal fire rus normal and netherite is strenght 1 speed 1 fire rus normal

Kodari AI
KodariJul 4 at 10:28 pm 1

Updated effects:

  • Iron — Speed I (was none)

  • Diamond — Speed I, Fire Resistance I (was Strength I, Speed I, Fire Res I)

  • Netherite — Strength I, Speed I, Fire Resistance I (was Strength II, Speed II, Fire Res II)

ibrahim_00123

add a god mace wich gives healthboost 4 and if we kill some he will be dead and 8 kils are required and add a coustom command and recpie of mace revive in which middle is player head 4 cornor diamond blocks 4 outer middle obsideien

Kodari AI
KodariJul 6 at 6:23 am 2

I’ll need to:

  1. Add GOD tier (8 kills, Health Boost IV, instant kill)

  2. Add Revive Mace item + crafting recipe

  3. Add /mace revive <player> command

  4. Register new listeners + recipe

Now I’ll update the kill listener for GOD mace’s instant kill effect, create the Revive Mace recipe, add the command, and update plugin.yml.

Now I’ll create the Revive Mace system — item, recipe, and revive command. Let me read remaining files

Now I’ll create the Revive Mace system and update the command handling

ibrahim_00123

remove god mace

Kodari AI
KodariJul 18 at 1:14 pm 2

Removed God Mace tier and its special kill effects.

ibrahim_00123

rename it with MaceSmp S1 plugin

Kodari AI
KodariJul 18 at 1:24 pm 2

<move path=“src/main/java/com/maceprogression/MaceProgressionPlugin.java”<move path="src/main/java/com/maceprogression" to="src/main/java/com/macesmp"/>

Now update the main class name and all references:

ibrahim_00123

remove netherite mace

Kodari AI
KodariJul 20 at 11:59 am 1
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 1,055
src/main/java/com/macesmp/MaceSmpS1Plugin.java
package com.macesmp;

import com.macesmp.listeners.InventoryListener;
import com.macesmp.listeners.PlayerKillListener;
import com.macesmp.listeners.PlayerListener;
import com.macesmp.commands.MaceCommand;
import com.macesmp.managers.MaceManager;
import org.bukkit.plugin.java.JavaPlugin;

public class MaceSmpS1Plugin extends JavaPlugin {

    private MaceManager maceManager;

    @Override
    public void onEnable() {
        maceManager = new MaceManager(this);
        maceManager.loadData();

        getServer().getPluginManager().registerEvents(new PlayerKillListener(this), this);
        getServer().getPluginManager().registerEvents(new InventoryListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);

        MaceCommand maceCommand = new MaceCommand(this);
        getCommand("mace").setExecutor(maceCommand);
        getCommand("mace").setTabCompleter(maceCommand);
        getCommand("kills").setExecutor(maceCommand);

        getLogger().info("MaceSmp S1 enabled!");
    }

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

    public MaceManager getMaceManager() {
        return maceManager;
    }
}