gunika1108-ui

make the cooldown time more and also make it like if you kill any player you will definaily get 2 lvls and you can also gain xp kill mobs like depending on mobs and the players who got killed losses his 2 lvls only if he has 2 lvls else dont get the lvl below 0 , also add cool particles and visuals to the abilites and add a item named soul changer which can randomaly change the players soul ( make the thing and add it in /soulchanger and only then person with op gets the soul changer i will add its recipe by my own using another plugin ) and when a person joins make it very random to get any of soul and add a good visual effect adn use particles to add feel when someone joins the server

Kodari AI
KodariMar 19 at 10:51 am 55,701 (v2)

Let me read all the relevant files first.

Now I have a full picture of the project. Let me plan:

  • Update cooldowns (config), add mob XP config section

  • Rework XPManager.handleKill → guaranteed +2 levels for killer, victim loses up to 2 levels (floor at 1), add mob kill XP

  • Add EntityDeathEvent in PlayerDeathListener for mob XP

  • Add SoulChangerCommand + register it, give a “Soul Changer” item that randomly changes soul on use (consumed)

  • Drastically enhance join animation + ability particle visuals

Now I’ll implement all the changes.

Now I’ll implement everything:

Here’s a full summary of every change made:


✅ What Changed

🕐 Cooldowns Doubled

All ability cooldowns were significantly increased in config.yml — e.g. Fire Ability 1: 10s → 25s, ultimates: 45s → 90-120s.

⚔️ Kill = Guaranteed +2 Levels

XPManager.handleKill() was completely rewritten. Killer always gains exactly 2 levels of Soul XP. Victim loses 2 levels, floored at Level 1 (if they’re at level 1 or 2, they lose proportionally less or nothing). The old steal-percentage system is gone.

🐾 Mob XP on Kill

PlayerDeathListener now listens to EntityDeathEvent. Every mob type has its own XP value in config.yml (e.g. Zombie=15, Ender Dragon=500). XP is awarded to the player who landed the killing blow.

✨ Enhanced Ability Particles

All 15 abilities now have dramatically improved visual effects — multi-ring spirals, trailing particles along trajectories, expanding shockwave rings, heart particles for heals, line-of-sight bolt trails for lightning, etc.

🌟 Epic Join Animation

PlayerJoinListener now has a 4-phase first-join sequence (11 seconds): Soul Stirring → Ritual Begins → All Souls Gather → Soul Reveal — with spiral particle ramps, burst effects, multi-ring reveal rotation, and soul-specific sounds. Returning players also get a short welcome-back spiral and title.

🔮 Soul Changer Item + /soulchanger Command

  • New SoulChangerCommand registered for /soulchanger — OP only

  • Gives a Soul Changer (NETHER_STAR) item distinct from “Soul Changer Orb”

  • Right-clicking it randomly assigns a new soul (guaranteed to be different), plays a full transform animation, resets XP, and consumes the item

  • plugin.yml updated with the soulchanger command

gunika1108-ui
  1. add more particles in abailites of flame dash + add in fireball ability add a small explosion pls ;-; + inferno is doing nothing fix that make it like where yuo stand and use inferno burst it explodes like a explosoion of 10 tnt which destroyes the place
  2. make the ability of root trap that it stunnes a player for 2 sec
  3. the shadow teleport is not working it teleports you to them same posiotion where you werer so fix that like shadow teleports you 20 blocks forward in any dir you are looking a tthe surface also make the abilty of void trap that if a player uses it any entity in its range stunnes for 5 sec and pulls him 2 block upward

4.of the storm soul make its ultimate abilty thunder that it summons 10 lightingin on all entites nerby in 10 blocks range

  1. add more particles in all the abilites so that it looks more fun and engaiggng like the smp which we have nowdays and also make more effects and visulas when we change our soul or get a soul like a ring surrounds us and then we get our soul the ring ends and also make the mob xp getting system clean like add custom xp as per the mob for every mob
Kodari AI
KodariMar 19 at 11:33 am 54,862 (v2)

Let me read all the relevant files first before making any changes.

Now let me read the remaining files.

Now I have a complete picture of the project. Here’s my plan:

  • AbilityManager: Fix activateShadowTeleport (horizontal 20-block surface scan), overhaul activateInfernoBurst (real block explosions), activateFireballBlast (impact explosion), activateRootTrap (2s stun), activateVoidTrap (5s stun + 2-block pull up), activateThunderRage (strike all 10 nearby entities), massively enhance all particle effects

  • AbilityListener: Rewrite playSoulChangeAnimation with expanding/contracting ring effect, add ProjectileHitEvent for fireball visual explosion

  • PlayerDeathListener: Clean up mob XP messages with visual feedback + particles

  • config.yml: Add comprehensive mob XP table for every mob

All changes are complete. Here’s a summary of everything that was done:

Flame Dash — Triple the particle density, added smoke trail, ring of embers on launch, impact explosion burst with a lava splash ring on landing.

Fireball Blast — Fireball now has power 3.5, and a ProjectileHitEvent in AbilityListener triggers onFireballHit() which spawns a massive explosion particle burst (EXPLOSION_LARGE, FLAME, LAVA, SMOKE_LARGE) + plays explosion sounds at impact.

Inferno Burst — Now creates 9 real block-destroying explosions scattered within ~4 blocks of center (1 central power-6 + 8 surrounding power-4), launches enemies into the air, and plays wither spawn + thunder sounds with a full particle buildup.

Root Trap — Now stuns for exactly 2 seconds (40 ticks) with Slowness 254 + Jump 128 + Blindness, with vines-spiralling-upward particle effect and sound feedback.

