c3itic4ls_

Create a Minecraft Paper plugin (1.20+) called "CrisisSMP".

  1. Core Ability System

Each player can have ONLY ONE ability On first join:

Teleport player slightly into the air safely Apply full invulnerability (no damage) Freeze player movement Open ability selection INVENTORY GUI After player selects an ability:

Remove freeze Remove invulnerability Ability choice is permanent unless reset by admin

  1. Commands

/ability choose → Opens ability INVENTORY GUI /ability info → Shows current ability /ability reset → Admin only Ability Usage Commands /ability 1 → Primary Ability /ability 2 → Secondary Ability These commands MUST work alongside right-click activation Prevent command spam and cooldown bypass

  1. Fire Crisis Ability

LEVEL 1 (Primary Only) Permanent Fire Resistance PRIMARY ABILITY (/ability 1): FIRE RING Radius: 5x5 Duration: 5 seconds Damage: 0.5 hearts every 1 second Effects:

Flame + lava particles Fire sound effects Rules:

Only ONE fire ring active at a time Cooldown: 25 seconds LEVEL 2 (Primary + Secondary) PRIMARY ABILITY (/ability 1): FIRE RING Same as Level 1 Shares cooldown system SECONDARY ABILITY (/ability 2): FIREBALL SYSTEM Player has 3 charges Display charges in Boss Bar (e.g., 3/3, 2/3, 1/3, 0/3) Charges do NOT regenerate automatically FIREBALL:

Each use consumes 1 charge Launch projectile forward Damage: 2.5–3 hearts (balanced for Prot 4 armor) Small explosion knockback Flame particle trail Cooldown between shots: 5 seconds Prevent spamming SPECIAL ATTACK (METEOR) Unlock condition: charges reach 0/3 Boss bar text changes to: "SPECIAL READY" Activation:

Use /ability 2 OR right-click Behavior:

Meteor falls from sky at target location Large flame + smoke particles Explosion on impact Damage:

Direct hit: 4–5 hearts AoE: 2 hearts Cooldown after use: 70 seconds

  1. Ability Interaction Rules

Player CAN use Fire Ring while having fireball charges Fire Ring cannot stack with itself Fireball has internal cooldown (5 sec) Meteor only usable at 0/3 charges Fire Ring and Fireball/Meteor must NOT conflict or bug No instant combo abuse (no double-trigger exploits)

  1. Crafting Recipe (Level 2 Unlock Item)

Implement EXACT recipe layout:

NETHERITE_INGOT TOTEM_OF_UNDYING NETHERITE_INGOT ENCHANTED_GOLDEN_APPLE PLAYER_HEAD ENCHANTED_GOLDEN_APPLE NETHERITE_INGOT TOTEM_OF_UNDYING NETHERITE_INGOT Output: Custom item (e.g., "Fire Crisis Core II") Right-click item upgrades player from Level 1 → Level 2

  1. Visual & Effects System

Use particles:

FLAME SOUL_FIRE_FLAME LAVA SMOKE Sounds:

Fire ambient Blaze shoot Explosion (meteor) Custom items:

Blaze rod renamed: "Fire Crisis Catalyst" Use CustomModelData for texture support

  1. UI System

Boss Bar:

Show fireball charges Show "SPECIAL READY" Action Bar:

Show cooldown timers Show ability usage feedback

  1. Config System

Create config.yml with editable values:

Damage Cooldowns Durations Particle intensity

  1. Performance & Stability

Must be optimized for multiplayer No laggy repeating tasks Prevent duplication bugs Prevent ability stacking exploits Clean, well-commented code Ensure plugin is stable, balanced, and suitable for PvP with full enchanted Netherite armor.

Kodari AI
KodariMay 1 at 5:05 pm 21,885 (v2)

I’ll create a comprehensive ability system plugin with the Fire Crisis ability featuring two progression levels.

CrisisSMP
An advanced ability system plugin featuring the Fire Crisis ability with two progression levels. Players select a permanent ability on first join through an interactive GUI. Level 1 provides fire resistance and a fire ring attack. Level 2 unlocks a fireball charge system with a devastating meteor special attack. Includes boss bar charge tracking, configurable cooldowns, and a custom crafting recipe for ability upgrades.

Perfect! I’ve created a comprehensive ability system plugin for CrisisSMP with the following features:

✅ Implemented Features

Core Ability System:

  • First join: teleports player safely, applies invulnerability + freeze, opens ability selection GUI

  • Permanent ability choice (one per player)

  • Admin reset capability

Commands:

  • /ability choose - Opens selection GUI

  • /ability info - Shows current ability & level

  • /ability reset [player] - Admin only

  • /ability 1 - Primary (Fire Ring)

  • /ability 2 - Secondary (Fireball/Meteor)

Fire Crisis Level 1:

  • Permanent Fire Resistance

  • Fire Ring: 5x5 radius, 5s duration, 0.5 hearts/sec, 25s cooldown

  • Flame + lava particles with fire sounds

  • Single ring limit

Fire Crisis Level 2:

  • All Level 1 features

  • 3 fireball charges (tracked in boss bar)

  • Fireball: 2.5-3 hearts damage, flame trail, 5s cooldown between shots

  • Meteor: unlocks at 0/3 charges, 4-5 hearts direct hit, 2 hearts AoE, 70s cooldown

  • Boss bar shows charges or “SPECIAL READY”

Crafting Recipe:

  • Exact layout: Netherite + Totem + Golden Apple + Player Head

  • Crafts “Fire Crisis Core II” upgrade item

  • Right-click to upgrade Level 1 → Level 2

Visual System:

  • Particles: FLAME, LAVA, SMOKE, EXPLOSION

  • Sounds: Fire ambient, blaze shoot, explosions

  • Boss bar charge tracking with colors

  • Action bar feedback (via messages)

Technical:

  • Fully configurable (damage, cooldowns, radius, etc.)

  • Optimized async-safe particle systems

  • No ability stacking exploits

  • Both commands AND right-click activation

  • Performance-optimized for multiplayer

  • Clean Lombok data classes

All configs are editable in config.yml for easy balancing!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
25 1,656
src/main/java/com/crisismc/crisismcsmp/CrisisSMP.java
package com.crisismc.crisismcsmp;

import com.crisismc.crisismcsmp.ability.AbilityManager;
import com.crisismc.crisismcsmp.command.AbilityCommand;
import com.crisismc.crisismcsmp.config.ConfigManager;
import com.crisismc.crisismcsmp.gui.GUIListener;
import com.crisismc.crisismcsmp.gui.GUIManager;
import com.crisismc.crisismcsmp.listener.*;
import com.crisismc.crisismcsmp.player.PlayerDataManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CrisisSMP extends JavaPlugin {
    private ConfigManager configManager;
    private PlayerDataManager playerDataManager;
    private AbilityManager abilityManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.abilityManager = new AbilityManager(this);
        this.guiManager = new GUIManager();
        
        registerCommands();
        registerListeners();
        
        getLogger().info("CrisisSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        playerDataManager.saveAll();
        getLogger().info("CrisisSMP has been disabled!");
    }
    
    private void registerCommands() {
        AbilityCommand abilityCommand = new AbilityCommand(this);
        getCommand("ability").setExecutor(abilityCommand);
        getCommand("ability").setTabCompleter(abilityCommand);
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new JoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new InteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CraftListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ProjectileListener(this), this);
        Bukkit.getPluginManager().registerEvents(new InventoryCloseListener(this), this);
    }
}