true_j

Create a Minecraft SMP plugin where weapons and tools ascend through tiers by getting player kills. Each item tracks its own progress and becomes stronger as it evolves.

Main Mechanics

  1. Item Binding System

When a player gets a kill with a weapon/tool, that item becomes bound to them Store:

Owner UUID Kill count Current tier If another player uses the item:

Either reduce effectiveness OR prevent progression (configurable)

  1. Kill Tracking

Only player kills count (no mob farming) Final hit determines which item gets the kill Store kills in item NBT / PersistentDataContainer

  1. Tier System

Weapons evolve through tiers based on kills:

Example default tiers (configurable):

Tier 1: 0 kills (Base) Tier 2: 5 kills (Awakened) Tier 3: 15 kills (Ascended) Tier 4: 30 kills (Mythic) Tier 5: 60 kills (Divine)

  1. Tier Buffs

Each tier grants upgrades (configurable per tier):

Example:

Awakened: +10% damage Ascended: +20% damage, +5% speed (on hold) Mythic: +30% damage, chance for crit Divine: +40% damage, lifesteal or special effect

Buff implementation:

Use AttributeModifiers and/or event-based damage scaling

  1. Visual Feedback

Item name changes color based on tier Add lore:

Kill count Tier name Optional:

Particle effects on hit Glow effect for high-tier items

  1. Progression Feedback

On kill:

Action bar message: “+1 Kill (X/Y to next tier)” On tier upgrade:

Title + sound + particles

  1. Death Handling

Configurable options:

Keep progression on item drop OR lose a % of kills on death OR item downgrades one tier

  1. Supported Items

Swords, axes (required) Optional: bows, crossbows, tridents Optional: tools (pickaxe, etc.)

  1. Commands

/ascend reload /ascend give <player> <tier> (admin testing) /ascend reset <player>

  1. Config File

Fully customizable:

Tier thresholds Buff values Allowed items Whether items bind Death penalties Effects (particles/sounds toggle)

  1. Data Storage

Use PersistentDataContainer on ItemStack No external database required Technical Requirements Clean, modular code structure No memory leaks Efficient event handling (especially EntityDamageByEntityEvent) Compatible with other plugins (avoid hard overrides) Nice-to-Have Features (Optional) INVENTORY GUI to view item progression Leaderboard of top weapons Custom abilities at highest tier API hooks for expansion Expected Behavior Example Player kills someone with an iron sword Sword becomes bound and shows: “Kills: 1 (Tier 1)” At 5 kills → upgrades to Awakened Gains damage buff + visual upgrade Continues scaling as player gets more kills

Kodari AI
KodariApr 21 at 11:47 am 18,950 (v2)

I’ll create a comprehensive weapon evolution plugin with kill-based progression, binding system, and configurable tier buffs.

WeaponAscension
A weapon progression system where tools and weapons evolve through tiers by accumulating player kills. Features include owner binding, kill tracking via PersistentDataContainer, configurable tier thresholds and buffs, visual effects on tier upgrades, damage modifiers, crit chances, lifesteal mechanics, and death penalties. Complete with admin commands and full config customization.

Analysis

  • Create modular manager system for items, tiers, and combat

  • Use PersistentDataContainer for NBT storage (no database needed)

  • Event-based damage/effect application with XSeries compatibility

  • Full config customization for tiers, buffs, and penalties

Plugin fully created with 15 files implementing complete weapon progression system with kill tracking, tier evolution, damage scaling, crit mechanics, lifesteal, visual effects, binding system, death penalties, and admin commands.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
15 978
src/main/java/com/example/weaponascension/WeaponAscension.java
package com.example.weaponascension;

import com.example.weaponascension.command.AscendCommand;
import com.example.weaponascension.listener.CombatListener;
import com.example.weaponascension.listener.ItemListener;
import com.example.weaponascension.manager.CombatManager;
import com.example.weaponascension.manager.ConfigManager;
import com.example.weaponascension.manager.ItemManager;
import com.example.weaponascension.manager.TierManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class WeaponAscension extends JavaPlugin {
    private ConfigManager configManager;
    private ItemManager itemManager;
    private TierManager tierManager;
    private CombatManager combatManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.itemManager = new ItemManager(this);
        this.tierManager = new TierManager(this);
        this.combatManager = new CombatManager(this);
        
        getServer().getPluginManager().registerEvents(new CombatListener(this), this);
        getServer().getPluginManager().registerEvents(new ItemListener(this), this);
        
        getCommand("ascend").setExecutor(new AscendCommand(this));
        getCommand("ascend").setTabCompleter(new AscendCommand(this));
        
        getLogger().info("WeaponAscension has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("WeaponAscension has been disabled!");
    }
}