kafual

lets create a plugin eh? 🤣

Kodari AI
KodariSep 14 at 5:23 pm 1
MobArena
A Minecraft plugin that creates and manages player-versus-environment combat arenas. Players join scheduled arena waves, fight escalating mob waves, and earn rewards based on performance. Features include configurable arena regions, wave-based enemy spawning, boss encounters, player leaderboards, and reward distribution. Administrators can define multiple arenas with custom mob types, difficulty scaling, and loot tables. Players queue for matches, spectate ongoing battles, and track their stats. The plugin provides a comprehensive command system for arena setup, management, and player interaction.

What should the plugin do? Send me:

  1. Plugin name

  2. Minecraft version/API target

  3. Main features or commands

  4. Dependencies, if any

  5. Plugin author name

I’ll build the project from scratch once you describe the idea.

kafual

the plugin should be for 1.21.11 paper minecraft and it should give you the random chance upon your first time joining the world to get one of these four elemental classes either wind, fire, water, or earth, they each give these starter abilities that you get once you get one of them right off the bat with wind you can peform a 15 block dash every 15 seconds with shift offhand being the thing to activate it for fire you have infinite fire resistance and can shoot a deadly fireball with a minute cooldown with the same keybind for all of them which is shift offhand for earth you can use the keybind to leap in the air and smash down causing damage this cooldown is 30 seconds long and finally for water you can use the keybind to summon a tidal wave that does insane damage to people cooldown is 1 minute

Kodari AI
KodariSep 14 at 5:55 pm 3
  1. Create the Paper 1.21.11 Gradle project and plugin metadata.

  2. Add persistent first-join elemental class assignment for Wind, Fire, Water, and Earth.

  3. Implement the sneak + offhand-swap abilities with cooldowns, effects, damage, and movement.

  4. Add configuration and an /elemental info command.

Created ElementalClasses for Paper 1.21.11.

  • Players receive a random class on their first join: Wind, Fire, Water, or Earth.

  • Activate abilities by sneaking and swapping your offhand item:

    • Wind: Dash up to 15 blocks — 15-second cooldown.

    • Fire: Infinite fire resistance and explosive fireball — 60-second cooldown.

    • Water: Multi-pulse tidal wave with heavy damage — 60-second cooldown.

    • Earth: Leap and smash nearby enemies — 30-second cooldown.

  • Classes persist through restarts using player persistent data.

  • Added configurable messages, cooldowns, ability descriptions, and /elemental info command.

  • Project includes Gradle setup, plugin.yml, and config.yml.

kafual

W THANKS BRO

Kodari AI
KodariSep 14 at 7:10 pm 1

Anytime bro 🤣🔥

Your elemental class plugin is set up for Paper 1.21.11. You can test it by joining the world for the first time and using Shift + offhand swap to activate your assigned ability.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 479
src/main/java/com/kodari/elemental/ElementalPlugin.java
package com.kodari.elemental;

import org.bukkit.plugin.java.JavaPlugin;

public final class ElementalPlugin extends JavaPlugin {
    private ElementalClassManager classManager;
    private AbilityManager abilityManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        classManager = new ElementalClassManager(this);
        abilityManager = new AbilityManager(this, classManager);

        getServer().getPluginManager().registerEvents(
                new ElementalListener(this, classManager, abilityManager), this);
        getCommand("elemental").setExecutor(new ElementalCommand(this, classManager));

        abilityManager.startPassiveTask();
    }

    @Override
    public void onDisable() {
        if (abilityManager != null) {
            abilityManager.stopPassiveTask();
        }
    }
}