harrybarry999

make me a scythe that is called "Soul Scythe" for minecraft 1.21.11 paper that is as good as a netherite axe but has the cooldown of a netherite sword, but is a netherite sword that has two custom abilties that are activated by offhand key and one is random chance. the one that is random chance would be giving a player you hit a 10% chance of giving them withering for 5 seconds and blinding them for 5 seconds, the second abilty that is activated when you clikc your offhand key is a dash that sends you ten blocks in the way your facing

Kodari AI
KodariMay 14 at 4:22 pm 6,170 (v2)

I’ll create a custom weapon plugin featuring the Soul Scythe with two unique abilities.

SoulScythe
A custom weapon plugin featuring the legendary Soul Scythe, a powerful netherite sword with the damage of an axe and two unique abilities. The passive ability inflicts Wither and Blindness on hit with a 10% chance, while the active dash ability launches players 10 blocks forward. Includes admin commands to distribute the weapon and full configuration support for ability parameters.

Now I’ll create the complete plugin structure:


Soul Scythe plugin created!

The plugin includes:

  • Soul Scythe item: Netherite sword with 9 damage (axe damage) and 1.6 attack speed (sword cooldown)

  • Passive ability: 10% chance to inflict Wither + Blindness for 5 seconds on hit

  • Active ability: Dash 10 blocks forward when pressing swap hands key (F by default)

  • Command: /soulscythe give <player> to obtain the weapon

  • Full configurability: All ability parameters, cooldowns, and messages in config.yml

The item uses PersistentDataContainer to track it, has custom attributes for proper damage/speed, and is marked as unbreakable.

harrybarry999

could you make the dash a 2 minute cooldown and dont let it go straight up with the dash and also make it so it doesnt say -2.6 cooldown and make it say 1.6 cooldown and also add a config file for me to customise

Kodari AI
KodariMay 14 at 4:32 pm 7,011 (v2)

I’ll read the current files and make those improvements.

I’ll update the files to fix those issues:

Perfect! I’ve updated the Soul Scythe plugin with all your requested changes:

Changes Made:

  1. 2-minute dash cooldown - Changed from 5 seconds to 120 seconds in the config

  2. Horizontal dash only - Modified the dash to only move horizontally (sets Y direction to 0, then adds small 0.2 upward boost to prevent ground collision)

  3. Fixed attack speed display - Added HIDE_ATTRIBUTES flag so it won’t show “-2.4” or any attribute modifiers in the tooltip

  4. Config already exists - The config.yml is fully customizable with all these options:

Config Options:

  • Passive ability: chance, wither duration, blindness duration

  • Active ability: cooldown (in seconds), dash distance

  • Item properties: name, lore, damage, attack speed

  • Messages: all messages are customizable

The weapon now properly shows no attribute modifiers in the tooltip, dashes horizontally for 10 blocks with a 2-minute cooldown, and all parameters can be adjusted in the config file!

harrybarry999

could you make it so it has the info like how much damage and cooldown and also make the dash cooldown show on the items sprite in the hotbar what would slowly go down until the cooldwon is done

Kodari AI
KodariMay 14 at 4:38 pm 10,082 (v2)

I’ll add damage/cooldown info to the lore and implement a visual cooldown bar on the item sprite using durability. Let me read the files first:

Now I’ll add the damage/attack speed info to the lore and implement a visual cooldown bar using the item’s durability:

Now I’ll update the AbilityListener to implement the visual cooldown bar:

Perfect! I’ve implemented all the requested features:

Changes Made:

1. Added Damage & Attack Speed to Lore

  • The item now displays “When in Main Hand:” with attack damage (9) and attack speed (1.6) in the lore

  • Uses Minecraft’s standard blue color (&2) for attributes

2. Visual Cooldown Bar on Item Sprite

  • When you use the dash ability, the item’s durability bar appears and fills up over the 2-minute cooldown

  • The bar gradually fills from empty to full as the cooldown progresses

  • Works even while the item is in your inventory, offhand, or any slot

  • Automatically removes itself when the cooldown completes

  • The item remains unbreakable - the durability bar is only for visual cooldown indication

