iiiiiiiiiiiiiiiiiiiiiiiiiiiii__
📎 1 file 1,314 chars
📄
pasted-code-1782154066636.txt
txt 1 lines
▶
A 1.21.10 plugin custom items: - Scythe of hell: a netherrite axe with a swords attack time and auto fire aspect and with every 10 kills you gain +1 strength effect and it stacks the strength last for 4 ingame days scythe texure - Matcha enchancements: a INVENTORY GUI crafted the item is a netherrite star with a green named titled "hack ui" when used it opens a menu with 3 options [Save point ( save current position )] {teleport ( teleports to save point )} [Disguies (disguis as a mob u select)] Recipes: Scythe of hell: Netherite axe{N} Netherrite star{S} Netherrite sword{G} Air{A} 3x3: |A|A|N| |A|S|A| |G|A|A| Matcha enchancement: Ender Chest{e} Netherrite star{S} Air{a} Bundle-anycolor{b} totems{T} |T|b|T| |T|s|T| |T|e|T| commands: /test {gives all custom items} /oneitem {sets custom items to only 1 craftable + 1 mace} /Smpstart {sets the world border to 2000x2000 makes a 1 min grace perioed and any custom items crafted after they are crafted once become normal /view {see who has the items} Permmisions: admins can run commands /view can be run by anyone Rules: anyone crafting scythe of hell after its made it will lose its on 10 kills = 1 strength feature and only gain fire aspect 1 scythe of hell limits: cannot go higher then strength 4, cannot gain strength if player dies to fire or fall dmg
Kodari AI
KodariJun 22 at 6:58 pm 46
HellScythePlugin
A 1.21 custom item plugin featuring two unique items: the Scythe of Hell (netherite axe with sword speed, auto fire aspect, and a kill-based strength stacking system up to Strength IV lasting 4 in-game days), and the Matcha Enhancement (a "hack ui" nether star that opens a GUI for saving/teleporting to locations and disguising as mobs). Includes SMP utility commands for world borders, grace periods, and one-item mode enforcement via crafting limits.

Here’s the full plugin — 22 files covering items, GUIs, managers, listeners, and commands.


Here’s a summary of everything built:

Items

  • Scythe of Hell — Netherite axe with sword attack speed (-2.4 modifier), auto Fire Aspect II on hit, and a kill-tracking system granting +1 Strength per 10 kills (capped at IV, 4 in-game days duration). The first scythe crafted ever is the “real” one; all subsequent crafts are degraded (fire aspect only).

  • Matcha Enhancement — Green nether star (“hack ui”) that opens a 3-option GUI: save position, teleport to it, and open a mob disguise selector (18 mobs + undisguise).

Commands

Command
Permission
Effect
/test
admin
Gives Scythe + Matcha to self
/oneitem
admin
Locks crafting to 1 of each item + gives sender a Mace
/smpstart
admin
Sets 2000x2000 world border + 60s grace period (no PvP)
/view
everyone
Lists online players holding each custom item

Rules enforced automatically

  • Fire/fall death → kills reset, canGainStrength = false for next life

  • Strength hard cap at IV, won’t exceed it

  • Degraded scythes skip the strength mechanic entirely

  • Grace period blocks all player-vs-player damage

Soft dependency: Disguise requires LibsDisguises to be installed. If absent, the disguise button tells the player to install it — no crash.

iiiiiiiiiiiiiiiiiiiiiiiiiiiii__

The compilation failed with this error:

code
Compilation failed with 3 error(s):

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 3: package me.libraryaddict.disguise does not exist
import me.libraryaddict.disguise.DisguiseAPI;
                                ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 4: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.DisguiseType;
                                              ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 5: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.MobDisguise;
                                              ^


=== COMPILATION ERROR ANALYSIS ===

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java

Please fix this error by creating a new artifact with the corrected code.

iiiiiiiiiiiiiiiiiiiiiiiiiiiii__

The compilation failed with this error:

code
Compilation failed with 9 error(s):

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 3: package me.libraryaddict.disguise does not exist
import me.libraryaddict.disguise.DisguiseAPI;
                                ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 4: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.DisguiseType;
                                              ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 5: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.MobDisguise;
                                              ^

ERROR in   src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 3: package me.libraryaddict.disguise does not exist
  import me.libraryaddict.disguise.DisguiseAPI;
                                  ^

ERROR in   src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 4: package me.libraryaddict.disguise.disguisetypes does not exist
  import me.libraryaddict.disguise.disguisetypes.DisguiseType;
                                                ^

ERROR in   src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 5: package me.libraryaddict.disguise.disguisetypes does not exist
  import me.libraryaddict.disguise.disguisetypes.MobDisguise;
                                                ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 3: package me.libraryaddict.disguise does not exist
import me.libraryaddict.disguise.DisguiseAPI;
                                ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 4: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.DisguiseType;
                                              ^

ERROR in src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java at line 5: package me.libraryaddict.disguise.disguisetypes does not exist
import me.libraryaddict.disguise.disguisetypes.MobDisguise;
                                              ^


=== COMPILATION ERROR ANALYSIS ===

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java
  -   src/main/java/com/kodari/hellscythe/managers/DisguiseManager.java

Please fix this error by creating a new artifact with the corrected code.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
24 1,457
src/main/java/com/kodari/hellscythe/HellScythePlugin.java
package com.kodari.hellscythe;

import com.kodari.hellscythe.commands.OneItemCommand;
import com.kodari.hellscythe.commands.SmpStartCommand;
import com.kodari.hellscythe.commands.TestCommand;
import com.kodari.hellscythe.commands.ViewCommand;
import com.kodari.hellscythe.inventory.gui.GUIListener;
import com.kodari.hellscythe.inventory.gui.GUIManager;
import com.kodari.hellscythe.listeners.MatchaListener;
import com.kodari.hellscythe.listeners.ScytheListener;
import com.kodari.hellscythe.managers.DisguiseManager;
import com.kodari.hellscythe.managers.RecipeManager;
import com.kodari.hellscythe.managers.SavePointManager;
import com.kodari.hellscythe.managers.ScytheKillManager;
import com.kodari.hellscythe.managers.SmpManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class HellScythePlugin extends JavaPlugin {

    private GUIManager guiManager;
    private ScytheKillManager scytheKillManager;
    private SavePointManager savePointManager;
    private SmpManager smpManager;
    private DisguiseManager disguiseManager;
    private RecipeManager recipeManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.guiManager = new GUIManager();
        this.scytheKillManager = new ScytheKillManager(this);
        this.savePointManager = new SavePointManager(this);
        this.smpManager = new SmpManager(this);
        this.disguiseManager = new DisguiseManager();
        this.recipeManager = new RecipeManager(this);

        scytheKillManager.load();
        savePointManager.load();
        smpManager.load();
        recipeManager.registerRecipes();

        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new ScytheListener(this), this);
        Bukkit.getPluginManager().registerEvents(new MatchaListener(this), this);

        getCommand("test").setExecutor(new TestCommand(this));
        getCommand("oneitem").setExecutor(new OneItemCommand(this));
        getCommand("smpstart").setExecutor(new SmpStartCommand(this));
        getCommand("view").setExecutor(new ViewCommand(this));

        scytheKillManager.startRefreshTask();

        getLogger().info("HellScythePlugin enabled.");
    }

    @Override
    public void onDisable() {
        scytheKillManager.save();
        savePointManager.save();
        smpManager.save();
        getLogger().info("HellScythePlugin disabled.");
    }
}