mr.veidemanis

create a special dash sword where you can dash in the direction your looking at and the radius of how far you can dash is 25 blocks make the sword netherite and make sure its only obtainable with operator and make it quick dont make it slow

i want to dash with the dash sword wherever im looking how far it is is 25 blocks and the cooldown should be 25 seconds and the cooldown shows in chat

Kodari AI
KodariMar 1 at 11:35 pm 403 (v2)

I’ll create a dash sword plugin with instant teleportation mechanics.

DashSword
A fast-paced combat plugin featuring a special netherite sword that allows players to dash instantly in their look direction. Players can teleport up to 25 blocks forward with a 25-second cooldown. The dash sword is only obtainable through operator commands and includes chat notifications for cooldown status. Perfect for adding mobility mechanics to PvP or adventure gameplay.

[Generation stopped]

mr.veidemanis

dont make it instant teleportation just make it a fast dash

Kodari AI
KodariMar 1 at 11:37 pm 9,231 (v2)

I need to see your project structure first to understand what you’re working on and what needs to be changed from instant teleportation to a fast dash.

Based on the plugin.yml and config.yml, I can see you have a DashSword plugin with instant teleportation. Let me find the Java files and change the teleportation to a smooth dash with velocity:

I’ll create the DashSword plugin with a smooth velocity-based dash instead of instant teleportation:

Changed instant teleportation to a smooth velocity-based dash that propels the player forward with momentum. The dash-speed config controls how fast the dash is, and it naturally decelerates after the dash completes.

mr.veidemanis

create a special dash sword where you can dash in the direction your looking at and the radius of how far you can dash is 25 blocks make the sword netherite and make sure its only obtainable with operator and make it quick dont make it slow

i want to dash with the dash sword wherever im looking how far it is is 25 blocks and the cooldown should be 25 seconds and the cooldown shows in chat, but dont make it instant teleportation just make it a fast dash

Kodari AI
KodariMar 1 at 11:38 pm 7,727 (v2)

I’ll read the existing files first to understand the current implementation, then modify it to match your requirements.

I’ll update the plugin to use a netherite sword and make the dash faster:

Done! Your Dash Sword now uses a netherite sword with a fast momentum-based dash that covers 25 blocks with a 25-second cooldown. Only operators can obtain it with /dashsword, and the cooldown displays in chat when you try to use it too early.

mr.veidemanis

Make it so i can also dash up and not just forward and name the sword Dash Sword

Kodari AI
KodariMar 1 at 11:44 pm 8,180 (v2)

I’ll read the existing files to understand the current implementation and then modify them to support upward dashing.

I’ll modify the plugin to support both forward and upward dashing. I’ll make it so right-click dashes forward, and shift+right-click dashes upward.

Done! The Dash Sword now supports both forward and upward dashing - right-click to dash forward, shift+right-click to dash upward. The sword name remains “Dash Sword” and I’ve added a new config option for upward dash speed.

mr.veidemanis

Could u remove the cool down of the dash sword from the chat

Kodari AI
KodariMar 1 at 11:48 pm 2,011 (v2)

I’ll help you remove the cooldown message from the chat. Let me first check the current implementation.

I can see the cooldown message is being sent on lines 42-44. I’ll remove that message for you.

Done! The cooldown message has been removed from the chat. Players will still have the cooldown applied, but they won’t see any message when they try to use the dash sword while it’s on cooldown.

mr.veidemanis

Make it so it dashed right where ur looking at

Kodari AI
KodariMar 1 at 11:57 pm 6,036 (v2)

I’ll modify the dash to go in the direction you’re looking. Let me first check the current implementation.

I can see the issue. The current dash gets the look direction but then overrides the Y component to 0.3, making it always dash horizontally. Let me fix it to dash exactly where you’re looking:

mr.veidemanis

make it so it dashes where my crosshair is being placed if i aim my cross hair up it dashes up if i aim it straight it dashes straight if i aim in between the sky and the floor it dashes me there so bascially where i aim that is where i dash

Kodari AI
KodariMar 2 at 12:08 am 7,756 (v2)

I’ll modify the dash system to make you dash in the exact direction you’re looking, including vertical movement.

I’ll modify the system so you dash in the exact direction you’re aiming, including vertical movement.

Changes:

  • Single dash method that uses your exact look direction

  • No more separate upward dash - just aim where you want to go

  • Simplified config and settings

Now the dash sword works exactly as you wanted:

  • Aim up → dash upward

  • Aim straight → dash horizontally

  • Aim down → dash downward

  • Aim at any angle → dash in that exact direction

The system uses your crosshair direction including vertical angle, giving you full 3D directional control!

mr.veidemanis

Can u remove the dash sword cooldown from the chat i dont need it

Kodari AI
KodariMar 2 at 12:15 am 5,400 (v2)

I’ll read the project files to locate and remove the cooldown chat message.

I’ll remove the cooldown message from chat while keeping the cooldown functionality.

Removed the cooldown chat message. The dash will still respect the cooldown, but won’t spam chat anymore.

mr.veidemanis

remove the lore from the sword that says shift + right click to dash upwards only only remove this

Kodari AI
KodariMar 2 at 12:24 am 5,306 (v2)

I’ll help you remove that specific lore line from the dash sword. Let me first examine the current code structure.

I found where the lore is set. I’ll remove the “Shift + Right-click to dash upward!” line from the sword.

Removed the “Shift + Right-click to dash upward!” lore line from the dash sword.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 238
src/main/java/com/dashsword/DashSword.java
package com.dashsword;

import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class DashSword extends JavaPlugin {
    private DashManager dashManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dashManager = new DashManager(this);
        
        getCommand("dashsword").setExecutor(new DashCommand(this));
        getServer().getPluginManager().registerEvents(new DashListener(this), this);
        
        getLogger().info("DashSword enabled with velocity-based dash!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("DashSword disabled!");
    }
}