David Murawski

Trident = Summon lighting (more energy stronger more lighting) Sword = More combow deals more damage (more energy stronger damage) Axe = Freeze players (more energy more freeze time) Mace = Dash ability (more energy makes it so you can double jump) Spear = Dash throw player while holding spear (more energy makes faster dashing and grants player speed for a limited amount of time) Shield = Regenration, unable to hit players for limited amount of times and health boost depending on your energy More energy shorter cool down for all wepens

Kodari AI
KodariSep 12 at 4:54 pm 2
ElementalWeaponry
ElementalWeaponry is a Minecraft plugin that empowers players with unique elemental abilities tied to their equipped weapon. Each weapon type harnesses energy to unleash devastating effects: Trident summons lightning strikes with intensity scaling by energy level, Sword delivers combo attacks with amplified damage, Axe freezes opponents with duration based on energy, Mace enables dash abilities and double jumps at higher energy, Spear grants dash-throw attacks and speed boosts, and Shield provides regeneration, temporary attack immunity, and health bonuses. Higher energy levels reduce cooldowns across all weapons, rewarding strategic energy management and creating dynamic combat encounters.

Created the complete EnergyWeapons plugin project.

Implemented:

  • Trident: energy-scaled lightning strikes

  • Sword: combo system with energy-based bonus damage

  • Axe: freezes targeted players

  • Mace: dash with high-energy double jump

  • Spear: dash, knockback, and temporary speed

  • Shield: regeneration, health boost, and protected hits

  • Energy regeneration and persistent player energy

  • Energy-scaled cooldown reduction

  • /energyweapons give

  • /energyweapons energy

  • /energyweapons list

  • XSeries cross-version material and potion handling

  • Configurable energy and cooldown settings

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
12 713
src/main/java/com/kodari/energyweapons/EnergyWeaponsPlugin.java
package com.kodari.energyweapons;

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

public final class EnergyWeaponsPlugin extends JavaPlugin {
    private EnergyManager energyManager;
    private WeaponItemFactory itemFactory;

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

        energyManager = new EnergyManager(this);
        itemFactory = new WeaponItemFactory(this);
        CooldownManager cooldownManager = new CooldownManager(this, energyManager);

        getServer().getPluginManager().registerEvents(
                new WeaponListener(this, energyManager, itemFactory, cooldownManager), this);

        WeaponCommand command = new WeaponCommand(this, energyManager, itemFactory);
        getCommand("energyweapons").setExecutor(command);
        getCommand("energyweapons").setTabCompleter(command);

        Bukkit.getScheduler().runTaskTimer(this, energyManager::regenerateOnlinePlayers, 20L, 20L);
    }

    public EnergyManager getEnergyManager() {
        return energyManager;
    }

    public WeaponItemFactory getItemFactory() {
        return itemFactory;
    }
}