🔥 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
- 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!"
- 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.
- 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.
- 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.
- Commands
"/firearrow give <player> [amount]" - Give the custom arrow.
"/firearrow reload" - Reload configuration.
"/firearrow cooldown <player>" - Check cooldown.
- Permissions
- "sunkenfirearrow.admin"
- "sunkenfirearrow.give"
- "sunkenfirearrow.use"
- "sunkenfirearrow.bypass"
- 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.
- 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.
- Final Deliverables
- Complete Java source code.
- Gradle build files.
- Configuration files.
- plugin.yml.
- Compiled ".jar" file.
- Direct download link to the compiled JAR.
- Installation instructions.
IMPORTANT: Make this a separate standalone plugin named "Sunken's Fire Arrow". Test all mechanics before providing the download link.
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.
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:
- Direct download link for the compiled ".jar".
- Download link for the complete source code.
- Configuration files.
- Installation instructions.
Do not tell me the project is complete until the plugin has successfully compiled and the JAR is available to download.
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.
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.
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.
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.
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.
Please give the download link
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.
…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
BlockBreakEventcancellation 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.
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:
Put the JAR in your Paper 1.21.11 server’s
pluginsfolder and restart.Run
/firearrow give <player>and grant the playersunkenfirearrow.use.Sneak and right-click with the arrow, then check its trail, impact, item consumption, and cooldown.
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.
No files in this session