Shadow Teleport — Completely rewritten: strips the Y component from the look direction, scans horizontally up to 20 blocks forward, handles step-ups and drops to find the surface, then teleports there with rich PORTAL + DRAGON_BREATH arrival effects.

Void Trap — Now immediately stuns all nearby entities within 8 blocks for 5 seconds (100 ticks) AND launches them 2 blocks upward with a pull vector, spawning PORTAL + SQUID_INK + DRAGON_BREATH on each target.

Thunder (Storm Ultimate) — Rewritten to collect all living entities within 10 blocks and cycle through them striking each one with lightning, dealing damage + particles per strike (10 total strikes targeted at actual enemies).

Soul Change Animation — New 3-phase ring animation: ring expands outward (ticks 0–20), contracts back with spiralling soul particles (20–40), then a massive soul-particle explosion burst at tick 41, followed by a rising spiral finale.

Mob XP — Every mob now has its own explicit XP value in config, the kill message is color-coded by mob rarity, XP gain triggers a soul-appropriate particle burst at the kill location, and sound pitch scales with XP value.

gunika1108-ui

this errors is comming ;-;

📎 1 file 6,828 chars
📄
pasted-code-1773977622044.txt
txt 65 lines
▶
[03:31:00 WARN]: [SoulBindingSMP] Task #54 for SoulBindingSMP v1.0.0 generated an exception
java.lang.IllegalArgumentException: missing required data class org.bukkit.Color
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217) ~[guava-33.5.0-jre.jar:?]
	at org.bukkit.craftbukkit.CraftParticle.createParticleParam(CraftParticle.java:70) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1785) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4157) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1773) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4007) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.World.spawnParticle(World.java:3986) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.lambda$run$1(AbilityManager.java:588) ~[?:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.run(AbilityManager.java:587) ~[?:?]
	at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1758) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1613) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:427) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.processPacketsAndTick(MinecraftServer.java:1669) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1337) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:388) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
>....
[03:31:00 WARN]: [SoulBindingSMP] Task #54 for SoulBindingSMP v1.0.0 generated an exception
java.lang.IllegalArgumentException: missing required data class org.bukkit.Color
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217) ~[guava-33.5.0-jre.jar:?]
	at org.bukkit.craftbukkit.CraftParticle.createParticleParam(CraftParticle.java:70) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1785) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4157) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1773) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4007) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.World.spawnParticle(World.java:3986) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.lambda$run$1(AbilityManager.java:588) ~[?:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.run(AbilityManager.java:587) ~[?:?]
	at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1758) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1613) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:427) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.processPacketsAndTick(MinecraftServer.java:1669) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1337) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:388) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
>....
[03:31:00 WARN]: [SoulBindingSMP] Task #54 for SoulBindingSMP v1.0.0 generated an exception
java.lang.IllegalArgumentException: missing required data class org.bukkit.Color
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:217) ~[guava-33.5.0-jre.jar:?]
	at org.bukkit.craftbukkit.CraftParticle.createParticleParam(CraftParticle.java:70) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1785) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4157) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftWorld.spawnParticle(CraftWorld.java:1773) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.World.spawnParticle(World.java:4007) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.World.spawnParticle(World.java:3986) ~[paper-api-1.21.11-R0.1-SNAPSHOT.jar:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.lambda$run$1(AbilityManager.java:588) ~[?:?]
	at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at SoulBindingSMP-1.0.0.jar//com.soulbindingsmp.manager.AbilityManager$7.run(AbilityManager.java:587) ~[?:?]
	at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1758) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1613) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:427) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.processPacketsAndTick(MinecraftServer.java:1669) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1337) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:388) ~[paper-1.21.11.jar:1.21.11-69-94d0c97]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
27 3,657
src/main/java/com/soulbindingsmp/SoulBindingSMP.java
package com.soulbindingsmp;

import com.soulbindingsmp.command.SoulChangerCommand;
import com.soulbindingsmp.command.SoulCommand;
import com.soulbindingsmp.inventory.gui.GUIListener;
import com.soulbindingsmp.inventory.gui.GUIManager;
import com.soulbindingsmp.listener.AbilityListener;
import com.soulbindingsmp.listener.PassiveListener;
import com.soulbindingsmp.listener.PlayerDeathListener;
import com.soulbindingsmp.listener.PlayerJoinListener;
import com.soulbindingsmp.listener.PlayerQuitListener;
import com.soulbindingsmp.manager.AbilityManager;
import com.soulbindingsmp.manager.CooldownManager;
import com.soulbindingsmp.manager.DataManager;
import com.soulbindingsmp.manager.SoulManager;
import com.soulbindingsmp.manager.XPManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SoulBindingSMP extends JavaPlugin {

    private DataManager dataManager;
    private SoulManager soulManager;
    private XPManager xpManager;
    private CooldownManager cooldownManager;
    private AbilityManager abilityManager;
    private GUIManager guiManager;

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

        cooldownManager = new CooldownManager();
        dataManager = new DataManager(this);
        soulManager = new SoulManager(this);
        xpManager = new XPManager(this);
        abilityManager = new AbilityManager(this);
        guiManager = new GUIManager();

        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerQuitListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new AbilityListener(this), this);
        getServer().getPluginManager().registerEvents(new PassiveListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);

        SoulCommand soulCommand = new SoulCommand(this);
        getCommand("soul").setExecutor(soulCommand);
        getCommand("soul").setTabCompleter(soulCommand);

        getCommand("soulchanger").setExecutor(new SoulChangerCommand(this));

        abilityManager.startPassiveTasks();

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

    @Override
    public void onDisable() {
        dataManager.saveAll();
        getLogger().info("SoulBindingSMP has been disabled! All data saved.");
    }
}