dev-riyan

Arey perfect bhai! Blaster Bow Ultimate ka exact detail update kar diya hai:

Zero Direct Damage: Direct health damage 0 hoga.

5-Block AOE Armor Shatter: Jis area mein teer girega, 5-block radius ke andar aane waale sabhi dushmano ka armor instant damage/shatter ho jayega.

Friendly Fire Protection: Team members / Allies par yeh effect kaam nahi karega (unka armor safe rahega).

Yeh raha tera FINAL PERFECT PROMPT—ab ise direct dev ko bhej de!

⚔️ Master Weapons Plugin (Paper 1.21.11) Hey Dev! Build a Paper 1.21.11 plugin for 4 Master Weapons with Shift-clicks, cooldowns, 25-hit Ultimates, Actionbar UI, and Admin controls.

⚙️ Core Config Custom Model Data: Crownbreaker (10001), Void Sharp (10002), Tidebreaker (10003), Blaster Bow (10004).

UI: Show Cooldowns & Ult Hits (Hits/25) on Actionbar using Paper Adventure API.

  1. 👑 Crownbreaker (Mace - CMD: 10001)

Passive: High Mace Damage + Lightning Strike on hit.

Special: Instant Wind Burst Toggle.

SPRC (Shift + Right Click): Launch Enemy/Self (CD: 4s).

SPLC (Shift + Left Click): Ground Slam AOE Shockwave (CD: 7s).

Ultimate (25 Hits): Massive Area Shockwave Burst.

  1. 🔮 Void Sharp (Netherite Sword - CMD: 10002)

Passive: Combo Damage Scaling (More consecutive hits = More damage).

SPRC (Shift + Right Click): Void Dash forward (CD: 5s).

SPLC (Shift + Left Click): High-tier Strength Buff for burst trades (CD: 10s).

Ultimate (25 Hits): Void Freeze Domain — Traps & Freezes all nearby enemies completely in place (Stun + Powder Snow Freeze effect + High Damage). 3. 🔱 Tidebreaker (Trident - CMD: 10003) SPRC (Shift + Right Click):

Riptide Mode: Air/Water Boost Dash (CD: 2s).

Loyalty Mode: Throws Trident; strikes Lightning on all entities along its path (CD: 5s).

SPLC (Shift + Left Click): Calls multiple Lightning Strikes + Grants Strength IV for 5s if in water (CD: 10s).

Ultimate (25 Hits): Aquatic Burst Strike.

  1. 🏹 Blaster Bow (Bow - CMD: 10004)

SPRC (Shift + Right Click): Multi-Arrow Volley Barrage (CD: 7s).

SPLC (Shift + Left Click): Breaks targeted enemy's active shield; if no shield, pops active Totem (CD: 10s).

Ultimate (25 Hits): 5-Block Armor Shatter Shot:

Deals 0 Direct Health Damage.

Creates a 5-block AOE splash radius on impact that heavily shatters/destroys armor durability for all hit enemies.

Team Protection: Does NOT affect team members/allies.

🛠️ Commands & Permissions (masterweapons.admin) /mw give <weapon> [player] — Gives custom item.

/mw recipe <weapon> <enable|disable> — Toggle individual recipe.

/mw recipe toggleall <enable|disable> — Toggle all recipes ON/OFF.

/mw resetcd <player> — Reset active cooldowns.

Ab poora exact locking design ready hai, directly forward kar do apne dev ko!

Kodari AI
KodariJul 30 at 1:54 pm 44

I’ll create the Master Weapons plugin for Paper 1.21.11.

MasterWeapons
A Paper 1.21.11 plugin adding four legendary Master Weapons with unique shift-click abilities. Crownbreaker (Mace) smites enemies with lightning, launches foes, and slams the ground. Void Sharp (Netherite Sword) builds combo damage, dashes through the void, and freezes entire areas. Tidebreaker (Trident) dashes through water, hurls lightning-charged throws, and calls storms. Blaster Bow fires arrow volleys, breaks shields, pops totems, and unleashes a 5-block armor-shatter shot that spares teammates. Features cooldowns, 25-hit ultimates, actionbar UI, toggleable recipes, and admin commands.

Done. The plugin is complete:

  • 4 Master Weapons (WeaponType, WeaponFactory) — Mace/Netherite Sword/Trident/Bow with CMD 10001–10004, PDC-tagged, unbreakable, Crownbreaker pre-enchanted with Wind Burst.

  • Abilities (WeaponListener) — all SPRC/SPLC abilities with exact cooldowns (4s/7s, 5s/10s, 2s·5s/10s, 7s/10s), passives (Crownbreaker lightning + 1.25× damage, Void Sharp combo scaling up to +150%), and all four 25-hit ultimates including the Blaster Bow’s 0-damage 5-block armor shatter with scoreboard-team friendly-fire protection.

  • UI (ActionbarTask) — live actionbar showing weapon, ult hits (X/25), and both cooldowns via Adventure API.

  • Commands (MWCommand) — /mw give, /mw recipe <weapon|toggleall> <enable|disable>, /mw resetcd, all gated behind masterweapons.admin, with tab completion.

  • Recipes (RecipeManager) — themed shaped recipes per weapon, runtime-toggleable and persisted in config.yml.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
13 1,056
src/main/java/com/masterweapons/MasterWeapons.java
package com.masterweapons;

import com.masterweapons.commands.MWCommand;
import com.masterweapons.listeners.WeaponListener;
import com.masterweapons.managers.CooldownManager;
import com.masterweapons.managers.RecipeManager;
import com.masterweapons.managers.UltimateManager;
import com.masterweapons.tasks.ActionbarTask;
import com.masterweapons.weapons.WeaponFactory;
import org.bukkit.Bukkit;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class MasterWeapons extends JavaPlugin {

    private WeaponFactory weaponFactory;
    private CooldownManager cooldownManager;
    private UltimateManager ultimateManager;
    private RecipeManager recipeManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        this.weaponFactory = new WeaponFactory(this);
        this.cooldownManager = new CooldownManager();
        this.ultimateManager = new UltimateManager();
        this.recipeManager = new RecipeManager(this);
        this.recipeManager.registerAll();

        Bukkit.getPluginManager().registerEvents(new WeaponListener(this), this);

        MWCommand mwCommand = new MWCommand(this);
        PluginCommand command = getCommand("mw");
        if (command != null) {
            command.setExecutor(mwCommand);
            command.setTabCompleter(mwCommand);
        }

        new ActionbarTask(this).runTaskTimer(this, 0L, 10L);
        getLogger().info("MasterWeapons enabled.");
    }

    public WeaponFactory getWeaponFactory() {
        return weaponFactory;
    }

    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }

    public UltimateManager getUltimateManager() {
        return ultimateManager;
    }

    public RecipeManager getRecipeManager() {
        return recipeManager;
    }
}