yokeshav

IMPORTANT:

Generate a COMPLETE WORKING Minecraft Paper 1.20 plugin + COMPLETE RESOURCE PACK.

Return ONLY project files and source code.

Must compile with: mvn clean package

Plugin must be: • Crash-proof • Exploit-proof • Reload-safe • Memory-leak safe

================================================== OUTPUT STRUCTURE ================================================== Return FULL project:

pom.xml plugin.yml config.yml All Java classes

resourcepack/ pack.mcmeta assets/minecraft/models/item/ assets/minecraft/textures/item/

================================================== RESOURCE PACK (AUTO GENERATED) ==================================================

Generate low-poly dark fantasy 3D models using CustomModelData for:

• Blood Bow • Reaper Scythe • Storm Spear • Meteor Hammer • Demon Sword • Vyapam Artifact

Plugin must auto-send resource pack on join if URL exists.

================================================== RITUAL SYSTEM ==================================================

Command: /start curse <weapon>

Prevent duplicate ritual using boolean ritualRunning.

ALL PLAYERS:

PHASE 1 — ASCEND (5s) • Smooth upward velocity task • Apply slow falling • Circular particles (PORTAL + REDSTONE + SMOKE) • Ritual ambience sound

TITLE: Curse of SMP SUBTITLE: Choosing Player

PHASE 2 — FLOAT HOLD (3s)

PHASE 3 — COUNTDOWN 3 → 2 → 1 with bell sounds.

PHASE 4 — SELECT PLAYER (SHOW ONCE) TITLE: <PlayerName> SUBTITLE: FOR THE ULTIMATE CHAOS

PHASE 5 — DESCEND (5s) Remove slow falling after landing.

================================================== BOSSBAR TIMER ==================================================

Default: 30 minutes.

Configurable in config.yml.

================================================== HUNT SYSTEM ==================================================

Target player: • Permanent glowing (milk cannot remove) • ActionBar every second: %player% X:%x% Y:%y% Z:%z%

If target killed → killer becomes new target.

If target leaves → random new target.

Timer does NOT reset.

================================================== COMMANDS ==================================================

/start curse <weapon> /close /forceclose /giveweapon <player> <weapon> /giveallweapons <player> /weapongui

INVENTORY GUI title: Curse Weapons

================================================== WEAPON SYSTEM ==================================================

Abilities ONLY work when holding Curse weapon via CustomModelData.

All weapons: • Owner bound (cannot drop) • Cooldowns per player • ActionBar cooldown display • Particles + sounds • FULL LORE REQUIRED

-------------------------------------------------- CURSE BOW — Blood Hunter Bow -------------------------------------------------- Shift + Right Click:

Shoot blood arrow projectile.

Shift + Left Click:

Shoot Wither Skull projectile.

Cooldown: 40s

-------------------------------------------------- CURSE SWORD — Demon Blade -------------------------------------------------- Passive:

Strength I + Fire Resistance.

Shift + Left Click:

Shoot large ghast fireball that explodes and ignites enemies.

Cooldown: 25s

-------------------------------------------------- CURSE SCYTHE — Reaper Scythe -------------------------------------------------- Shift + Left Click:

Become invincible 10s.

Enemies within 5 blocks get Wither II + Slowness II.

Cooldown: 8 minutes

-------------------------------------------------- CURSE SPEAR — Storm Spear -------------------------------------------------- Shift + Right Click:

Dash forward and lightning strike landing point.

Shift + Left Click:

Strike lightning 3 times on target.

Cooldown: 35s

-------------------------------------------------- CURSE HAMMER — Meteor Hammer -------------------------------------------------- Shift + Left Click:

Shockwave knockback slam.

Shift + Right Click:

Summon meteor from sky dealing 50 hearts true damage.

Cooldown: 60s

-------------------------------------------------- CURSE VYAPAM — Chaos Artifact -------------------------------------------------- Passive:

Speed II + Resistance I + Regeneration I.

Shift + Right Click:

Teleport ALL nearby players randomly (20 block radius) Apply Blindness + Nausea 5s to enemies.

Cooldown: 90s

================================================== LORE FORMAT (FOR ALL WEAPONS) ==================================================

