banny_gaming360_75987

Element Awakening

Spawn Animation:

Float into the air.

Blue particles appear.

Title: [AWAKENING POWER] [RANDOM ELEMENT] Lightning strikes.

Fall back to the ground.

Element unlocked. 🌊 Water (Yash) Water Blast Tidal Wave Water Prison Healing Rain Ocean Spear 🌌 Void (Vortyx) Void Teleport Black Energy Bomb Void Rift Shadow Slash Abyss Domain 🌍 Earth (5Star) Air Elevator Stone Fist Earth Wall Quake Smash Rock Armor ✨ Light (Swarupam) Light Beam Holy Flash Radiant Dash Healing Aura Divine Judgment 🔥 Fire (Loud) Fire Barrier Flame Burst Phoenix Dash Inferno Ball Blazing Rage 🌑 Darkness (Shadow Flame) Darkness Veil Shadow Chains Nightmare Orb Dark Clone Abyss Domain ⛈️ Storm (Terminator) Time Dimension Storm Portal Thunder Spear Lightning Cage Chrono Storm

Special Names → Fixed Elements, everyone else gets a random element.

Kodari AI
KodariJun 22 at 7:06 pm 39

I’ll create an element awakening system with cinematic animations and unique abilities for each element.

ElementAwakening
A mystical element-based ability system where players awaken to one of seven elemental powers. Features cinematic awakening animations with particles and lightning, unique abilities for Water, Void, Earth, Light, Fire, Darkness, and Storm elements, fixed elements for special players, and a comprehensive ability system with cooldowns and visual effects. Players can cast powerful elemental abilities and experience immersive awakening sequences.

Now creating the command classes:

ElementAwakening is complete! 🌊⚡🔥

Features:

  • 7 Elements: Water, Void, Earth, Light, Fire, Darkness, Storm

  • 5 abilities per element (35 total abilities)

  • Cinematic awakening animation: Float up, blue particles, title display, lightning strike, fall back

  • Fixed elements for special players (Yash→Water, Vortyx→Void, etc.)

  • Random element assignment for others

  • Full cooldown system per ability

  • Persistent data storage

Commands:

  • /awaken - Trigger your awakening animation

  • /element - Check your element

  • /ability <name> - Cast an ability (or just /ability to list yours)

  • /elementadmin reload|set|reset - Admin commands

How it works:

  1. Player uses /awaken → Gets cinematic animation with particles, lightning, and title

  2. System assigns element (fixed for special names, random for others)

  3. Player uses /ability <ability-name> to cast abilities

  4. Each ability has unique particles, effects, damage, and cooldowns

All abilities are implemented with visual effects using XSeries for cross-version compatibility!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
52 2,782
src/main/java/com/elementawakening/ElementAwakening.java
package com.elementawakening;

import com.elementawakening.commands.AbilityCommand;
import com.elementawakening.commands.AwakeCommand;
import com.elementawakening.commands.ElementAdminCommand;
import com.elementawakening.commands.ElementCommand;
import com.elementawakening.listeners.JoinListener;
import com.elementawakening.managers.AbilityManager;
import com.elementawakening.managers.AwakeningManager;
import com.elementawakening.managers.ElementManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ElementAwakening extends JavaPlugin {

    private ElementManager elementManager;
    private AwakeningManager awakeningManager;
    private AbilityManager abilityManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        // Save data.yml if it doesn't exist
        if (!getDataFolder().exists()) {
            getDataFolder().mkdirs();
        }
        
        // Initialize managers
        this.elementManager = new ElementManager(this);
        this.awakeningManager = new AwakeningManager(this);
        this.abilityManager = new AbilityManager(this);

        // Register commands
        getCommand("awaken").setExecutor(new AwakeCommand(this));
        getCommand("element").setExecutor(new ElementCommand(this));
        getCommand("ability").setExecutor(new AbilityCommand(this));
        getCommand("elementadmin").setExecutor(new ElementAdminCommand(this));

        // Register listeners
        getServer().getPluginManager().registerEvents(new JoinListener(this), this);

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

    @Override
    public void onDisable() {
        if (elementManager != null) {
            elementManager.saveData();
        }
        getLogger().info("ElementAwakening has been disabled!");
    }

    public String getMessage(String key) {
        return getConfig().getString("messages." + key, "&cMessage not found: " + key)
                .replace("&", "§");
    }
}