naoforlife

Develop a core system plugin for Minecraft SMP featuring six distinct elemental cores: Fire, Ice, Storm, Void, Nature, and Earth, each with unique passives, abilities, and bonuses tailored for various playstyles (offense, control, speed, stealth, sustain, and defense). Ensure that players can only equip one core at a time, with cores requiring inventory space, while implementing cooldowns for abilities, custom recipes for crafting cores, and balancing features to maintain fair gameplay. Additionally, include a INVENTORY GUI interface to manage core selection and display active bonuses. here’s a clean 6-core system you can drop straight into your SMP. 🔥 CORE SYSTEM (6 TOTAL) 🔥 Fire Core (Offense / Nether King) Passive:

Fire Resistance Abilities:

Ring of fire (damages nearby players over time) Swim fast in lava Bonus: 1.5x damage in the Nether

👉 Best for aggressive PvP + Nether fights

❄️ Ice Core (Control / Slowing) Passive:

Resistance I Slowness immunity Abilities:

Hits apply slowness to enemies Freeze water under you (walk on water) chance to “freeze” enemy (brief stun) Bonus:

Take reduced damage from projectiles

👉 Best for controlling fights + annoying enemies

⚡ Storm Core (Speed / Burst Damage) Passive:

Speed II Abilities: change to strike lightning on hit Dash ability (short cooldown) Bonus:

Extra damage when sprinting

👉 Best for fast-paced PvP + chasing

🌑 Void Core (Stealth / Mobility) Passive:

Invisibility Abilities:

Right-click teleport (short range) Temporary blinds player (cooldown) Bonus:

No fall damage

👉 Best for escaping + surprise attacks

🌿 Nature Core (Sustain / Poison) Passive:

Regeneration I Abilities:

Poison enemies on hit Heal slightly when hitting players Bonus:

Slowly regenerate health over time (even in combat, but weaker)

👉 Best for long fights + survivability

🪨 Earth Core (Tank / Defense) Passive:

Resistance II Slowness I (balance) Abilities:

Temporary shield (reduce damage heavily for a few seconds) Knockback resistance Bonus:

Extra damage when standing still

👉 Best for tank players + holding ground

⚖️ BALANCE TIP (IMPORTANT)

To keep your SMP fair:

Only 1 core per player Core must stay in inventory Add cooldowns to abilities (teleport, dash, shield) Add custom recipes to craft cores

Kodari AI
KodariMar 22 at 3:47 pm 27,967 (v2)
ElementalCores
A core system plugin for Minecraft SMP featuring six elemental cores: Fire, Ice, Storm, Void, Nature, and Earth. Each core provides unique passives, abilities, and bonuses tailored for distinct playstyles. Players equip one core at a time by keeping it in their inventory. Includes cooldown management, custom crafting recipes, a GUI-based core selection interface, and per-world/dimension bonuses. Designed for balanced competitive SMP gameplay.

Planning my classes before writing:

  • ElementalCores — main plugin, holds all managers

  • CoreType — enum for 6 core types

  • CoreManager — tracks equipped cores, applies passives, handles ability triggers

  • CooldownManager — per-player per-ability cooldowns

  • RecipeManager — registers custom crafting recipes

  • CoreListener — handles hit events, move events, interact events, inventory events

  • CoreCommand — /core command + subcommands

  • inventory/InventoryHandler, InventoryButton, InventoryGUI

  • inventory/gui/GUIManager, GUIListener

  • inventory/impl/CoreSelectionGUI — the selection/info GUI

  • ItemBuilder — utility for building ItemStacks cleanly

No external APIs needed. I’ll write all files now.

ElementalCores
A core system plugin for Minecraft SMP with six elemental cores: Fire, Ice, Storm, Void, Nature, and Earth. Each core grants unique passives, abilities, and dimension/condition bonuses tailored for offense, control, speed, stealth, sustain, and defense playstyles. Players equip one core at a time by holding it in inventory. Features cooldown management, custom crafting recipes, inventory GUI for core selection, and balanced gameplay mechanics.

Here’s a summary of everything built:

ElementalCores is fully implemented with:

  • 6 Core Types (CoreType enum) — Fire, Ice, Storm, Void, Nature, Earth — each with display names, colored lore describing passives/abilities/bonuses, and a crafting material key

  • CoreManager — detects cores in player inventory automatically on join/pickup/drop/click, applies/removes potion-based passives (Fire Resistance, Speed II, Invisibility, Resistance I/II, Regeneration, Slowness), and tracks equipped cores per UUID

  • CooldownManager — per-player, per-ability cooldown tracking with remaining seconds display

  • CoreListener — handles all ability triggers: Ring of Fire (AoE damage + fire), Dash (velocity burst), Blink (block-targeted teleport) + auto-Blind, Stone Shield (4x Resistance for 5s), hit passives (Ice slowness/freeze, Storm lightning + sprint damage, Nature poison + lifesteal, Fire nether bonus, Earth standing-still bonus), Ice Walk (freezes water blocks under feet), fall damage immunity for Void, reduced projectile damage for Ice

  • RecipeManager — 6 unique shaped crafting recipes using thematic materials

  • CoreSelectionGUI (54-slot) — color-coded glass pane borders, 6 core slots showing live equipped status + cooldown overview in a status display item, remove-core button

  • CoreCommand (/core) — menu, info, remove, give (admin), reload (admin) with tab completion

  • ItemBuilder utility — builds core items with enchant glow, lore, and glass panes for the GUI

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
IMPORTANT.txt
Code
18 1,438
src/main/java/com/elementalcores/ElementalCores.java
package com.elementalcores;

import com.elementalcores.commands.CoreCommand;
import com.elementalcores.core.CoreManager;
import com.elementalcores.core.CooldownManager;
import com.elementalcores.core.RecipeManager;
import com.elementalcores.listeners.CoreListener;
import com.elementalcores.inventory.gui.GUIManager;
import com.elementalcores.inventory.gui.GUIListener;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

public class ElementalCores extends JavaPlugin {

    @Getter
    private static ElementalCores instance;

    @Getter
    private CoreManager coreManager;

    @Getter
    private CooldownManager cooldownManager;

    @Getter
    private GUIManager guiManager;

    @Getter
    private RecipeManager recipeManager;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        cooldownManager = new CooldownManager();
        coreManager = new CoreManager(this);
        guiManager = new GUIManager();
        recipeManager = new RecipeManager(this);

        recipeManager.registerRecipes();

        getServer().getPluginManager().registerEvents(new CoreListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);

        CoreCommand coreCommand = new CoreCommand(this);
        getCommand("core").setExecutor(coreCommand);
        getCommand("core").setTabCompleter(coreCommand);

        getLogger().info("ElementalCores enabled successfully.");
    }

    @Override
    public void onDisable() {
        getLogger().info("ElementalCores disabled.");
    }
}