denji

only 12 traits Trait SMP — Minecraft Plugin A Minecraft Java Edition SMP plugin where every player has a unique combat trait that changes how they fight and survive. Players can collect gems, visit a Gem Trader to randomly exchange their trait, and equip a second trait in their offhand for powerful combinations.

The 12 traits Blood Bits - Minecraft Mods - CurseForge

  1. Healthsteal — Every time you damage an enemy, you restore a percentage of the damage dealt as health.

【Java版マイクラ】剣の使い方。クリティカル攻撃と範囲攻撃を使い分けられていますか? · NJFのマイクラ日記

  1. Headshot — Headshots always deal critical damage and temporarily disable the enemy's shield.

Jaden-MAN - AskNaveen

  1. Fortress — Reduces incoming damage, making you harder to defeat in combat.

Horror Weapons by Lostduckies | CHUNK - Minecraft Bedrock Marketplace Explorer

  1. Venom — Your attacks poison enemies, dealing damage over time.

Top 6 Useful Boots Enchantments In Minecraft 1.19

  1. Thunderstep — Hitting an enemy grants a short burst of movement speed.

Discover 10 Minecraft god and minecraft ideas in 2025 | minecraft images, minecraft anime, minecraft wallpaper and more

  1. Berserker — Deal increased damage when your health falls below a certain level.

Realistic dragon made out of flames Pixel Art | pxlart

  1. Phoenix — Once per long cooldown, survive a fatal hit with limited health and a burst of flames.
  • YouTube

8. Shadowstep — Activate a short-range teleport to escape danger or surprise an enemy.

Astral Studio - Screenshots

  1. Combo Master — Consecutive hits increase your damage until your combo breaks.

KnY-Extra-Additions - Gallery

  1. Frostbite — Attacks briefly slow enemies, making it harder for them to escape.

Spigot: Regeneration - Minecraft Plugin

  1. Second Life — Once per cooldown, survive an otherwise fatal attack with a small amount of health remaining.

What Does Bane of Arthropods Do in Minecraft? Understanding Its Effect

– Netherblocks

  1. Soul Collector — Defeating players collects souls that can be consumed to gain a temporary damage boost.
Kodari AI
KodariOct 14 at 11:47 am 10
TraitSMP
TraitSMP is a Minecraft SMP plugin where every player possesses a unique combat trait from a pool of 12 distinct abilities, including Healthsteal, Headshot, Fortress, Venom, Thunderstep, Berserker, Phoenix, Shadowstep, Combo Master, Frostbite, Second Life, and Soul Collector. Players collect gems scattered throughout the world and visit a Gem Trader NPC to randomly exchange their current trait for a new one. Additionally, players can equip a second trait in their offhand slot, enabling powerful trait combinations that dramatically alter combat strategies. The plugin features cooldown management, passive and active ability triggers, damage modification systems, and soul collection mechanics for the Soul Collector trait, creating a dynamic and replayable PvP experience.

I built Trait SMP as a Paper plugin with all 12 traits, gem income, a Gem Trader menu, and offhand charms. Compile it from the top bar to confirm the build.

Core loop

  • Each player gets a random trait on join. /trait shows your trait, gems, offhand charm and souls.

  • Gems: +1 per hostile mob kill, +5 per player kill (set in config.yml).

  • Gem Trader: /gemtrader spawn (op only) places an invulnerable, stationary villager. Right-clicking it opens a menu to reroll your trait (10 gems) or buy a Trait Charm (15 gems).

  • Second trait: hold a Trait Charm in your offhand to add its trait alongside your primary.

The 12 traits

  • Healthsteal: heals you for 15% of damage dealt.

  • Headshot: arrow hits to the head crit for 1.5× and briefly break the target’s shield. Melee has no headshot.

  • Fortress: takes 20% less damage.

  • Venom: your hits poison the target for 5 seconds.

  • Thunderstep: your hits give you Speed II for 3 seconds.

  • Berserker: deals 1.3× damage below 30% health.

  • Phoenix: survives a fatal hit once every 5 minutes, at 2 hearts, with a flame burst that sets nearby mobs on fire.

  • Shadowstep: sneak and right-click to teleport up to 6 blocks forward, with an 8-second cooldown.

  • Combo Master: each hit adds 5% damage, up to 50%. The combo resets after 3 seconds without a hit or when you take damage.

  • Frostbite: your hits give the target Slowness II for 3 seconds.

  • Second Life: survives a fatal hit once every 2 minutes, at 1 heart.

  • Soul Collector: player kills give a soul (max 5). Run /trait consume to spend one for a damage boost, which stacks up to 5 times and lasts 30 seconds.

Cooldowns, prices, gem rewards and soul limits are in config.yml. The combat multipliers (15% healthsteal, 1.5× headshot, etc.) are constants in CombatListener.java.

Kodari can make mistakes. Review important code before using.
Files
src
Code
12 905
src/main/java/com/traitsmp/TraitSMP.java
package com.traitsmp;

import org.bukkit.ChatColor;
import org.bukkit.plugin.java.JavaPlugin;

public final class TraitSMP extends JavaPlugin {

    private DataManager dataManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        dataManager = new DataManager(this);
        TraitManager traitManager = new TraitManager(this, dataManager);
        GemTraderManager gemTraderManager = new GemTraderManager(this, traitManager, dataManager);

        getServer().getPluginManager().registerEvents(new PlayerListener(this, traitManager, dataManager), this);
        getServer().getPluginManager().registerEvents(new CombatListener(this, traitManager), this);
        getServer().getPluginManager().registerEvents(new AbilityListener(this, traitManager), this);
        getServer().getPluginManager().registerEvents(new TraderListener(gemTraderManager), this);

        TraitCommand commandHandler = new TraitCommand(traitManager, gemTraderManager, dataManager);
        getCommand("trait").setExecutor(commandHandler);
        getCommand("gemtrader").setExecutor(commandHandler);
    }

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

    public static String color(String text) {
        return ChatColor.translateAlternateColorCodes('&', text);
    }
}