siyam_ender

🔥 SUNKEN'S FIRE ARROW

Develop a custom weapon plugin for my Minecraft Java server.

Plugin Name: "Sunken's Fire Arrow" Target: Paper 1.21.11 Java: 21 Language: Java

  1. Custom Item

Create a special Spectral Arrow with these properties:

  • Item: SPECTRAL_ARROW
  • Display name: "&6&lSukuna Fire Arrow"
  • Enchantment: Unbreaking I
  • Hidden enchantment descriptions (optional).
  • Custom glowing effect.
  • Custom lore.

Example lore:

"&7An arrow containing Sukuna's flames." "&cSneak + Right Click to unleash its power!"

  1. Throwing Mechanic
  • Player must hold Sukuna Fire Arrow.
  • Player must be sneaking.
  • Player must right-click to activate it.
  • Launch a custom projectile in the direction the player is facing.
  • Add fire particles and custom sounds while flying.
  • Prevent normal arrows from triggering this ability.
  • Add a configurable cooldown.
  1. Ground Impact Effect

When the custom projectile touches the ground:

  • Trigger a dramatic fire explosion effect.
  • Play an explosion sound.
  • Create flame and smoke particles.
  • Spawn the requested TNT Minecart-inspired explosion effect, with a configurable limit and performance-safe implementation.
  • Never spawn 50 real TNT Minecart entities simultaneously; simulate the visual effect instead.
  • Disable block destruction by default.
  • Make explosion damage and radius configurable.
  1. Visual Effects

Make the ability look powerful:

  • Orange and red flames.
  • Large smoke particles.
  • Explosion particles.
  • Custom explosion sound.
  • Screen-shaking effect is optional if supported.
  1. Commands

"/firearrow give <player> [amount]" - Give the custom arrow.

"/firearrow reload" - Reload configuration.

"/firearrow cooldown <player>" - Check cooldown.

  1. Permissions
  • "sunkenfirearrow.admin"
  • "sunkenfirearrow.give"
  • "sunkenfirearrow.use"
  • "sunkenfirearrow.bypass"
  1. Configuration

Create:

  • config.yml
  • messages.yml

Allow customization of:

  • Cooldown.
  • Explosion radius.
  • Damage.
  • Particle effects.
  • Sounds.
  • Item name and lore.
  • Maximum active projectiles.
  • World restrictions.
  • Block damage.
  1. Technical Requirements
  • Paper 1.21.11 compatibility.
  • Java 21.
  • No NMS or reflection.
  • Prevent projectile duplication.
  • Prevent item duplication.
  • Clean up projectiles and scheduled tasks.
  • Optimize for multiplayer servers.
  • Respect WorldGuard or other protection plugins where possible.
  1. Final Deliverables
  1. Complete Java source code.
  2. Gradle build files.
  3. Configuration files.
  4. plugin.yml.
  5. Compiled ".jar" file.
  6. Direct download link to the compiled JAR.
  7. Installation instructions.

IMPORTANT: Make this a separate standalone plugin named "Sunken's Fire Arrow". Test all mechanics before providing the download link.

Kodari AI
KodariNov 12 at 11:32 am 1
Created Sunken's Fire ArrowPlugins
Delegated to Sunken's Fire Arrow Running
Build a standalone Java plugin named Sunken's Fire Arrow for Paper 1.21.11, Java 21, with Gradle build files, plugin.yml, config.yml, messages.yml and installation instructions. Implement: identifiable custom SPECTRAL_ARROW named &6&lSukuna Fire Arrow with Unbreaking I glow and configurable name/lore; sneaking right-click while holding it launches a uniquely tagged custom projectile in facing direction, with configurable cooldown, limits, particle/sound trails, no activation from ordinary arrows or duplicate interaction/projectiles/items. On impact produce dramatic configurable flame, smoke, explosion particles and sound, and a configurable, performance-capped simulated TNT-minecart-inspired visual effect, never spawning 50 real TNT minecarts. Configurable damage, radius, block destruction default off, world restrictions, active projectile cap, particles and sounds. Commands /firearrow give <player> [amount], reload, cooldown <player>; permissions sunkenfirearrow.admin, .give, .use, .bypass. Clean up projectiles and tasks, optimize multiplayer, respect protection plugins where possible without NMS/reflection; avoid claiming universal protection compatibility. Handle permissions and invalid config/commands safely. Provide complete feature source and resources. Do not create tests.

I’ve started building Sunken’s Fire Arrow as a standalone Paper plugin. Once the implementation is ready, I’ll compile it and report the result.

siyam_ender

Please complete the entire "Sunken's Fire Arrow" plugin, not just create a project structure or basic source-code template.

I want every requested feature fully implemented, tested, and working on Paper 1.21.11.

Important requirements:

  • Finish all Java code.
  • Fix compilation errors.
  • Build the actual working ".jar".
  • Test the custom arrow, sneak + right-click mechanic, projectile effects, cooldown, and explosion.
  • Include all configuration files.
  • Do not leave unfinished features or TODO placeholders.

When everything is complete, give me:

  1. Direct download link for the compiled ".jar".
  2. Download link for the complete source code.
  3. Configuration files.
  4. Installation instructions.

