Create a new Superpowers SMP Paper 1.21.11 plugin from scratch as user requested (no existing source is available). Implement as much of the requested system as feasible: 15 powers Enderman, Blaze, Cloning, Evoker, Iron Golem, Warden, Wither, Phantom, Guardian, Spider, Witch, Ghast, Wolf, Skeleton, Dragon, each with real server-side primary, secondary, ultimate and transformation gameplay, cooldowns, safe cleanup, persistent ownership and uniquely identified power items, power selection, first-join presentation, right-click/shift-right-click activation and commands for ultimate and transform/deactivate. Validate ownership, permissions, cooldown and player state server-side; avoid free iron drops from ability entities, duplicate entities/items, inventory or equipment loss. Wolf power grants Strength I and Speed I with careful cleanup. Provide configuration and installation/usage documentation. Do not pretend to preserve unavailable existing data or functionality. No Fabric client exists: do not fake client keybind GUI, custom client models, or microphone recognition; explicitly document limitations. Focus on functional and secure gameplay, compatible with Paper 1.21.11. Do not create tests.

Kodari AI
KodariNov 12 at 4:53 pm 1
SuperpowersSMP
A Paper 1.21.11 SMP plugin implementing 15 distinct superpowers with server-side gameplay. Each power (Enderman, Blaze, Cloning, Evoker, Iron Golem, Warden, Wither, Phantom, Guardian, Spider, Witch, Ghast, Wolf, Skeleton, Dragon) features primary, secondary, ultimate abilities and transformation mechanics with cooldowns. Players receive powers via first-join presentation, select through interactive menu, and activate abilities via right-click/shift-right-click on uniquely identified power items. Commands manage ultimate activation and transformation/deactivation. Robust validation ensures ownership, permissions, cooldowns and player state server-side. Safe cleanup prevents entity/item duplication, inventory loss and free iron drops. Wolf power grants Strength I and Speed I with careful cleanup. Includes configuration and documentation. No client mods; all functionality is server-side.
  1. Create the Paper 1.21.11 plugin entry point, power definitions, and persistent server-side manager.

  2. Add validated power items, selection/commands, cooldowns, transformations, and cleanup.

  3. Add default configuration plus installation, usage, and client-side limitation documentation.

[Generation stopped]

Continue the in-progress new SuperpowersSMP Paper 1.21.11 plugin (Java 21), incorporating both original and new specifications. Inspect all existing source first and preserve work already present. Implement 15 powers Enderman, Blaze, Cloning, Evoker, Iron Golem, Warden, Wither, Phantom, Guardian, Spider, Witch, Ghast, Wolf, Skeleton, Dragon with real server-side primary/secondary/ultimate/transformation abilities, configurable cooldowns/damage/duration, safe cleanup, UUID ownership and PDC-identified unique power items; no item-name trust. Default right-click/shift-right-click power item and provide usable vanilla interfaces/commands without client mod. Server validate ownership, permissions, cooldown, targeting, state; rate limit. Random fair first-join awakening roulette (optional weighted chances), save once, configurable duration and safe movement restore, returning users retain power. Selection/admin GUI and commands /superpower menu, give, remove, set, reset, list, cooldown, reload, info, admin, hud, keybinds, awakening, reroll with permissions and reroll confirmation; distinct keybind GUI only for genuinely supported vanilla controls, never pretend arbitrary key capture works. HUD via available vanilla mechanisms if feasible. Enderman safe cross-world player teleport targeting; Blaze fireballs/fire resistance and protected explosions (fail closed where protection uncertain); cloning max 4 following/defending without attacking owner/team; Evoker emergency protection and fangs; Iron Golem one-time 64 iron on first acquisition only with durable claim record, never generate iron through abilities or summon drops; Wolf pack up to 10, effects Strength I and Speed I, cleanup without overwriting equipment; other mob-themed abilities per names and suitable mechanics. Safe state restoration and summoned entity cleanup, no duplicated items, powers or summons, preserve inventory. Include per-power custom items, admin permissions, config.yml, messages.yml, Maven pom.xml, plugin.yml, documentation. The user also requested real Fabric key capture, HUD and local microphone voice recognition, but specifically cannot make a mod and requested a plugin: do not fake or claim these client-only capabilities; document limitations and vanilla alternatives. Realistic skin clones/disguises and region hooks only if actually feasible, otherwise document accurately. Do not claim runtime testing; report implemented and limitations precisely. Do not add tests.

Kodari AI
KodariNov 12 at 5:08 pm 9
  • Build the Paper 1.21.11 Java 21 Maven project and persistent power/item manager.

  • Implement the 15 server-side powers, safe transformations/summons, awakening, commands, menus, and HUD.

  • Add configuration, permissions, and documentation for vanilla controls and client-only limitations.

  • Built the Paper 1.21.11 / Java 21 Maven plugin with all 15 powers, configurable cooldowns and damage, transformations, persistent ownership, tagged power items, menus, commands, awakening roulette, and action-bar HUD.

  • Added bounded, cleaned-up clones and wolf packs, team-aware targeting, protected power items, safe Enderman teleports, and a durable one-time Iron Golem reward claim.

  • Added config.yml, messages.yml, plugin.yml, and README.md with setup, commands, permissions, and limitations.

  • The project was empty, so there was no existing source or data to preserve. Client key capture, microphone recognition, custom-skin clones, and region-protection integration are not included; fireball explosions are disabled, while direct damage uses normal server damage events. No runtime server test was performed.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
README.md
Code
10 2,167
src/main/java/com/kodari/superpowers/SuperpowersPlugin.java
package com.kodari.superpowers;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;
import java.io.IOException;
import java.util.Map;

public final class SuperpowersPlugin extends JavaPlugin {
    private YamlConfiguration messages;
    private PowerManager powerManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        if (!new File(getDataFolder(), "messages.yml").exists()) saveResource("messages.yml", false);
        loadMessages();
        powerManager = new PowerManager(this);
        powerManager.load();
        SuperpowersCommand executor = new SuperpowersCommand(this);
        getServer().getPluginManager().registerEvents(new SuperpowersListener(this), this);
        getServer().getPluginManager().registerEvents(executor, this);
        getCommand("superpower").setExecutor(executor);
        getCommand("superpower").setTabCompleter(executor);
    }

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

    public PowerManager powers() {
        return powerManager;
    }

    public void reloadSettings() {
        reloadConfig();
        loadMessages();
    }

    private void loadMessages() {
        messages = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "messages.yml"));
    }

    public void send(CommandSender sender, String key) {
        send(sender, key, Map.of());
    }

    public void send(CommandSender sender, String key, Map<String, String> replacements) {
        String text = messages.getString(key, "&cMissing message: " + key);
        String prefix = messages.getString("prefix", "");
        for (Map.Entry<String, String> replacement : replacements.entrySet()) {
            text = text.replace("{" + replacement.getKey() + "}", replacement.getValue());
        }
        sender.sendMessage(ChatColor.translateAlternateColorCodes('&', prefix + text));
    }

    public String colored(String text) {
        return ChatColor.translateAlternateColorCodes('&', text);
    }

    public void savePowerData(YamlConfiguration data, File file) {
        try {
            data.save(file);
        } catch (IOException exception) {
            getLogger().severe("Could not save player power data: " + exception.getMessage());
        }
    }
}