fritisguy

make me a minecraft smp plugin called hollow smp plugin make it have this make it have a custom item called stars with a nether star default texture and make it be enchanted look each star has its own abilites you can equip up to 1 star to check what stars you equiped you can use /starbook to see which stars you equip each star has crafting recipes the hollow star does this it turns it into night time and lightning spawns everywhere the next star is the ember star it dashes you forward and backwards and gives speed the next star is the void star it spawns 35 fireballs in the sky the next star is the heart star it gives 40 hearts along with strength and speed. the next star is the blitz star it summons a wither that doesnt attack the user. the final star is the nexus star it hits the player with fire and makes then stuck in cobwebs each star has a 30 second cooldown and the command /stars shows a INVENTORY GUI with each star and if you click it it will show the crafting recipe you decied the crafting recipe make it hard and easy at the same time.

Kodari AI
KodariAug 2 at 5:31 pm 1
HollowSmpPlugin
A survival multiplayer plugin centered around six powerful collectible Stars. Players craft enchanted Nether Star items, equip one Star at a time, and activate its unique ability with a second right-click. Features include the Hollow Star's stormy night, Ember Star dashes, Void Star fireballs, Heart Star strength, Blitz Star wither summoning, and Nexus Star fire-and-cobweb attacks. Includes 30-second cooldowns, persistent equipment, the /stars recipe gallery, and the /starbook equipment viewer.

Created HollowSmpPlugin, a Minecraft SMP Star ability plugin featuring:

  • Six enchanted Nether Star items:

    • Hollow Star

    • Ember Star

    • Void Star

    • Heart Star

    • Blitz Star

    • Nexus Star

  • One equipped Star at a time with persistent player storage.

  • Right-click once to equip and again to activate.

  • Individual 30-second cooldowns.

  • Custom crafting recipes for every Star.

  • /stars recipe gallery GUI.

  • /starbook equipped Star viewer.

  • Unique abilities including lightning storms, dashes, fireballs, extra hearts, friendly Withers, fire, and cobweb traps.

  • Protection preventing Blitz Withers from attacking their owner.

fritisguy

make each star be activated by the command /ability it only works if you have a star and its the same command for all stars depending on the star you have thats the ability that will run.

Kodari AI
KodariAug 2 at 5:33 pm 1
  1. Add /ability as the shared activation command.

  2. Route activation through the player’s equipped Star and enforce the existing cooldown/ownership rules.

  3. Remove right-click activation so abilities only run through /ability, then update command registration if needed.

  1. Added /ability and registered it in plugin.yml.

  2. /ability now activates the ability for the player’s equipped Star.

  3. Players without an equipped Star receive an error message.

  4. Removed right-click activation.

  5. Updated Star item lore to show that /ability is required.

  6. Existing 30-second cooldowns still apply.

fritisguy

alright 1 more thing change the nexus stars abilites dont change the crafting recipe make the nexus star do this when activated it spawns a ice trap dome like a circle with ice blocks u cant break the ice blocks and also all the plugin star abilites last for 1 minute and inside the ice trap dome make it so that the players get slowness and weakness and nausea

Kodari AI
KodariAug 2 at 5:47 pm 5

Updated the Hollow SMP plugin:

  • Nexus Star recipe was left unchanged.

  • Nexus Star now creates a 5-block-high circular ice dome.

  • Ice blocks are temporary and automatically disappear after 1 minute.

  • Ice dome blocks cannot be broken while active.

  • Players inside receive:

    • Slowness

    • Weakness

    • Nausea

  • Nexus effects and the trap last 1 minute.

  • Hollow Star’s lightning continues for 1 minute.

  • Ember Star Speed lasts 1 minute.

  • Void Star now releases fireballs throughout the 1-minute ability duration.

  • Heart Star’s 40 hearts, Strength, and Speed last 1 minute.

  • Blitz Star’s Wither remains for 1 minute.

  • The shared /ability command and 30-second cooldown remain unchanged.

fritisguy

also make it so that whenever you click a star it puts the star you used in the starbook and it gives you that specific stars abilites when u use /ability

Kodari AI
KodariAug 2 at 5:48 pm 1
  1. Make clicking a Star in /stars equip that Star and update /starbook.

  2. Keep the recipe view opening after the click.

  3. Update the no-Star guide text to match the click-to-equip flow.

Updated the Star GUI flow:

  • Clicking a Star in /stars now equips that specific Star.

  • The selected Star is saved in the player’s Starbook.

  • /ability uses the equipped Star’s ability.

  • The crafting recipe still opens after clicking the Star.

  • Updated the Starbook message to say: “Click a Star in /stars to equip it.”

fritisguy

Make it so that whenever /stars is used make it so that if u click it it doesnt equip it and only shows the recipe when you right click a crafted star then it goes into the starbook and update the message and make the abilities THE BEST AS YOU CAN THE BEST PLUGIN EVER.

Kodari AI
KodariAug 3 at 5:49 pm 3
  1. Separate /stars recipe browsing from Star item equipping.

  2. Make right-clicking a crafted Star equip it, consume it, and update /starbook/messages.

  3. Polish the existing abilities without changing recipes or the one-Star/cooldown rules.

The /stars equip call is removed, but the listener file needs a clean repair because the new interaction handler was inserted into the Wither handler boundary. I’m replacing that small listener with the correct event structure and making the crafted-Star consumption work for either hand.

Implemented the Star equipment and GUI changes:

  • /stars now only opens recipes when a Star is clicked.

  • Clicking a Star in /stars never equips it.

  • Right-clicking a crafted Star in either hand:

    • Equips that specific Star.

    • Updates the player’s Starbook.

    • Consumes one Star.

    • Cancels the normal item interaction.

  • /starbook now tells players to right-click crafted Stars to equip them.

  • Star lore now explains the new flow.

  • /ability still uses the currently equipped Star.

  • Improved abilities:

    • Hollow Star now creates real lightning strikes.

    • Void Star now creates four waves of fireballs across the full minute.

    • Nexus effects cover the actual dome radius.

    • Heart Star now safely tracks its active duration and restores health correctly.

  • Crafting recipes were not changed.

  • The 30-second cooldown was preserved.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 859
src/main/java/com/kodari/hollowsmp/HollowSmpPlugin.java
package com.kodari.hollowsmp;

import org.bukkit.plugin.java.JavaPlugin;

public class HollowSmpPlugin extends JavaPlugin {
    private StarManager starManager;

    @Override
    public void onEnable() {
        this.starManager = new StarManager(this);
        this.starManager.registerRecipes();

        StarListener listener = new StarListener(starManager);
        getServer().getPluginManager().registerEvents(listener, this);

        StarCommand command = new StarCommand(starManager);
        if (getCommand("stars") != null) {
            getCommand("stars").setExecutor(command);
        }
        if (getCommand("starbook") != null) {
            getCommand("starbook").setExecutor(command);
        }
        if (getCommand("ability") != null) {
            getCommand("ability").setExecutor(command);
        }
    }

    @Override
    public void onDisable() {
        if (starManager != null) {
            starManager.shutdown();
        }
    }
}