remexo.

Plugin Name: "ABILITY-BY-REMEXO"

Requirements

  • Language: Java
  • Minecraft Server Version: 1.26.1.2 (Java Edition) (target exactly this version as requested)
  • Do not use any other gameplay method. Implement only the mechanics described below.
  • Every player can have only one ability.
  • When a new player joins for the first time, the plugin automatically assigns one random ability according to the chances listed below.
  • The assigned ability must be saved permanently so it remains after logout, restart, or server reboot.
  • Every ability should have its own cooldown.
  • Display a message whenever:

- Ability is assigned. - Ability is used. - Ability is on cooldown. - Cooldown ends.

---

  1. WIND ABILITY

Chance: 20%

Activation

Shift + Right Click

Power

  • Launch the targeted player or mob into the air with a strong wind effect.
  • Give the ability owner Instant Health Boost for 5 seconds.
  • Cooldown: 60 seconds.

---

  1. NETHERITE GOD

Chance: 20%

Activation

Shift + Right Click

Power

  • Shoot a Fireball from the player.
  • Give the player Invisibility for 10 seconds.
  • Cooldown: 30 seconds.

---

  1. END LEGEND

Chance: 10%

Activation

Shift + Right Click

Power

  • Open a INVENTORY GUI.
  • INVENTORY GUI should allow selecting another online player.
  • After selecting, teleport that player to yourself.
  • Give the ability owner Strength for 60 seconds.
  • Cooldown: 240 seconds.

---

  1. EMINENT

Chance: 15%

Ability 1

Activation

Shift + Right Click

Power

  • Allow temporary Flight.
  • Cooldown: 120 seconds.

Ability 2

Activation

Shift + Left Click

Power

  • Throw blocks/projectiles for 10 seconds.
  • Give:

- Fire Resistance (60 seconds) - Water Breathing (60 seconds)

  • Cooldown: 60 seconds.

---

  1. SPEED

Chance: 15%

Passive

  • Permanent Speed I effect.

Activation

Shift + Right Click

Power

  • Give Speed II for 120 seconds.
  • Give the player one Health Boost Potion in inventory.
  • Cooldown: 30 seconds.

---

  1. PLAYER CONTROLLER

Chance: 20%

Activation

Shift + Right Click while looking directly at a player or mob.

Power

  • Control the targeted player or mob for 10 seconds.
  • During this time the controller can move or throw the target anywhere.
  • Give the ability owner Turtle Master for 20 seconds.
  • Cooldown: 60 seconds.

---

Additional Requirements

  • Java only.
  • Clean, optimized, and well-commented code.
  • Separate classes for abilities, cooldown manager, INVENTORY GUI manager, player data manager, and main plugin.
  • Save player abilities in a YAML file.
  • Register all listeners and commands properly.
  • No extra abilities.
  • No extra mechanics.
  • Follow only the requirements listed above. FOLLOW ONLY ON THISH PROMT AND DONOT USE OTHER METHOD
Kodari AI
KodariJul 3 at 1:48 am 46

I’ll build this ability plugin with separate manager/ability/GUI classes as specified.

AbilityByRemexo
A random-ability plugin where every player permanently receives one of six unique abilities on first join (Wind, Netherite God, End Legend, Eminent, Speed, Player Controller) based on weighted chances. Abilities are saved permanently in YAML and persist across restarts. Each ability has shift+click activations, individual cooldowns, and clear chat feedback for assignment, use, cooldown, and cooldown end. Includes a custom inventory GUI for selecting players, a cooldown manager, and a player data manager, all cleanly separated into dedicated classes.

Plugin built with 6 abilities, each with its own cooldown key, assign/use/cooldown/cooldown-end messages, permanent YAML-backed ability storage, a reusable GUI framework for the End Legend player picker, and clean separation into ability, manager, inventory, gui, listener, and command packages.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
24 1,255
src/main/java/com/remexo/abilityremexo/AbilityByRemexo.java
package com.remexo.abilityremexo;

import com.remexo.abilityremexo.command.AbilityCommand;
import com.remexo.abilityremexo.inventory.gui.GUIListener;
import com.remexo.abilityremexo.inventory.gui.GUIManager;
import com.remexo.abilityremexo.listener.PlayerInteractListener;
import com.remexo.abilityremexo.listener.PlayerJoinListener;
import com.remexo.abilityremexo.manager.AbilityManager;
import com.remexo.abilityremexo.manager.CooldownManager;
import com.remexo.abilityremexo.manager.PlayerDataManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class AbilityByRemexo extends JavaPlugin {

    @Getter
    private PlayerDataManager playerDataManager;
    @Getter
    private CooldownManager cooldownManager;
    @Getter
    private AbilityManager abilityManager;
    @Getter
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        if (!getDataFolder().exists()) {
            getDataFolder().mkdirs();
        }

        this.playerDataManager = new PlayerDataManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.abilityManager = new AbilityManager(this);
        this.guiManager = new GUIManager();

        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);

        AbilityCommand abilityCommand = new AbilityCommand(this);
        if (getCommand("ability") != null) {
            getCommand("ability").setExecutor(abilityCommand);
        }

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

    @Override
    public void onDisable() {
        getLogger().info("AbilityByRemexo has been disabled!");
    }
}