How It Works:

  • When dash is activated, the item damage is set to max (2031 for netherite sword)

  • A repeating task runs every 2 ticks (0.1 seconds) to update the visual

  • The damage value decreases proportionally to the time remaining

  • When cooldown ends, damage resets to 0 (full durability bar = ready to use)

The visual cooldown follows the item wherever it goes in your inventory, so you can always see when your dash is ready!

harrybarry999

can you make it so every time you get a kill with the soul scythe that whoever you kill there user name becomes black and they have perm fire res and speed and when the die is says they were slain but after that put that they were consumed by the souls

Kodari AI
KodariMay 14 at 8:57 pm 19,311 (v2)

I’ll add a kill tracking system that applies those effects and changes the death message. Let me read the current files first:

Now I’ll add the kill tracking system with name changes, permanent effects, and custom death messages:

Now let me add data persistence so consumed souls are saved across server restarts:

Let me also add a command to remove the consumed soul status from players:

Perfect! I’ve added the kill tracking system with all the requested features:

New Features Added:

1. Soul Consumption on Kill

When a player kills someone with the Soul Scythe:

  • Victim’s username turns black (in-game and tab list)

  • Permanent Fire Resistance effect applied

  • Permanent Speed effect applied

  • Custom death message: “PlayerName was slain by KillerName and consumed by the souls”

2. Persistent Data

  • All consumed souls are saved to data.yml and persist across server restarts

  • Effects and black name are automatically reapplied when players rejoin

3. New Admin Command

  • /soulscythe cleanse <player> - Removes consumed soul status, restores normal name, and removes permanent effects

4. Config Options (config.yml)

YAML
kill-effects:
  enabled: true
  fire-resistance-level: 0  # 0 = Fire Resistance I, 1 = II, etc.
  speed-level: 0  # 0 = Speed I, 1 = II, etc.
  death-message-suffix: " &8and consumed by the souls"

Commands:

  • /soulscythe give <player> - Give the Soul Scythe

  • /soulscythe cleanse <player> - Remove consumed soul curse

All features work together: 2-minute dash cooldown with visual bar, 10% Wither/Blindness proc, and now permanent soul consumption effects on kills!

harrybarry999

wait when you kill someone with the soul scythe do they get perm blindness and wither?

Kodari AI
KodariMay 14 at 8:58 pm 3,578 (v2)

No, when someone is killed with the Soul Scythe, they only get:

  1. Black username (in tab list and above their head)

  2. Permanent Fire Resistance

  3. Permanent Speed

The Wither and Blindness effects are only from the passive ability that has a 10% chance to proc on ANY hit (not just kills), and those are temporary (5 seconds wither, 3 seconds blindness by default).

Would you like me to add permanent Wither and Blindness effects to players who are killed by the Soul Scythe as well?

harrybarry999

can you make the blindness and wither last for 7 seconds and also make it wither 2 and blindness 2

Kodari AI
KodariMay 14 at 8:59 pm 7,484 (v2)

I’ll update the passive ability effects to be stronger and last longer.

Perfect! I’ve updated the passive ability to be much stronger:

Changes Made:

Passive Ability (Wither + Blindness on hit)

  • Wither: Changed from Wither I (5 seconds) → Wither II (7 seconds)

  • Blindness: Changed from Blindness I (3 seconds) → Blindness II (7 seconds)

Config Updated (config.yml)

YAML
passive-ability:
  enabled: true
  chance: 10
  wither-duration: 140  # 7 seconds (20 ticks = 1 second)
  wither-level: 1  # 0 = Wither I, 1 = Wither II
  blindness-duration: 140  # 7 seconds
  blindness-level: 1  # 0 = Blindness I, 1 = Blindness II

All fully customizable! You can adjust both the duration and intensity of the effects in the config file.

harrybarry999

can you make the dash 7 blocks and a cooldown of 60 seconds

Kodari AI
KodariMay 14 at 9:00 pm 2,074 (v2)

I’ll update the dash ability to have a 7 block distance and 60 second cooldown.

Perfect! I’ve updated the dash ability:

Changes Made:

Dash Ability (config.yml)

  • Distance: Changed from 10 blocks → 7 blocks

  • Cooldown: Changed from 120 seconds (2 minutes) → 60 seconds (1 minute)

  • Lore updated: Now shows “Cooldown: 1m” instead of “2m”

The visual cooldown bar on the item sprite will automatically adapt to the new 60-second cooldown duration!

harrybarry999

can you also change the attack damage instead of netherite axe make it netherite sword damage

Kodari AI
KodariMay 14 at 9:01 pm 2,693 (v2)

I’ll change the attack damage from netherite axe (10) to netherite sword (8).

Perfect! I’ve updated the attack damage to match a netherite sword:

Changes Made:

Attack Damage (config.yml)

  • Damage: Changed from 9 → 8 (netherite sword damage)

  • Lore: Updated to show “8 Attack Damage” instead of “9 Attack Damage”

The Soul Scythe now has the same attack damage as a standard netherite sword (8 damage) while keeping the 1.6 attack speed!

harrybarry999

can you make so the cleansers have perm fire res and speed

Kodari AI
KodariMay 15 at 6:47 pm 14,468 (v2)

I’ll add a system so that players who have been cleansed keep permanent fire resistance and speed effects.

I’ll add a tracking system so cleansed players keep their permanent fire resistance and speed effects, but get their normal name back.

Perfect! I’ve added the cleanser system. Here’s how it works:

Cleanser System Added:

When a player is killed with Soul Scythe:

  • Becomes a “consumed soul”

  • Black username

  • Permanent Fire Resistance & Speed

  • Custom death message: “was slain by… and consumed by the souls”

When cleansed with /soulscythe cleanse <player>:

  • Becomes a “cleanser” (saved separately)

  • Username returns to normal color

  • Keeps permanent Fire Resistance & Speed

  • No more custom death message

Data Persistence:

  • Both consumed souls and cleansers are saved to data.yml

  • Effects automatically reapply on server restart or rejoin

Config Updated:

YAML
# Kill Effects (Applied when killing with Soul Scythe)
# Players killed will have their username turn black and receive permanent effects
# When cleansed with /soulscythe cleanse, they become "cleansers" who keep the permanent effects but get their normal name back
kill-effects:
  enabled: true
  fire-resistance-level: 0
  speed-level: 0

Now cleansers have permanent fire resistance and speed, but without the black name or death message curse!

harrybarry999

can you make a third ability that after hitting critting someone 25 times it spawn 5 wither skeletons that attack the person who you where hitting

Kodari AI
KodariMay 15 at 7:52 pm 16,781 (v2)

I’ll add a third ability that spawns wither skeletons after 25 critical hits on the same player.

Perfect! I’ve added the third ability to the Soul Scythe. Here’s what’s new:

Third Ability: Soul Minions

How it works:

  • Every critical hit you land on a player is tracked

  • After 25 critical hits on the same player, 5 Wither Skeletons spawn around them

  • The skeletons automatically target and attack that player

  • Skeletons are named “YourName’s Minion” so everyone knows who summoned them

  • Both players get a message notification when skeletons are summoned

  • Counter resets after spawning, so you can summon more!

Critical Hit Detection:

  • Jump attacks (when you’re falling)

  • Must be airborne with downward velocity

Configuration Options (config.yml):

YAML
wither-skeleton-ability:
  enabled: true
  crits-required: 25  # Hits needed to spawn skeletons
  skeleton-count: 5  # How many skeletons spawn
  skeleton-duration: 300  # 15 seconds (20 ticks = 1 second)
  • Set skeleton-duration: -1 for permanent skeletons

  • Skeletons spawn in a circle pattern around the victim

Item Lore Updated:

Added the new passive ability to the Soul Scythe’s description so players know about it!

harrybarry999

and can you mkae that ability shift right clikc and can you change the dash to right click

Kodari AI
KodariMay 15 at 7:55 pm 25,304 (v2)

I’ll change the controls so dash is just right-click and the wither skeleton ability is shift + right-click.

Perfect! I’ve updated the controls for both abilities. Here’s what changed:

New Control Scheme:

