whitingdaejon-boop

Ability Wars Plugin Idea

Core Idea

Players join the server normally with NO abilities.

When the owner/admin runs:

/abilities start

Every player gets:

  • a rolling animation
  • a random ability
  • rarity reveal
  • active powers for the round

Abilities stay until:

  • the round ends
  • reroll command
  • or server reset

---

Game States

WAITING

  • players join
  • no abilities yet
  • lobby mode

Message: "Waiting for the game to start..."

---

STARTING

When admin runs:

/abilities start

Sequence:

  1. announcement
  2. rolling animation
  3. rarity reveal
  4. ability assigned

---

ACTIVE

  • abilities enabled
  • PvP active
  • cooldowns active

---

ENDING

  • winner announced
  • abilities reset
  • return to lobby

---

Commands

Start Game

/abilities start

Stop Game

/abilities stop

Reroll Player

/abilities reroll <player>

Show Your Ability

/ability

---

Rolling Animation

Action Bar Roll Example

⚡ Windrunner 🔥 Inferno Shot 🌌 Singularity ❄ Frost Lock 👻 Phantom Veil

Then:

"YOU ROLLED: 🌌 Singularity"

---

Rarity System

Common

Basic abilities

Rare

Stronger abilities

Epic

Very powerful abilities

Mythic

Game-changing abilities

---

Abilities

---

❄ Frost Lock

Type: Activated Rarity: Rare Cooldown: 30s

Effect:

  • freezes nearby player for 5 seconds
  • target cannot move
  • target can still look around
  • jumping disabled

Visuals:

  • snow particles
  • ice sounds
  • blue frozen title

---

🔥 Inferno Shot

Type: Activated Rarity: Common Cooldown: 15s

Effect:

  • shoot fireball
  • deals 5 hearts damage
  • small explosion
  • lights target on fire briefly
  • no block destruction

Visuals:

  • blaze sound
  • flame particles

---

👻 Phantom Veil

Type: Activated Rarity: Epic Cooldown: 40s

Effect:

  • full invisibility for 10 seconds
  • armor becomes invisible
  • held item becomes invisible
  • player can still be hit

Visuals:

  • smoke particles
  • vanish sound

---

🌌 Singularity

Type: Activated Rarity: Mythic Cooldown: 75s

Effect:

  • creates black hole
  • pulls nearby players inward for 5 seconds
  • caster is immune to pull
  • trapped players launched into air when effect ends

Radius: 10 blocks

Visuals:

  • portal particles
  • smoke
  • dark energy effects
  • loud collapse explosion

Combo Ideas:

  • Singularity + Fireball
  • Singularity + Freeze
  • Singularity + Lightning

---

Suggested Ability Activation

Right click item to activate ability.

Examples:

  • blaze rod = Inferno Shot
  • ice = Frost Lock
  • ender pearl = Phantom Veil
  • nether star = Singularity

---

Future Ability Ideas

Mobility

  • Dash
  • Double jump
  • Teleport

Combat

  • Lightning strike
  • Lifesteal
  • Berserk

Survival

  • Regeneration
  • Fire immunity
  • Water breathing

Chaos

  • Random explosions
  • Chicken army
  • Gravity flip

---

Suggested Plugin Names

  • Ability Wars
  • AbilityCraft
  • Rift
  • Ascension
  • Awakened
  • PowerRoll

---

Recommended First Version (MVP)

Start with:

  • 4 abilities
  • rolling animation
  • cooldown system
  • rarity system
  • game states
  • start command

Then expand later.

Kodari AI
KodariMay 12 at 3:00 am 13,387 (v2)

I’ll create an Ability Wars plugin with rolling animations, game states, and 4 unique abilities.

AbilityWars
A competitive PvP game where players receive random abilities with varying rarities. Features rolling animations, cooldown management, and unique powers including freeze, fireballs, invisibility, and black holes. Game includes multiple states from lobby to active combat with admin controls for managing rounds.

Architecture

Core Systems:

  • Game state management (WAITING → STARTING → ACTIVE → ENDING)

  • Rolling animation with action bar display

  • Ability assignment and cooldown tracking

  • Rarity system (Common, Rare, Epic, Mythic)

  • 4 initial abilities with unique effects

Class Structure:

Plain Text
game/ - GameManager, GameState enum
ability/ - Ability system, AbilityManager, Rarity
ability/impl/ - 4 concrete abilities
command/ - /abilities and /ability commands
listener/ - Player interaction and join events
animation/ - Rolling animation system

Complete Ability Wars Plugin

Created files:

  • Core: Main class, GameManager, GameState enum

  • Abilities: Abstract base, AbilityManager, Rarity enum

  • 4 Abilities: Frost Lock, Inferno Shot, Phantom Veil, Singularity

  • Animation: Rolling action bar system

  • Commands: /abilities (start/stop/reroll), /ability (view current)

  • Listeners: Player interaction and join events

  • Config: Full ability settings and messages

Key Features: ✅ Game state system (WAITING → STARTING → ACTIVE → ENDING) ✅ Rolling animation with action bar cycling ✅ Weighted rarity system (Common 50%, Rare 30%, Epic 15%, Mythic 5%) ✅ Cooldown management per ability ✅ 4 unique abilities with particles and sounds ✅ Right-click item activation ✅ Admin controls for game management

Test it:

  1. /abilities start - Begin game with rolling animations

  2. Right-click your ability item to activate

  3. /ability - Check your current ability and cooldown

  4. /abilities reroll <player> - Give new random ability

  5. /abilities stop - End game and reset

Each ability has unique mechanics: freeze nearby players, launch fireballs, go invisible, or create gravity-pulling black holes!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
18 885
src/main/java/com/example/abilitywars/AbilityWars.java
package com.example.abilitywars;

import com.example.abilitywars.ability.AbilityManager;
import com.example.abilitywars.animation.RollingAnimation;
import com.example.abilitywars.command.AbilitiesCommand;
import com.example.abilitywars.command.AbilityCommand;
import com.example.abilitywars.game.GameManager;
import com.example.abilitywars.listener.PlayerInteractListener;
import com.example.abilitywars.listener.PlayerJoinListener;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AbilityWars extends JavaPlugin {
    
    private GameManager gameManager;
    private AbilityManager abilityManager;
    private RollingAnimation rollingAnimation;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.abilityManager = new AbilityManager(this);
        this.rollingAnimation = new RollingAnimation(this);
        this.gameManager = new GameManager(this);
        
        getCommand("abilities").setExecutor(new AbilitiesCommand(this));
        getCommand("ability").setExecutor(new AbilityCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        
        getLogger().info("AbilityWars enabled!");
    }
    
    @Override
    public void onDisable() {
        if (gameManager != null) {
            gameManager.stopGame();
        }
        getLogger().info("AbilityWars disabled!");
    }
}