king_harkesh
📎 1 file 2,659 chars
📄
pasted-code-1781258074902.txt
txt 131 lines
▶
Create a Minecraft Paper/Spigot plugin named "CoreSystemX".

VERSION:
- Minecraft 1.20 to 1.21 compatible
- Java (Bukkit/Paper API)

GOAL:
A 10-core ability system plugin where players select a core and gain powers.

----------------------------------------
CORE SYSTEM:
----------------------------------------

Players can use:
 /core 

Cores:
1. FIRE
2. LIGHTNING
3. WATER
4. EARTH
5. AIR
6. ICE
7. BLOOD
8. POISON
9. GUARDIAN
10. VOID (most OP / GOD CORE)

----------------------------------------
CORE ABILITIES:
----------------------------------------

FIRE:
- Fireball attack
- Burn enemy (5 sec)
- Fire immunity

LIGHTNING:
- Lightning strike ability
- Speed II permanent
- Shock chance stun

WATER:
- Water breathing
- Heal in water
- Water shield (damage reduction)
- Walk on water

EARTH:
- High damage resistance (40%)
- Knockback immunity
- Stone armor buff
- Earth smash AoE

AIR:
- Double jump
- Short flight burst (3-5 sec)
- Speed III
- Air dash

ICE:
- Freeze enemies
- Slowness aura
- Ice trap ability

BLOOD:
- Life steal (20%)
- Strength increases at low HP
- Heal on kill

POISON:
- Poison aura
- Poison arrows
- Weakness effect on hit

GUARDIAN:
- Shield block ability
- High defense
- Knockback resistance
- Heal nearby allies slowly

----------------------------------------
VOID CORE (VERY IMPORTANT - MUST BE OP):
----------------------------------------

Abilities:

/core void → activates void dash + damage
/core void fly → toggles flight ON/OFF

VOID POWERS:
- Teleport dash (5 blocks forward)
- Damage all nearby entities (AOE 5 radius)
- Fly mode like creative (toggle)
- Gravity pull effect (pull enemies)
- Dark particles (dragon breath / purple)
- Teleport sound effect

PASSIVE:
- No fall damage
- Night vision
- Chance to dodge attacks (10%)

----------------------------------------
COMMANDS:
----------------------------------------

/core  → select core
/core void → use void power
/core void fly → toggle flight

----------------------------------------
REQUIREMENTS:
----------------------------------------

- Use CoreType enum
- CoreManager using HashMap
- Separate VoidCore class
- CoreCommand class handling all commands
- Main plugin class extending JavaPlugin
- plugin.yml included
- Clean, working, error-free code
- No missing imports
- Fully compilable project

----------------------------------------
OUTPUT FORMAT:
----------------------------------------

Give full working project with all Java files and plugin.yml.
NO explanation, ONLY code.
Kodari AI
KodariJun 12 at 9:57 am 19

I’ll create a comprehensive 10-core ability system plugin with all features including the OP Void core.

CoreSystemX
A 10-core elemental ability system where players select from Fire, Lightning, Water, Earth, Air, Ice, Blood, Poison, Guardian, or Void cores to gain unique powers. Features include elemental attacks, passive buffs, and the ultimate Void core with creative flight, teleportation, AOE damage, and gravity manipulation. Each core provides distinct combat and utility abilities with cooldown management.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
17 1,036
src/main/java/com/coresystemx/CoreSystemX.java
package com.coresystemx;

import com.coresystemx.listeners.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CoreSystemX extends JavaPlugin {
    private CoreManager coreManager;
    private VoidCore voidCore;
    
    @Override
    public void onEnable() {
        this.coreManager = new CoreManager();
        this.voidCore = new VoidCore(this);
        
        this.getCommand("core").setExecutor(new CoreCommand(this));
        
        registerListeners();
        
        getLogger().info("CoreSystemX enabled with 10 cores!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new FireCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new LightningCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new WaterCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new EarthCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AirCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new IceCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new BloodCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PoisonCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GuardianCoreListener(this), this);
        Bukkit.getPluginManager().registerEvents(new VoidCoreListener(this), this);
    }
    
    @Override
    public void onDisable() {
        voidCore.disableAllFlights();
        getLogger().info("CoreSystemX disabled!");
    }
}