2niia

Remake this

1 image attached
Kodari AI
KodariApr 10 at 5:32 pm 12,638 (v2)

I’ll create a custom explosive crossbow plugin based on that item description.

ExplosiveCrossbow
A custom crossbow plugin that shoots explosive arrows with TNT particle effects dealing true damage that bypasses armor. Features a rocket jump ability activated by looking down while sneaking and shooting, configurable cooldowns, particle trails, and damage settings. Perfect for adding explosive weaponry to PvP and adventure gameplay.

Now I’ll create the remaining manager, listener, command, and utility classes:

All files have been created for the ExplosiveCrossbow plugin. The plugin features explosive crossbows with TNT particle trails, true damage that bypasses armor, a 5-second cooldown, and a rocket jump ability activated by looking down while sneaking and shooting.

2niia

remake this perfectly with a configurable config( dmg cd etc)

1 image attached
Kodari AI
KodariApr 10 at 6:05 pm 12,100 (v2)

I’ll read all the existing files first to understand the current structure, then remake it as a proper Sharpshooter Bow plugin with full configuration.

I’ll remake this as a complete Sharpshooter Bow plugin based on the image. The plugin will track consecutive hits and activate a devastating beam attack after the required number of hits.

Perfect! I’ve remade the plugin as a complete Sharpshooter Bow system with:

Core Features:

  • Consecutive hit tracking - Land hits to charge ability (default 3 hits)

  • True damage - Bypasses armor completely (configurable damage)

  • Totem bypass - Special ability ignores totem resurrection

  • Devastating beam effect - Visual beam from shooter to target

  • Combo system - Miss a shot and lose your streak

  • Auto-reset - Combo resets after inactivity

Fully Configurable:

  • Damage amount (hearts)

  • Required consecutive hits

  • Cooldown duration

  • Combo reset time

  • All particles (normal + charged states)

  • All sounds

  • Beam effects

  • Bow enchantments

  • All messages

Commands: /sharpshooter give [player] and /sharpshooter reload

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 799
src/main/java/com/explosivecrossbow/ExplosiveCrossbow.java
package com.explosivecrossbow;

import com.explosivecrossbow.command.ExplosiveCrossbowCommand;
import com.explosivecrossbow.listener.CrossbowListener;
import com.explosivecrossbow.manager.CooldownManager;
import com.explosivecrossbow.manager.ExplosiveCrossbowManager;
import com.explosivecrossbow.manager.HitTrackerManager;
import com.explosivecrossbow.util.ConfigManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ExplosiveCrossbow extends JavaPlugin {

    private ConfigManager configManager;
    private CooldownManager cooldownManager;
    private ExplosiveCrossbowManager bowManager;
    private HitTrackerManager hitTrackerManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.bowManager = new ExplosiveCrossbowManager(this);
        this.hitTrackerManager = new HitTrackerManager(this);

        getServer().getPluginManager().registerEvents(new CrossbowListener(this), this);
        getCommand("sharpshooter").setExecutor(new ExplosiveCrossbowCommand(this));

        getLogger().info("SharpshooterBow has been enabled!");
    }

    @Override
    public void onDisable() {
        cooldownManager.clearAll();
        hitTrackerManager.clearAll();
        getLogger().info("SharpshooterBow has been disabled!");
    }
}