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: LIGHTNING_THUNDER Cooldown: 20s

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

EARTH CORE Passive: Resistance II Active: Stone cage trap Particles: BLOCK_CRACK_STONE Sound: STONE_PLACE Cooldown: 35s

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

Each core must contain full lore.

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

heavencores.admin → give + INVENTORY GUI heavencores.ritual → ritual commands

Commands: /heavencore give <player> <core> /heavencore giveall <player> /heavencore INVENTORY GUI

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

Inventory INVENTORY GUI: "Heaven Cores" Click item → give core Admin only.

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

Command: /start ritual <core>

Prevent starting if ritual already active.

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

Immediately when command runs:

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

No delay.

ALL players: • Smooth velocity lift to ~10 blocks (3 seconds) • Can LOOK around freely • Cannot walk during lift • NO camera zoom • NO teleport spam • NO levitation spam • NO fall damage during lift

Particles around players:

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

-------------------------------------------------- PHASE 2 — PLAYER LOTTERY (TIMING FIX) --------------------------------------------------

After lift completes → wait 1 second → start lottery.

Lottery duration EXACTLY 5 seconds: • Rapidly cycle ALL online player names • Tick sound each change • Players still floating

After 5 sec → instantly select random player.

TITLE: <PlayerName> SUBTITLE: Player has been selected

Broadcast bounty message.

IMPORTANT:

REMOVE movement lock immediately after selection.

Players must walk normally now.

-------------------------------------------------- PHASE 3 — BOUNTY HUNT (COORD FIX) --------------------------------------------------

Duration: 20 minutes.

BossBar timer countdown.

ActionBar MUST update EVERY SECOND:

Target: <player> | X Y Z

Live coordinates required.

-------------------------------------------------- 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 • Particles • Sounds • 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:16 pm 4,792 (v2)

I’ll create a complete HeavenCores plugin with the ritual system, 6 cores with abilities, GUI, and all requested features.

HeavenCores
An advanced core ability system featuring 6 Nether Star cores with unique passive and active abilities, a complex ritual system with multi-phase player selection and bounty hunting mechanics, cooldown management, particle effects, and admin GUI interface for core distribution.

Plan

  • Maven project with Paper API, XSeries, Lombok

  • 6 cores with passive/active abilities, particles, sounds, cooldowns

  • GUI system for admin core distribution

  • Ritual system: ascension → lottery → bounty hunt with live coordinates

  • Movement lock during ascension only, target shift on kill

  • ActionBar cooldowns and coordinates, BossBar timers

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
9 600
src/main/java/com/heavencores/HeavenCores.java
package com.heavencores;

import com.heavencores.command.CloseRitualCommand;
import com.heavencores.command.HeavenCoreCommand;
import com.heavencores.command.RitualCommand;
import com.heavencores.core.CoreManager;
import com.heavencores.core.CooldownManager;
import com.heavencores.inventory.gui.GUIListener;
import com.heavencores.inventory.gui.GUIManager;
import com.heavencores.listener.CoreListener;
import com.heavencores.listener.RitualListener;
import com.heavencores.ritual.RitualManager;
import lombok.Getter;
import org.bukkit.Bukkit;
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();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("HeavenCores has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.shutdown();
        }
        if (cooldownManager != null) {
            cooldownManager.shutdown();
        }
        getLogger().info("HeavenCores has been disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new CoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RitualListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        getCommand("heavencore").setExecutor(new HeavenCoreCommand(this));
        getCommand("startritual").setExecutor(new RitualCommand(this));
        getCommand("closeritual").setExecutor(new CloseRitualCommand(this, false));
        getCommand("forcecloseritual").setExecutor(new CloseRitualCommand(this, true));
    }
}