Right-Click (Dash)

  • Distance: 7 blocks

  • Cooldown: 60 seconds

  • Simple right-click with the Soul Scythe

Shift + Right-Click (Summon Wither Skeletons)

  • Land 25 critical hits on a player

  • Then Shift + Right-Click to summon 5 Wither Skeletons that hunt them down

  • Tracks crits separately for each player

  • Targets the player you have the most crits on (minimum 25)

  • Counter resets after summoning

Updated:

  • ✅ Removed swap-hands event (F key)

  • ✅ Changed dash to right-click only

  • ✅ Changed wither skeleton summon to shift + right-click (manual activation)

  • ✅ Updated item lore to reflect new controls

  • ✅ Shows helpful error messages if you try to summon without enough crits

The wither skeletons now require manual activation instead of auto-spawning!

harrybarry999

can you remove it so when you get cleansed you get cleared of your perm speed and fire

harrybarry999

can you scrap this and make me a new plugin

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
8 825
src/main/java/com/soulscythe/SoulScythe.java
package com.soulscythe;

import com.soulscythe.commands.GiveCommand;
import com.soulscythe.item.SoulScytheItem;
import com.soulscythe.listeners.AbilityListener;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

public class SoulScythe extends JavaPlugin {

    private static SoulScythe instance;
    private SoulScytheItem soulScytheItem;
    private AbilityListener abilityListener;
    private File dataFile;
    private FileConfiguration dataConfig;

    @Override
    public void onEnable() {
        instance = this;
        
        saveDefaultConfig();
        loadDataFile();
        
        this.soulScytheItem = new SoulScytheItem(this);
        this.abilityListener = new AbilityListener(this);
        
        getServer().getPluginManager().registerEvents(abilityListener, this);
        
        getCommand("soulscythe").setExecutor(new GiveCommand(this));
        
        getLogger().info("Soul Scythe has been enabled!");
    }

    @Override
    public void onDisable() {
        saveDataFile();
        getLogger().info("Soul Scythe has been disabled!");
    }

    public static SoulScythe getInstance() {
        return instance;
    }

    public SoulScytheItem getSoulScytheItem() {
        return soulScytheItem;
    }

    public AbilityListener getAbilityListener() {
        return abilityListener;
    }

    private void loadDataFile() {
        dataFile = new File(getDataFolder(), "data.yml");
        if (!dataFile.exists()) {
            dataFile.getParentFile().mkdirs();
            try {
                dataFile.createNewFile();
            } catch (IOException e) {
                getLogger().severe("Could not create data.yml!");
                e.printStackTrace();
            }
        }
        dataConfig = YamlConfiguration.loadConfiguration(dataFile);
        
        List<String> consumedUUIDs = dataConfig.getStringList("consumed-souls");
        for (String uuidStr : consumedUUIDs) {
            try {
                abilityListener.addConsumedSoul(UUID.fromString(uuidStr));
            } catch (IllegalArgumentException e) {
                getLogger().warning("Invalid UUID in data.yml: " + uuidStr);
            }
        }
        
        List<String> cleanserUUIDs = dataConfig.getStringList("cleansers");
        for (String uuidStr : cleanserUUIDs) {
            try {
                abilityListener.addCleanser(UUID.fromString(uuidStr));
            } catch (IllegalArgumentException e) {
                getLogger().warning("Invalid UUID in data.yml: " + uuidStr);
            }
        }
    }

    private void saveDataFile() {
        List<String> consumedUUIDs = new ArrayList<>();
        for (UUID uuid : abilityListener.getConsumedSouls()) {
            consumedUUIDs.add(uuid.toString());
        }
        dataConfig.set("consumed-souls", consumedUUIDs);
        
        List<String> cleanserUUIDs = new ArrayList<>();
        for (UUID uuid : abilityListener.getCleansers()) {
            cleanserUUIDs.add(uuid.toString());
        }
        dataConfig.set("cleansers", cleanserUUIDs);
        
        try {
            dataConfig.save(dataFile);
        } catch (IOException e) {
            getLogger().severe("Could not save data.yml!");
            e.printStackTrace();
        }
    }
}