§6Passive Ability: §7Description

§cMain Ability: §7Description

§eCooldown: §7Time

§bHow to Use: §7Shift + Click

================================================== SAFETY ==================================================

On plugin disable: • Cancel ALL tasks • Remove BossBars • Remove glowing/effects • Clear maps

================================================== FINAL OUTPUT ==================================================

Return FULL Maven project + FULL resource pack.

No explanation text.

And also generate all weapon per texture pack 3D model which look deadliest and unique not real life type and note it only work to this custom weapons not default weapons

Kodari AI
KodariFeb 27 at 9:03 am 32,108 (v2)

I’ll create a complete dark fantasy curse ritual plugin with custom weapons and a resource pack.

CurseOfSMP
A dark fantasy ritual plugin featuring six deadly curse weapons with unique abilities. Players participate in dramatic multi-phase rituals with particle effects and sounds, then hunt a selected target with a ticking bossbar timer. Each weapon has passive and active abilities with cooldowns, custom 3D models via resource pack, and owner-binding mechanics. Includes GUI-based weapon selection and comprehensive admin commands.

Complete Curse of SMP plugin with custom weapons, ritual system, hunt mechanics, and full resource pack. All weapons feature unique abilities with cooldowns, particle effects, and owner-binding. The ritual system includes 5 phases with smooth transitions, and the hunt system tracks targets with permanent glowing and real-time coordinates. Resource pack includes custom 3D models with dark fantasy aesthetics for all six weapons.

Kodari can make mistakes. Review important code before using.
Files
resourcepack
src
manifest.kod
pom.xml
Code
36 1,877
src/main/java/com/curseofsmp/CurseOfSMP.java
package com.curseofsmp;

import com.cryptomorin.xseries.XMaterial;
import com.curseofsmp.command.CommandHandler;
import com.curseofsmp.gui.GUIListener;
import com.curseofsmp.gui.GUIManager;
import com.curseofsmp.listener.WeaponListener;
import com.curseofsmp.manager.HuntManager;
import com.curseofsmp.manager.RitualManager;
import com.curseofsmp.manager.WeaponManager;
import com.tcoded.folialib.FoliaLib;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CurseOfSMP extends JavaPlugin {
    private FoliaLib foliaLib;
    private RitualManager ritualManager;
    private HuntManager huntManager;
    private WeaponManager weaponManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.foliaLib = new FoliaLib(this);
        this.ritualManager = new RitualManager(this);
        this.huntManager = new HuntManager(this);
        this.weaponManager = new WeaponManager(this);
        this.guiManager = new GUIManager();
        
        CommandHandler commandHandler = new CommandHandler(this);
        getCommand("start").setExecutor(commandHandler);
        getCommand("close").setExecutor(commandHandler);
        getCommand("forceclose").setExecutor(commandHandler);
        getCommand("giveweapon").setExecutor(commandHandler);
        getCommand("giveallweapons").setExecutor(commandHandler);
        getCommand("weapongui").setExecutor(commandHandler);
        
        Bukkit.getPluginManager().registerEvents(new WeaponListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        
        getLogger().info("CurseOfSMP has been enabled!");
    }

    @Override
    public void onDisable() {
        if (foliaLib != null) {
            foliaLib.getScheduler().cancelAllTasks();
        }
        if (ritualManager != null) {
            ritualManager.cancelRitual();
        }
        if (huntManager != null) {
            huntManager.cleanup();
        }
        getLogger().info("CurseOfSMP has been disabled!");
    }
    
    public void sendResourcePack(Player player) {
        if (!getConfig().getBoolean("resource-pack.enabled", false)) return;
        
        String url = getConfig().getString("resource-pack.url", "");
        if (url.isEmpty()) return;
        
        String rawPrompt = getConfig().getString("resource-pack.prompt", "Download resource pack!");
        final String prompt = rawPrompt.replace("&", "§");
        
        boolean force = getConfig().getBoolean("resource-pack.force", false);
        
        foliaLib.getScheduler().runAtEntityLater(player, task -> {
            player.setResourcePack(url, null, prompt, force);
        }, 20L);
    }
}