SIDDH VERMA

ACTIVE ABILITIES

Add a small number of optional active abilities to each power.

RULES:

  • Each player can activate their ability with a configurable keybind.
  • Add a configurable cooldown, preferably 30–90 seconds.
  • Abilities must be simple and balanced.
  • No weapon-based attacks.
  • No instant-kill or extreme damage mechanics.
  • Show a cooldown message/action-bar indicator when the ability is unavailable.
  • Add particles and sounds to make abilities feel cinematic.
  • The ability must be handled safely between client and server.

ACTIVE ABILITY EXAMPLES:

STORM:

  • Ability: Storm Dash
  • Gives the player a short burst of movement speed.
  • Spawn a small lightning/particle visual around the player.
  • Cooldown: 60 seconds.

SHADOW:

  • Ability: Shadow Step
  • Gives temporary invisibility and speed for a few seconds.
  • Spawn dark particles.
  • Cooldown: 60 seconds.

FROST:

  • Ability: Frost Aura
  • Temporarily slows nearby hostile mobs.
  • Spawn snow/frost particles.
  • Cooldown: 60 seconds.

WIND:

  • Ability: Wind Leap
  • Gives a short upward movement boost.
  • Spawn cloud/wind particles.
  • Cooldown: 45 seconds.

NATURE:

  • Ability: Nature's Blessing
  • Gives temporary regeneration to the player.
  • Spawn leaf/heart particles.
  • Cooldown: 75 seconds.

AQUA:

  • Ability: Aqua Burst
  • Gives temporary water-breathing and underwater movement.
  • Spawn bubble particles.
  • Cooldown: 60 seconds.

SOLAR:

  • Ability: Solar Burst
  • Gives temporary Speed and Regeneration during daytime.
  • Spawn bright/spark particles.
  • Cooldown: 75 seconds.

TITAN:

  • Ability: Titan's Guard
  • Gives temporary Resistance.
  • Add a heavy visual effect around the player.
  • Cooldown: 90 seconds.

INFERNO:

  • Ability: Heat Shield
  • Gives temporary fire resistance and environmental protection.
  • Spawn warm/orange particles.
  • Cooldown: 75 seconds.

VAMPIRE:

  • Ability: Blood Rush
  • Temporarily gives movement speed and regeneration at night.
  • Spawn dark/red-themed particles.
  • Cooldown: 75 seconds.

KEYBIND:

  • Default active ability key: G
  • Allow the player to change the key in Minecraft Controls.
  • The keybind is client-side, but activation must be validated server-side.
  • If keybind networking is too complex for a server-only mod, provide a command alternative:

/power ability

COMMANDS: /power ability - Activates the player's current active ability if the cooldown has expired.

/power cooldown - Shows remaining cooldown.

ADMIN: /power set <player> <power> /power reset <player> /power info <power>

IMPORTANT:

The passive power remains permanent.

The active ability is only an additional small bonus.

Death, logout, and server restart must not reset the player's assigned power.

Cooldowns may reset after server restart unless configurable otherwise.

Add configuration options for:

  • ability enabled/disabled
  • cooldown duration
  • ability duration
  • effect strength
  • particles
  • sounds
  • default keybind

Make all ability names, descriptions, cooldowns and messages configurable.

Kodari AI
KodariSep 27 at 8:49 am 1
ElementalPowers
A Minecraft plugin that assigns elemental powers to players with permanent passive effects and configurable active abilities. Players receive a power via admin commands, gaining permanent passive bonuses. Each power includes an optional active ability triggered by a configurable keybind or /power ability command, with configurable cooldowns, durations, effect strengths, particles, and sounds. Features include cooldown tracking with action-bar messages, cinematic particle effects, and safe server-side validation. Admin commands manage power assignment, reset, and info lookup. All names, descriptions, cooldowns, and messages are fully configurable in the config file. Powers persist across death, logout, and server restarts.
  1. Create a Paper plugin with persistent power assignments and the requested power commands.

  2. Add configurable, cooldown-limited abilities with effects, particles, sounds, and messages.

  3. Use /power ability as the server-safe activation option; a server-only plugin cannot register a client Controls keybind.

Created the Paper plugin with ten configurable abilities, persistent power assignments, optional persistent cooldowns, and /power ability, /power cooldown, /power set, /power reset, and /power info.

A server-only plugin cannot add a keybind to Minecraft’s Controls menu, so abilities activate with /power ability; default-keybind is included as an informational config setting.

SIDDH VERMA

PLAYER FIRST JOIN ↓ CHECK: Kya power already hai? ↓ NO ↓ Altar automatically spawn ↓ Player Altar par right-click ↓ Random Power select ↓ Power permanently save ↓ Altar activate effect + particles ↓ Next login/death → SAME POWER

Kodari AI
KodariSep 27 at 9:00 am 1
  1. Spawn a visible, clickable altar for players without a power, and remove stale altars on join.

  2. On its owner’s right-click, choose and immediately save a random power, then show the power’s configured particles, sound, and message.

  3. Keep the assigned power unchanged across death, logout, and restart.

Added the first-join altar flow: players without a power get a glowing altar nearby; right-clicking it grants a random power and saves it immediately. The altar’s name and assignment messages are configurable, and the selected power’s configured particles and sound play on activation.

Assigned powers remain saved through death, logout, and restart. If a player leaves before claiming a power, the altar is spawned again on their next login.

SIDDH VERMA

add this

Kodari AI
KodariSep 27 at 9:00 am 1

The first-join altar flow is already added: players without a power get an altar, and right-clicking it randomly assigns and permanently saves a power. Their assigned power stays the same after death, logout, and restart.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 831
src/main/java/com/kodari/powerabilities/PowerAbilitiesPlugin.java
package com.kodari.powerabilities;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class PowerAbilitiesPlugin extends JavaPlugin {
    private PowerManager powerManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        powerManager = new PowerManager(this);
        powerManager.load();

        PluginCommand powerCommand = getCommand("power");
        if (powerCommand == null) {
            getLogger().severe("The /power command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        PowerCommand executor = new PowerCommand(this, powerManager);
        powerCommand.setExecutor(executor);
        powerCommand.setTabCompleter(executor);
        getServer().getPluginManager().registerEvents(new PowerListener(this, powerManager), this);
    }

    @Override
    public void onDisable() {
        if (powerManager != null) {
            powerManager.save();
        }
    }
}