Build the newly created project into a professional, complete Bukkit/Paper Minecraft Java Edition plugin named Royal Weapons, implementing the user's request for five custom weapons and a configurable sound system. First inspect the project template, existing files, target Minecraft/API version, and conventions, then implement compatibly; do not assume unsupported APIs. You own all code/resources/plugin metadata/config/docs. Do not try to build or claim verified compilation.

Required weapons (give them recognizable custom names/lore and identify them robustly with PersistentDataContainer, not display-name checks):

  1. MACE item named CROWN HAMMER: a powerful smash ability; trigger on a documented intuitive action (prefer right-click). Create particles around user and affected targets, damage enemies in a configurable radius, knock them back, apply short Slowness/stun, activation/impact sounds and a per-player cooldown. Do not damage blocks.
  2. ROYAL SPEAR: use the best compatible in-game spear-like item/material (TRIDENT if the target API lacks a dedicated spear). Give unique name/lore/appearance. A right-click throws a magical spear/projectile with a particle trail, extra hit damage and special effect; return it to its owner (safe return mechanic, don't duplicate/drop it, handle online/offline/death/world-change/removal). Configurable cooldown and throw/hit/return sounds.
  3. AXE named ASTRAL AXE: right-click Astral Strike summons an astral attack from above at the targeted location/forward point; star particles, lightning-style cosmetic effect (visual only, no uncontrolled vanilla lightning fire/block damage), impact effect, configurable-radius area damage, brief Weakness or Slowness, charge/activation/impact sounds, configurable cooldown.
  4. SWORD named DARK FIRE SABER: dark flame visuals while held/used, right-click Dark Inferno fires a forward wave/cone, damages enemies, briefly burns and weakens them, dark flame and explosion-style cosmetic particles (no block destruction), swing/activation/fire/impact sounds and configurable cooldown.
  5. CROSSBOW named AURA BOW: magical lore/appearance, special-shot cooldown; fired projectiles have aura trails, on hit create aura explosion visuals and bonus damage. Add config options for piercing and homing behavior, safely defaulted/documented. Charging/shooting/projectile/impact sounds.

Project expectations:

  • Provide clear configurable weapon values (cooldowns, damages, radii/ranges/durations/knockback) and every sound key/default in config.yml, including at least crown_hammer_activate, crown_hammer_impact, royal_spear_throw/hit/return, astral charging/activate/impact, dark saber swing/activate/fire/impact, and aura crossbow charge/shoot/projectile/impact. Use Bukkit/Paper sound names sensibly, with graceful fallback for invalid configured values; explain in README how operators may use valid Bukkit Sound enum names and/or registered namespaced resource-pack sound identifiers if supported by target API.
  • Include a permission-protected admin command to give each weapon, usage/help, tab completion if appropriate, and reload configuration. Add plugin metadata, a default config, permission declarations and README with install/commands/permissions/abilities/config/safe behavior. Give commands namespaced to Royal Weapons and plugin identity/version appropriate to template.
  • Use safe entity filtering (do not hit caster, teammates if a clear existing mechanism exists, armor stands, dead entities; never damage blocks), server-thread-safe Bukkit scheduling, per-player cooldowns with useful feedback, and cleanly cancel/clean any tasks/projectile tracking on plugin disable. Prevent ordinary projectiles/weapon items from unintentionally acquiring weapon abilities; preserve weapon identity after legitimate item movement/reload.
  • Avoid costly per-tick world scans; use bounded nearby entity queries and configurable particle effects. Implement the behavior robustly and consistently with the template's target API. Keep code readable and maintainable.

Deliver working source/config/docs and a concise final report. Do not build; I will run compilation after your delegation completes.

Kodari AI
KodariOct 6 at 9:48 am 5
RoyalWeapons
Royal Weapons is a comprehensive Bukkit/Paper plugin adding five legendary weapons with unique abilities. It features the Crown Hammer with area smash, Royal Spear with returnable projectile, Astral Axe with lightning strike, Dark Fire Saber with inferno wave, and Aura Bow with homing arrows. Each weapon uses PersistentDataContainer identification, configurable cooldowns/damages/sounds, particle effects, and per-player tracking. Includes admin commands with tab completion, config reload, safe entity filtering, and proper task cleanup on disable.
  1. Inspect the project’s template, target API, and existing conventions.

  2. Implement the five weapons, safe projectile/task handling, and configurable sounds.

  3. Add admin commands, metadata, permissions, default config, and operator documentation.

Implemented Royal Weapons for Paper 1.21.4 / Java 21, including all five PDC-identified weapons, configurable abilities and sounds, safe spear returns, and the permission-protected /royalweapons command with tab completion. Added plugin metadata, default configuration, Gradle files, and an operator README.

Compilation was not run, as requested.

firesmight1

this weapons change ability astral axe ability its use crimson flare and power full strike. 2. royal spear change to aura spear and ability to adds big lunge and single strike please change to 1.21.11 spear. 3. aurabow add flame arrows shoots and one final shot. 4. dark fire saber adds a fire charge shooting abilty. 5. crown hammer change particles to goden and orange theme and add a eplosion around 6 and change sound to explosion. and all weapon ability have 2 abililty so i decide the 1 power use with shift + right click and second power use with shift + left click

Kodari AI
KodariOct 7 at 6:28 am 8
  1. Rework the Astral Axe into Crimson Flare and Powerful Strike.

  2. Rename the Royal Spear to Aura Spear, add its lunge/strike powers, and target the 1.21.11 spear item.

  3. Add flaming Aura Bow shots and a distinct final shot.

  4. Add a fire-charge shooting power to the Dark Fire Saber.

  5. Give the Crown Hammer golden/orange effects, a 6-block blast radius, and explosion sounds.

  6. Assign every weapon’s two powers to sneak+right-click and sneak+left-click.

Astral Axe powers are now distinct: Crimson Flare is the charged aerial attack, and Powerful Strike is a close-range slam with separate configurable damage, radius, cooldown, and effects.

  1. I’m checking the existing API target and spear/projectile flow before switching the weapon material and behavior.

Aura Spear now uses the 1.21.11 SPEAR item, with a forward lunge and a one-target strike; the old spear ID remains an alias. I’m updating Aura Bow’s two powers to prepare fire arrows or empower one next shot.

Aura Bow now supports three configurable flame arrows per charge and an empowered next shot, with independent cooldowns and PDC-tracked projectile effects.

Dark Fire Saber now has a tracked, non-incendiary Small Fireball power that burns valid hits without igniting blocks; projectile tracking is cleaned up on impact, expiry, world change, and shutdown.

Updated Royal Weapons with two powers per weapon. Shift + right-click activates power one; Shift + left-click activates power two. The Aura Bow still charges normally when right-clicked without sneaking.

  • Crown Hammer: golden-orange smash with a 6-block damage radius and cosmetic explosion; added Crown Guard for brief Resistance.

  • Aura Spear: targets Paper 1.21.11 and uses the native SPEAR item; added Big Lunge and Single Strike.

  • Astral Axe: added Crimson Flare and Powerful Strike.

  • Dark Fire Saber: added a tracked Fire Charge projectile that burns valid hits without igniting or damaging blocks.

  • Aura Bow: added configurable Flame Arrows and a one-shot empowered Final Shot.

Updated cooldowns, sounds, item lore, configuration, command weapon IDs, and README. The old royal_spear ID remains an alias for existing items. I did not build or compile the project.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
11 1,296
src/main/java/com/royalweapons/RoyalWeaponsPlugin.java
package com.royalweapons;

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

public final class RoyalWeaponsPlugin extends JavaPlugin {
    private NamespacedKey weaponKey;
    private NamespacedKey auraProjectileKey;
    private NamespacedKey saberFireChargeKey;
    private NamespacedKey projectileOwnerKey;
    private WeaponListener weaponListener;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        weaponKey = new NamespacedKey(this, "weapon_id");
        auraProjectileKey = new NamespacedKey(this, "aura_bow_projectile");
        saberFireChargeKey = new NamespacedKey(this, "dark_fire_saber_fire_charge");
        projectileOwnerKey = new NamespacedKey(this, "projectile_owner");

        weaponListener = new WeaponListener(this);
        getServer().getPluginManager().registerEvents(weaponListener, this);

        RoyalWeaponsCommand command = new RoyalWeaponsCommand(this);
        getCommand("royalweapons").setExecutor(command);
        getCommand("royalweapons").setTabCompleter(command);
    }

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

    public NamespacedKey getWeaponKey() {
        return weaponKey;
    }

    public NamespacedKey getAuraProjectileKey() {
        return auraProjectileKey;
    }

    public NamespacedKey getSaberFireChargeKey() {
        return saberFireChargeKey;
    }

    public NamespacedKey getProjectileOwnerKey() {
        return projectileOwnerKey;
    }

}