firesmight1

Create a professional Minecraft Java Edition server plugin called Royal Weapons.

The plugin should add 5 completely custom weapons with unique names, abilities, effects, particles, animations, cooldowns, and custom sounds.

Supported Weapons

  1. MACE → CROWN HAMMER

* A legendary royal hammer. * Give it a unique custom name and lore. * Create a powerful smash ability. * When the ability is activated, create custom particles around the player and target. * Deal powerful area damage to nearby enemies. * Add knockback and a short stun/slowness effect. * Create a unique custom activation sound and impact sound. * Add a cooldown so the ability cannot be spammed.

  1. SPEAR → ROYAL SPEAR

* A legendary royal spear. * Give it custom lore and appearance. * Add a powerful throwing ability. * When thrown, create a custom particle trail. * On hitting an enemy, deal extra damage and apply a special effect. * Add a return-to-player mechanic similar to a magical spear. * Add custom throw, hit, and return sounds. * Add an ability cooldown.

  1. AXE → ASTRAL AXE

* A cosmic/astral themed battle axe. * Add a special ability called Astral Strike. * When activated, summon an astral energy attack from above. * Create star-like particles, lightning-style effects, and an impact effect. * Deal area damage to enemies. * Apply weakness or slowness for a short duration. * Add unique charging, activation, and impact sounds. * Include a configurable cooldown.

  1. SWORD → DARK FIRE SABER

* A dark-fire themed legendary sword. * Create a dark flame visual effect around the weapon. * Add a special ability called Dark Inferno. * When activated, release a wave of dark fire in front of the player. * Damage enemies in the attack area. * Apply a short burning effect and weakness. * Create dark flame particles and an explosion-style visual effect without destroying blocks. * Add custom swing, activation, fire, and impact sounds. * Add a configurable cooldown.

  1. CROSSBOW → AURA BOW

* A magical aura-based crossbow. * Give it a unique magical appearance and lore. * Add special projectile abilities. * When fired, create a glowing/aura particle trail. * On hitting an enemy, create an aura explosion effect and deal bonus damage. * Add optional piercing or homing behavior through configuration. * Add custom charging, shooting, projectile, and impact sounds. * Add a configurable cooldown for the special ability.

Custom Sound System

Create a complete custom sound system.

All weapon sounds should be configurable in a configuration file, for example:

sounds: crown_hammer_activate: "..." crown_hammer_impact: "..." royal_spear_throw: "..." royal_spear_hit: "..."

Kodari AI
KodariOct 6 at 9:40 am 1
Created Royal WeaponsPlugins
Delegated to Royal Weapons Running
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.

I’ve created the Royal Weapons Minecraft plugin project and started implementation of the five weapons, configurable sounds and abilities, admin commands, and setup documentation. I’ll compile it after the implementation is finished.

Report from 1 project
Royal WeaponsCompleted
TaskBuild 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...
  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.

Kodari AI
KodariOct 6 at 9:53 am 1
Compiled RoyalWeaponsSucceeded

Royal Weapons is implemented and compiled successfully for Paper 1.21.4 / Java 21.

It includes five custom weapons with configurable abilities, cooldowns, effects, and sounds; permission-protected admin commands; a default configuration; and an operator README.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code