umardalvi

Make a plugin name Eclipse Smp Aisa rakho ke h infuse smp me jaise hotbar ke upar ata h wese rakho jisme hotbar ke upar power btati wese and aisa rakho ke right click se power use hoti ho powers 1.speed 2 2.regenration 2 3.resistence 2 4.thunder (lighting bolt giregi damage 5 heart ka) 5.dolphin grace 6.warden sonic beem (one time warden sonic boom damage 5 hearts ka) 7.dragon breath (dragon breath) 8.feather falling Sab effect 10 second ke liye hoge sonic boom and thunder only 1 time sab effect ka cool down 15 second (translate into English)

Here’s your request translated into clear English:

Create a plugin named Eclipse SMP. Make it similar to Infuse SMP, where powers are displayed above the hotbar. It should show the available powers above the hotbar, just like in Infuse SMP.

The powers should be activated using right-click.

Powers:

Speed II

Regeneration II

Resistance II

Thunder (a lightning bolt strikes, dealing 5 hearts of damage)

Dolphin’s Grace

Warden Sonic Beam (a one-time sonic boom attack dealing 5 hearts of damage)

Dragon Breath

Feather Falling

All effects should last 10 seconds.

Sonic Boom and Thunder should be one-time use per activation.

Each power should have a cooldown of 15 seconds.

Only one power should be active per player at a time (not multiple powers together).

Add a command: /eclipsesmp start

When this command is executed:

The SMP should start for all players.

Every player should receive a random, different power.

Each player must have only one power, and it should be displayed above the hotbar.

No player should have multiple powers at the same time.Bro, add a command /eclipsesmp remove — when this command is used, all players’ effects should be removed.

And above the hotbar, it should show the power we currently have — only the one we have, nothing else.

And we need to do shift + right click to use effectYou can use the effect by pressing Shift + Right Click, both in the air and on a block.

The effect should be displayed above the hotbar in a box, showing the effect name and whether it is ready, along with other related details.

Kodari AI
KodariApr 29 at 9:59 am 8,009 (v2)

I’ll create a power system plugin for Eclipse SMP with unique powers displayed above the hotbar.

EclipseSMP
An SMP power system plugin where each player receives a unique power displayed above the hotbar. Features 8 distinct powers including Speed, Regeneration, Resistance, Thunder, Dolphin's Grace, Warden Sonic Boom, Dragon Breath, and Feather Falling. Powers are activated via Shift + Right Click with 15-second cooldowns and 10-second durations. Includes commands to start the SMP and assign random powers, remove all effects, and real-time ActionBar display showing power status and cooldown timers.

Eclipse SMP Plugin Created Successfully!

The plugin includes:

✅ 8 Unique Powers: Speed II, Regeneration II, Resistance II, Thunder Strike, Dolphin’s Grace, Warden Sonic Boom, Dragon Breath, and Feather Falling

✅ ActionBar Display: Shows your current power name and status (READY or COOLDOWN timer) in a styled box above the hotbar

✅ Shift + Right Click Activation: Works both in air and on blocks

✅ 15-Second Cooldowns: All powers have a 15-second cooldown after use

✅ 10-Second Duration: Timed effects last 10 seconds

✅ Commands:

  • /eclipsesmp start - Assigns random unique powers to all online players

  • /eclipsesmp remove - Removes all effects and power assignments

✅ Damage Powers: Thunder and Sonic Boom deal 5 hearts (10 damage) to targets

✅ Fully Configurable: All durations, cooldowns, damage values, and messages are customizable in config.yml

umardalvi

Add square like infuse smp add square and just square and just see cooldown Time

Kodari AI
KodariApr 29 at 10:04 am 55,476 (v2)

I’ll update the ActionBar display to show a cleaner square box with just the cooldown time, similar to Infuse SMP.


✅ ActionBar Display Updated!

The display now shows a clean, minimal Infuse SMP-style format:

  • When Ready: [■] READY (green square with ready text)

  • On Cooldown: [■] 15s (red square with remaining seconds)

Just the square box with cooldown time - simple and clean like Infuse SMP!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 564
src/main/java/com/eclipse/smp/EclipseSMP.java
package com.eclipse.smp;

import com.eclipse.smp.command.CommandHandler;
import com.eclipse.smp.display.ActionBarDisplay;
import com.eclipse.smp.listener.PowerListener;
import com.eclipse.smp.manager.PowerManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EclipseSMP extends JavaPlugin {
    private PowerManager powerManager;
    private ActionBarDisplay actionBarDisplay;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        powerManager = new PowerManager(this);
        actionBarDisplay = new ActionBarDisplay(this);

        getServer().getPluginManager().registerEvents(new PowerListener(this), this);

        CommandHandler commandHandler = new CommandHandler(this);
        getCommand("eclipsesmp").setExecutor(commandHandler);
        getCommand("eclipsesmp").setTabCompleter(commandHandler);

        actionBarDisplay.start();

        getLogger().info("Eclipse SMP has been enabled!");
    }

    @Override
    public void onDisable() {
        if (actionBarDisplay != null) {
            actionBarDisplay.stop();
        }

        getLogger().info("Eclipse SMP has been disabled!");
    }
}