omegayt0440

Rewrite the ENTIRE HeavenCores plugin from scratch.

Target:

Minecraft Paper/Spigot 1.20 Java 17 Maven project Must compile with: mvn clean package Production ready.

================================================== PLUGIN NAME ================================================== HeavenCores

================================================== CORE ABILITY SYSTEM ==================================================

Create 6 Nether Star cores with CustomModelData support.

Holding core → Passive ability active Right click → Active ability

Cooldown system: • Per player • Per core • Independent cooldowns • ActionBar shows remaining seconds • Small cooldown BossBar while ability cooling down

-------------------------------------------------- CORES + PARTICLES + SOUNDS --------------------------------------------------

INFERNO CORE Passive: Fire immune + enemies burn when hit Active: 10 block fire explosion storm Particles: FLAME + LAVA + SMOKE Sound: ENTITY_GENERIC_EXPLODE Cooldown: 25s

FROST CORE Passive: Freeze water under feet Active: Freeze enemies 5 sec Particles: SNOWFLAKE + CLOUD Sound: BLOCK_GLASS_BREAK Cooldown: 30s

STORM CORE Passive: Speed II Active: Lightning rain Particles: ELECTRIC_SPARK Sound: ENTITY_LIGHTNING_BOLT_THUNDER Cooldown: 20s

VOID CORE Passive: 20% dodge chance Active: Blink + blindness Particles: PORTAL + DRAGON_BREATH Sound: ENTITY_ENDERMAN_TELEPORT Cooldown: 18s

EARTH CORE Passive: Resistance II Active: Stone cage trap Particles: BLOCK_CRACK (STONE) Sound: BLOCK_STONE_PLACE Cooldown: 35s

CELESTIAL CORE Passive: Regeneration I Active: Heal self + damage nearby enemies Particles: END_ROD + HEART Sound: ENTITY_PLAYER_LEVELUP Cooldown: 40s

Each core must include full lore explaining passive, active and cooldown.

================================================== PERMISSIONS ==================================================

heavencores.admin • /heavencore give <player> <core> • /heavencore giveall <player> • /heavencore INVENTORY GUI

heavencores.ritual • /start ritual <core> • /close ritual • /forceclose ritual

================================================== CORE INVENTORY GUI ==================================================

Inventory INVENTORY GUI title: "Heaven Cores" • Shows all 6 cores • Clicking gives core • Admin only • Lore visible

================================================== RITUAL SYSTEM (FULL + FINAL FIXED) ==================================================

Prevent starting ritual if already active.

-------------------------------------------------- CRITICAL MOVEMENT RULE --------------------------------------------------

Movement lock ONLY during: • 3-second ascension lift • 5-second player lottery

After player selection: • REMOVE ALL movement restrictions • Players move freely on ground and in air • Target player fully playable • No camera freeze • No zoom effect

-------------------------------------------------- PHASE 1 — ASCENSION (INSTANT TITLE) --------------------------------------------------

Immediately when ritual starts:

TITLE: HEAVEN SMP <CORE NAME> SUBTITLE: Choosing Player

ALL players: • Smooth velocity lift to ~10 blocks (3 sec) • Can look around freely • Cannot walk during lift • No teleport spam • No levitation spam • Cancel fall damage during lift

Particles: PORTAL + END_ROD + FLAME Sound: Beacon + End portal ambience

-------------------------------------------------- PHASE 2 — PLAYER LOTTERY (5 SEC) --------------------------------------------------

After lift → wait 1 sec → start lottery.

Duration EXACTLY 5 seconds: • Rapidly cycle ALL player names • Tick sound each change

Then instantly select random player:

TITLE: <PlayerName> SUBTITLE: Player has been selected

REMOVE movement lock immediately.

-------------------------------------------------- PHASE 3 — BOUNTY HUNT (20 MIN) --------------------------------------------------

BossBar countdown timer.

ActionBar updates EVERY SECOND:

Target: <player> | X Y Z

Players move freely everywhere.

-------------------------------------------------- TARGET SHIFT SYSTEM --------------------------------------------------

If target dies: • Killer becomes new target instantly • Timer DOES NOT reset • Broadcast new hunted player.

-------------------------------------------------- RITUAL END --------------------------------------------------

/close ritual → cancel safely /forceclose ritual → give target core + end ritual

Forceclose MUST always give core.

================================================== CONFIG SYSTEM ==================================================

config.yml: • Cooldowns • Ritual duration • Levitation height • Ability radius/damage • Particle settings • Sound settings • BossBar colors

================================================== OUTPUT REQUIREMENTS ==================================================

Provide FULL Maven project: pom.xml plugin.yml config.yml All Java classes implemented.

Use Spigot ActionBar API.

Must compile: mvn clean package

Kodari AI
KodariFeb 24 at 2:27 pm 33,040 (v2)

I’ll create a complete HeavenCores plugin from scratch with all required features.

HeavenCores
Advanced Minecraft core ability system featuring 6 unique Nether Star cores with passive and active abilities. Includes a ritual system with player lottery mechanics, smooth ascension effects, and bounty hunt gameplay. Features CustomModelData support, per-core cooldowns with ActionBar and BossBar displays, admin GUI, and comprehensive configuration options.

Now I’ll create all remaining files:

All files have been created. The HeavenCores plugin is now complete with:

  • 6 unique cores with CustomModelData, passive/active abilities, particles, and sounds

  • Per-core cooldown system with ActionBar and BossBar displays

  • Full ritual system with ascension, lottery, and bounty hunt phases

  • Movement locking only during ascension and lottery (removed after player selection)

  • Target shift system when hunted player dies

  • Admin commands for giving cores and opening GUI

  • Ritual commands for starting, closing, and force-closing rituals

  • Inventory GUI showing all cores with click-to-receive functionality

  • Comprehensive config for all cooldowns, durations, and settings

Compile with: mvn clean package

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
24 1,730
src/main/java/com/heavencores/HeavenCores.java
package com.heavencores;

import com.heavencores.commands.HeavenCoreCommand;
import com.heavencores.commands.RitualCommand;
import com.heavencores.core.CoreManager;
import com.heavencores.cooldown.CooldownManager;
import com.heavencores.gui.GUIListener;
import com.heavencores.gui.GUIManager;
import com.heavencores.listeners.CoreAbilityListener;
import com.heavencores.listeners.CorePassiveListener;
import com.heavencores.ritual.RitualManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class HeavenCores extends JavaPlugin {
    private CoreManager coreManager;
    private CooldownManager cooldownManager;
    private RitualManager ritualManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.coreManager = new CoreManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.ritualManager = new RitualManager(this);
        this.guiManager = new GUIManager();
        
        registerCommands();
        registerListeners();
        
        getLogger().info("HeavenCores has been enabled!");
    }

    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.shutdown();
        }
        getLogger().info("HeavenCores has been disabled!");
    }

    private void registerCommands() {
        getCommand("heavencore").setExecutor(new HeavenCoreCommand(this));
        getCommand("ritual").setExecutor(new RitualCommand(this));
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new CoreAbilityListener(this), this);
        getServer().getPluginManager().registerEvents(new CorePassiveListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
}