underscore11__

Make a plugins like the famous stregth smp but with a new classes keys details you need to know:normal mace cooldown is 3 minute,can only wear diamond armour

Strength system

Strength starts at 0 Kill: +1 Death: −1 Strength 5 → passive Strength 10 → ultimate Persistent data Kill/death tracking Anti-kill-farming Combat logging protection Configurable limits

Class selection

Trident Mace Spear Armor Crossbow

Abilities exactly as you specified

🔱 Trident: sword-speed, shield disable, no shield, crit → lightning 🔨 Mace: 50% cooldown, ultimate gives Wind Burst II + unlimited mace cooldown for 30s 🗡️ Spear: sword-speed poke + damage, Lunge III ultimate 🛡️ Armor: diamond behaves as Netherite, ultimate removes knockback + Absorption IV 🏹 Crossbow: shield piercing + 30% ignite, ultimate Power V + Quick Charge V

Kodari AI
KodariAug 31 at 3:43 pm 3
StrengthSMPClasses
A Minecraft plugin implementing a class-based Strength SMP system. Players select from five classes: Trident, Mace, Spear, Armor, and Crossbow, each with unique combat abilities. Strength tracking persists across sessions, increasing by +1 per kill and decreasing by -1 per death. Strength 5 unlocks passive abilities, while Strength 10 unlocks ultimates. Features include anti-kill-farming detection, combat logging protection, configurable limits, and class-specific mechanics such as mace cooldown reduction, lightning strikes on crits, shield piercing, and armor tier upgrades. All data persists through YAML storage.
  1. Create the Gradle/Paper plugin skeleton and plugin metadata.

  2. Add persistent strength, kill/death, anti-farming, and combat-tag managers.

  3. Implement class passives, ultimates, cooldowns, armor behavior, and projectile handling.

  4. Add /strength commands and configurable defaults/messages.

Built the new StrengthSMP plugin from scratch.

Included:

  • Persistent strength, kills, deaths, and class data

  • Configurable strength limits

  • Anti-kill-farming protection

  • Combat tagging and combat-log elimination

  • /strength info

  • /strength choose <class>

  • /strength classes

  • /strength ultimate

  • Trident, Mace, Spear, Armor, and Crossbow classes

  • Strength 5 passive unlocks

  • Strength 10 ultimate unlocks

  • Mace’s 3-minute base cooldown and 50% class cooldown

  • Temporary ultimate effects and enchantments

  • Diamond armor Netherite-style toughness and knockback resistance

  • Configurable messages and gameplay values

The default spear material is DIAMOND_SWORD for compatibility. It can be changed in config.yml to SPEAR on servers that support that material.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 1,030
src/main/java/com/kodari/strengthsmp/StrengthSmpPlugin.java
package com.kodari.strengthsmp;

import org.bukkit.Bukkit;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class StrengthSmpPlugin extends JavaPlugin {
    private StrengthManager strengthManager;
    private CombatManager combatManager;
    private AbilityManager abilityManager;

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

        strengthManager = new StrengthManager(this);
        combatManager = new CombatManager(this, strengthManager);
        abilityManager = new AbilityManager(this, strengthManager);
        getServer().getPluginManager().registerEvents(
                new GameListener(this, strengthManager, combatManager, abilityManager), this);

        PluginCommand command = getCommand("strength");
        if (command != null) {
            StrengthCommand executor = new StrengthCommand(this, strengthManager, abilityManager);
            command.setExecutor(executor);
            command.setTabCompleter(executor);
        }

        Bukkit.getScheduler().runTaskTimer(this, () -> {
            combatManager.cleanupExpired();
            Bukkit.getOnlinePlayers().forEach(abilityManager::updateArmor);
        }, 20L, 20L);
    }

    @Override
    public void onDisable() {
        if (strengthManager != null) {
            strengthManager.saveFarmingData();
        }
    }
}