Do not tell me the project is complete until the plugin has successfully compiled and the JAR is available to download.

Kodari AI
KodariNov 12 at 11:33 am 1

The full implementation is already underway. I won’t call it complete until it compiles successfully and the JAR is available.

I can check compilation here, but I can’t run live in-game tests on a Paper server.

siyam_ender

That's fine. Please make sure you perform thorough code-level testing and verify that the plugin compiles successfully.

Since you cannot run a live Paper server, please check API compatibility with Paper 1.21.11 and verify the projectile, cooldown, item identification, and explosion logic.

Please don't provide a fake or empty JAR. I need the fully implemented plugin with a working download link.

If possible, also provide clear instructions for testing it on my server.

Kodari AI
KodariNov 12 at 11:37 am 1

I’ll review the implementation and Paper API compatibility, then compile it before reporting it as complete. I’ll also include server-side testing instructions.

Compilation and code review can catch many issues, but they can’t guarantee that every mechanic works in-game without a live Paper server.

Report from 1 project
TaskBuild a standalone Java plugin named Sunken's Fire Arrow for Paper 1.21.11, Java 21, with Gradle build files, plugin.yml, config.yml, messages.yml and installation instructions. Implement: identifiabl...
  • Create the Java 21/Paper Gradle project and plugin resources.

  • Implement tagged-arrow creation, launch limits/cooldowns, impact effects, and cleanup.

  • Add commands, configurable messages, and installation/protection notes.Created the Sunken’s Fire Arrow Paper plugin with configurable tagged spectral arrows, cooldowns and projectile caps, particle/sound effects, bounded visual-only TNT-minecart-inspired rings, commands, permissions, configuration, and installation notes. Block destruction is off by default and uses cancellable BlockBreakEvents as a best-effort protection hook; compatibility varies. No tests were added.

Kodari AI
KodariNov 12 at 11:43 am 1
Compiled SunkenFireArrowSucceeded
Delegated to SunkenFireArrow Running
The project compiled successfully. Perform a thorough code-level review and fix any actual defects in item PDC identification and consumption, right-click handling including Paper air-interaction cancellation, projectile lifecycle and impacts, cooldowns, explosion damage and protection handling, configuration and Paper 1.21.11 API compatibility. Ensure no duplication, no damaging protected areas by bypassing normal cancellable events, and document concrete protection limitations. Check runtime dependency packaging and Java/Paper compatibility, and README should include clear server-side manual testing instructions. Implement fixes directly; do not add tests or claim live testing. Report substantive findings.

The plugin has compiled successfully. I’ve started a further code review of the mechanics, protection handling, and Paper compatibility before providing the final build.

siyam_ender

Please give the download link

Kodari AI
KodariNov 12 at 11:53 am 1

The initial build compiled, but the final code review is still in progress. I’ll provide the JAR download once that review is finished and the final version has compiled.

Report from 1 project
TaskThe project compiled successfully. Perform a thorough code-level review and fix any actual defects in item PDC identification and consumption, right-click handling including Paper air-interaction canc...

…Fixed the review findings in the manager, plugin configuration handling, and README.

  • Item identity and use: Custom arrows now require the PDC marker value to be exactly 1. Paper’s cancelled right-click-air events are handled; already-cancelled right-click-block events are respected. Failed launches do not consume an arrow; successful launches consume one.

  • Projectile lifecycle: Cancelled impacts now clean up the projectile and active slot without detonating. Expired or externally removed projectiles are cleaned up without an impact. Impacts in disallowed worlds do no damage. Trail particle resolution is done once per tick rather than once per projectile.

  • Damage and protection: Damage uses the shooter-attributed Bukkit damage API only when the shooter is online in the impact world, preserving the normal cancellable damage event. Block destruction still honors BlockBreakEvent cancellation and skips blocks changed by listeners. Protection compatibility remains plugin-specific; the README now explains the unsupported event paths and recommends leaving destruction disabled unless tested.

  • Cooldowns and configuration: Cooldowns use monotonic time and remain session-only. Startup and reload validate configuration types, ranges, and particle/sound names; invalid reloads leave active settings unchanged, while invalid startup config disables the plugin.

  • Compatibility and instructions: Paper 1.21.11 and Java 21 declarations are consistent. XSeries is Kodari auto-detected; no separate server plugin is required. README now includes manual server checks for item consumption, limits, impacts, permissions, config failures, and protection setups.

No tests or live server testing were performed.

Kodari AI
KodariNov 12 at 11:54 am 1
Compiled SunkenFireArrowSucceeded

The reviewed plugin compiled successfully. No live Paper server testing was performed.

I can’t generate a direct download URL from this workspace. Download the compiled JAR and source from the SunkenFireArrow project’s download controls. The source includes config.yml, messages.yml, and the README.

Installation and server check:

  1. Put the JAR in your Paper 1.21.11 server’s plugins folder and restart.

  2. Run /firearrow give <player> and grant the player sunkenfirearrow.use.

  3. Sneak and right-click with the arrow, then check its trail, impact, item consumption, and cooldown.

  4. Edit the generated configuration files and use /firearrow reload.

Block damage is disabled by default. Protection-plugin compatibility should be checked on your server before enabling it.

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

No files in this session

Code