Mini

Ability (Passive) Strength --> Gain permanent strength 2 --> Every hit increases the strength by 1 (capped at strength 5) --> Strength will disappear once you miss a hit or after 5 hits

OVERCHARGED (/OPS) Strength (Effect timer - 30 Seconds) --> Gains the effect strength 6 --> for the first 5 hits of OVERCHARGED, do true damage to one armor piece and taking away 10 durability off of it --> Gives a warden-like darkness effect

Kodari AI
KodariSep 7 at 9:37 am 1
OverchargedStrength
A Minecraft plugin adding a passive Strength ability where players gain permanent Strength 2, with each successful hit increasing the level by 1 up to Strength 5. The strength resets when a hit is missed or after 5 consecutive hits. Also includes an OVERCHARGED command granting Strength 6 for 30 seconds, where the first 5 hits deal true damage to one armor piece, removing 10 durability, while applying a warden-like darkness effect to the player.
  1. Create the Gradle plugin project and Bukkit metadata.

  2. Implement passive Strength streaks, miss detection, and five-hit reset.

  3. Implement /ops Overcharged for 30 seconds, Strength VI, Darkness, and five armor-durability strikes.

  4. Register commands, listeners, lifecycle cleanup, and player join/quit handling.

Created the new StrengthAbility Minecraft plugin project.

  • Passive Strength starts at level II.

  • Successful hits increase Strength up to level V.

  • Missing an attack or reaching five hits removes the passive Strength.

  • /ops activates Overcharged for 30 seconds:

    • Strength VI

    • Darkness effect

    • First five hits damage one armor piece by 10 durability

  • Added Gradle setup, plugin metadata, command registration, event listeners, and lifecycle cleanup.

Mini

during overcharged, those 5 hits also do true damage which means it bypasses one armors protection and everything

Kodari AI
KodariSep 7 at 9:39 am 1
  1. Update the overcharged hit handling so the first five hits apply damage directly, bypassing armor and other mitigation.

  2. Preserve the existing armor-durability effect and normal damage behavior outside Overcharged.

Updated Overcharged hits:

  • The first 5 Overcharged hits now bypass armor, protection, absorption, and normal damage mitigation.

  • Damage is applied directly to the target’s health using the attack’s raw damage.

  • Each of those hits still removes 10 durability from one armor piece.

  • Hits after the first five use normal damage while Overcharged remains active.

  • Passive hit behavior remains unchanged.

Mini

the first 5 overcharged hits only bypasses a single armor piece, bypassing their protection but the sword doesnt bypass absorption or anything

Kodari AI
KodariSep 7 at 9:43 am 2
  1. Change Overcharged hit processing to modify only the target’s armor reduction, leaving absorption, resistance, and other damage modifiers intact.

  2. Apply the 10-durability loss to the same target armor piece whose protection is bypassed, while preserving normal sword damage and the existing five-hit limit.

Updated Overcharged hits:

  • The first 5 hits now bypass only one armor piece’s armor reduction.

  • The bypassed piece also loses 10 durability.

  • Other armor pieces still reduce damage normally.

  • Protection enchantments, absorption hearts, resistance, blocking, and other damage modifiers are preserved.

  • Removed the previous manual health damage that bypassed everything.

Mini

its a sword

Kodari AI
KodariSep 7 at 9:45 am 1
  1. Restrict the Overcharged armor-bypass strike to actual sword attacks.

  2. Keep the sword’s normal damage pipeline so absorption, resistance, blocking, and other modifiers still apply.

Overcharged’s special effect now applies only to hits made with a sword in the player’s main hand.

  • First 5 sword hits bypass one armor piece.

  • Sword damage still passes through absorption, resistance, blocking, and other normal modifiers.

  • Non-sword attacks do not consume Overcharged hits or receive the armor bypass.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 482
src/main/java/com/kodari/strengthability/StrengthAbilityPlugin.java
package com.kodari.strengthability;

import java.util.Objects;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class StrengthAbilityPlugin extends JavaPlugin {

    private AbilityManager abilityManager;

    @Override
    public void onEnable() {
        abilityManager = new AbilityManager(this);
        getServer().getPluginManager().registerEvents(new AbilityListener(abilityManager), this);
        Objects.requireNonNull(getCommand("ops")).setExecutor(new OpsCommand(abilityManager));

        for (Player player : Bukkit.getOnlinePlayers()) {
            abilityManager.enablePassive(player);
        }
    }

    @Override
    public void onDisable() {
        if (abilityManager != null) {
            abilityManager.shutdown();
        }
    }
}