vain___vain

create a boss variant of Zombie, Skeleton, Spider, Witch, Enderman mobs that would only spawn in the overlord and near the players. everytime it respawns it announces in the chat. it's also integrated with auramobs always on level 100.

Kodari AI
KodariMar 4 at 6:05 pm 14,519 (v2)

I’ll create a boss variants plugin that spawns enhanced versions of common mobs with AuraMobs integration.

BossVariants
Spawns powerful boss variants of Zombie, Skeleton, Spider, Witch, and Enderman mobs in the overworld near players. Each boss respawns on a timer with chat announcements and integrates with AuraMobs at level 100. Features customizable spawn rates, boss attributes, and particle effects to create challenging encounters for players.

Project created successfully!

Features implemented:

  • 5 boss variants (Zombie, Skeleton, Spider, Witch, Enderman) with custom names, health, damage, and speed

  • Spawns only in overworld (configurable world whitelist) near random players

  • Chat announcements for spawns and deaths with colored formatting

  • AuraMobs integration that sets bosses to level 100

  • Configurable respawn timers (default 15 minutes per boss)

  • Particle effects (flames) around active bosses

  • Experience multiplier on death

  • Admin commands (/bv spawn, /bv reload, /bv list)

  • Safe spawn location finding with ground detection

  • Boss tracking and metadata system

The plugin will automatically check every 60 seconds for spawn opportunities and create bosses near players in whitelisted worlds. Each boss has unique attributes and will respawn after being killed.

vain___vain

can you make it so they have their own skills?

Kodari AI
KodariMar 4 at 6:09 pm 14,356 (v2)

I’ll add a skill system so each boss type has unique abilities. Let me first check the current implementation.

I’ll add a unique skill system for each boss type. Let me create skills like summoning minions, rapid fire, web traps, poison clouds, and teleportation.

Each boss now has unique skills:

  • Zombie Overlord: Summons 3 zombie minions

  • Skeletal Archer: Rapid fires 5 arrows in quick succession

  • Venomous Spider: Creates web traps and slows players

  • Dark Witch: Spawns a poison cloud that damages nearby players

  • Void Walker: Teleports behind target and strikes for massive damage

Skills have configurable cooldowns and parameters in config.yml and trigger automatically during combat.

vain___vain

their skill doesn't seem to work and they're not stuck on level 100 also the name tag only says their regular mob name.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
19 1,231
src/main/java/com/bossvariants/BossVariantsPlugin.java
package com.bossvariants;

import com.bossvariants.boss.BossManager;
import com.bossvariants.boss.BossSpawnTask;
import com.bossvariants.config.ConfigManager;
import com.bossvariants.hook.AuraMobsHook;
import com.bossvariants.listener.BossListener;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class BossVariantsPlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private BossManager bossManager;
    private com.bossvariants.skill.SkillManager skillManager;
    private AuraMobsHook auraMobsHook;
    private BossSpawnTask spawnTask;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.skillManager = new com.bossvariants.skill.SkillManager(this);
        this.bossManager = new BossManager(this);
        this.auraMobsHook = new AuraMobsHook(this);
        
        getServer().getPluginManager().registerEvents(new BossListener(this), this);
        
        if (configManager.isSpawnEnabled()) {
            this.spawnTask = new BossSpawnTask(this);
            spawnTask.start();
        }
        
        getCommand("bossvariants").setExecutor(new BossCommand(this));
        
        getLogger().info("BossVariants has been enabled!");
        if (auraMobsHook.isEnabled()) {
            getLogger().info("AuraMobs integration enabled!");
        }
    }
    
    @Override
    public void onDisable() {
        if (spawnTask != null) {
            spawnTask.stop();
        }
        
        if (bossManager != null) {
            bossManager.cleanup();
        }
        
        getLogger().info("BossVariants has been disabled!");
    }
    
    public void reload() {
        reloadConfig();
        configManager = new ConfigManager(this);
        
        if (spawnTask != null) {
            spawnTask.stop();
        }
        
        if (configManager.isSpawnEnabled()) {
            spawnTask = new BossSpawnTask(this);
            spawnTask.start();
        }
    }
}