dragonhollo3w

Create me a plugin which assign random active + passive abilities in the same active + passive total make 14 abilties like that and then make the player float when he join server for the first time and assign the ability through a spinning wheel and when the player gets assigning the ability there should be particles of like fire and all so it look cools and when player it should take no fall damage and make the abilities unique and make it for version 1.21.11

Kodari AI
KodariJun 29 at 8:09 am 4

I’ll create AbilityWheel — a plugin that gives players a floating first-join ceremony with a spinning wheel that assigns random active + passive abilities (7 each = 14 total).

AbilityWheel
A unique abilities plugin that assigns random active and passive abilities to players through a spinning wheel ceremony. Features 7 active abilities (Fire Blast, Lightning Strike, etc.) and 7 passive abilities (Flame Aura, Frost Walker, etc.). First-join players float while the wheel spins with particle effects, then receive their abilities. Includes fall damage immunity and cooldown management.

Starting with build files and core classes:

Now the 7 active ability implementations:

Now the 7 passive ability implementations:

Now the manager, data, GUI, listeners, and utils:

All files created. Let me verify the build structure compiles correctly by checking if there are any missing imports or references.

All 25 files are created successfully. Here’s the complete project structure:

AbilityWheel — 24 Java source files + 3 resource files:

Layer
Files
Core
AbilityWheelPlugin.java
,
config.yml
,
plugin.yml
,
build.gradle
Ability base
Ability.java
,
ActiveAbility.java
,
PassiveAbility.java
,
AbilityType.java
Active abilities (7)
FireBlastAbility
,
LightningStrikeAbility
,
IcePrisonAbility
,
TeleportDashAbility
,
MeteorStormAbility
,
WindGustAbility
,
ShadowStepAbility
Passive abilities (7)
FlameAuraAbility
,
FrostWalkerAbility
,
RegenerationAbility
,
StrengthBoostAbility
,
SwiftWindAbility
,
ThornSkinAbility
,
LavaWalkerAbility
Managers & Data
AbilityManager.java
,
PlayerData.java
GUI
AbilityWheelGUI.java
Listeners
PlayerListeners.java
,
AbilityListeners.java

Key features implemented:

  • First-join ceremony: Player floats in air, spinning wheel GUI opens with colored glass panes whirling around, fire/end rod/spell particles erupt during animation

  • 7 active abilities: Fire Blast (projectile), Lightning Strike (targeted), Ice Prison (trap), Teleport Dash (movement), Meteor Storm (AoE), Wind Gust (knockback), Shadow Step (stealth)

  • 7 passive abilities: Flame Aura (burns attackers), Frost Walker (freezes water), Regeneration (healing), Strength Boost (melee damage), Swift Wind (speed), Thorn Skin (reflects damage), Lava Walker (walk on lava)

  • Fall damage immunity — players never take fall damage

  • Particle extravaganza — FLAME, END_ROD, LAVA, SOUL_FIRE_FLAME, SWEEP_ATTACK, SPELL_WITCH, and DRAGON_BREATH during wheel spin

  • Cooldowns on all active abilities, configurable

  • Player head + colored glass GUI with confirmation slot

  • Persistent storage via config.yml per-player data

  • XSound + XParticle usage for cross-version compatibility

dragonhollo3w

Can u show the abiltiies

Kodari AI
KodariJun 29 at 8:15 am 1

Here are all 14 abilities (7 Active + 7 Passive):


⚡ Active Abilities (right-click to activate)

#
Ability
Icon
Cooldown
Effect
1
Fire Blast
🔥
Fire Charge
10s
Launches a powerful fireball that explodes on impact (yield 3, incendiary)
2
Lightning Strike
⚡
Lightning Rod
14s
Strikes lightning at your target block, dealing 8 damage to all nearby enemies within 4 blocks
3
Ice Prison
❄️
Packed Ice
18s
Applies
Slowness III
(5s) +
Blindness
(3s) to all enemies within 6 blocks
4
Teleport Dash
🌀
Ender Pearl
7s
Dashes forward up to 12 blocks, with smart wall collision — steps down to 6→3 blocks. End portal particles at start and end
5
Meteor Storm
☄️
Magma Cream
22s
Rains
7 fireballs
from Y+30 in a 5-block radius around your target — each with yield 2, incendiary
6
Wind Gust
💨
Feather
11s
Blasts all nearby entities within 7 blocks away with velocity 2.5 + 0.4 upward
7
Shadow Step
👻
Ender Eye
16s
Teleports behind the nearest
monster
within 20 blocks, with smoke particle effects. If no enemy nearby, sends an error message

🛡️ Passive Abilities (always active)

#
Ability
Icon
Effect
1
Flame Aura
🔥
Blaze Powder
Every 2s, sets nearby non-player entities on fire (+40 fire ticks, max 100) within 3 blocks
2
Frost Walker
🧊
Snowball
Every 2s, turns any water block you stand in or below into ice
3
Regeneration
❤️
Golden Apple
Every 2s, applies Regeneration II (3s) if health isn’t full. Cleans up on removal
4
Strength Boost
💪
Diamond Sword
Permanent Strength I — reapplied every 5s. Cleans up on removal
5
Swift Wind
💨
Sugar
Permanent Speed II — reapplied every 5s. Cleans up on removal
6
Thorn Skin
🌵
Cactus
30% chance
on being hit: sets attacker on fire (2s) + knocks them back with 0.5 velocity
7
Lava Walker
🌋
Lava Bucket
Converts lava below you into magma blocks every 2s + cancels all fire/lava damage + clears fire ticks

How they’re assigned

Each player gets 1 active + 1 passive randomly selected from the pools. The spinning wheel GUI shows all 14 abilities cycling with colored glass + particle effects (FLAME, END_ROD, SOUL_FIRE_FLAME, DRAGON_BREATH, SPELL_WITCH). When the wheel stops, ceremonial particles burst at the player’s location and a confirmation slot opens with the assigned ability item.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
27 1,457
src/main/java/com/abilitywheel/AbilityWheelPlugin.java
package com.abilitywheel;

import com.abilitywheel.gui.AbilityWheelGUI;
import com.abilitywheel.listener.AbilityListeners;
import com.abilitywheel.listener.PlayerListeners;
import com.abilitywheel.manager.AbilityManager;
import org.bukkit.plugin.java.JavaPlugin;

public class AbilityWheelPlugin extends JavaPlugin {

    private static AbilityWheelPlugin instance;
    private AbilityManager abilityManager;
    private AbilityWheelGUI wheelGUI;

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

        this.abilityManager = new AbilityManager(this);
        this.wheelGUI = new AbilityWheelGUI(this);

        getServer().getPluginManager().registerEvents(new PlayerListeners(this), this);
        getServer().getPluginManager().registerEvents(new AbilityListeners(this), this);

        getLogger().info("AbilityWheel enabled — 7 active + 7 passive abilities loaded!");
    }

    @Override
    public void onDisable() {
        if (abilityManager != null) {
            abilityManager.saveAll();
        }
        getLogger().info("AbilityWheel disabled.");
    }

    public static AbilityWheelPlugin getInstance() {
        return instance;
    }

    public AbilityManager getAbilityManager() {
        return abilityManager;
    }

    public AbilityWheelGUI getWheelGUI() {
        return wheelGUI;
    }
}