shadowfuryx1

PLUGIN NAME: EternalDungeons

DESCRIPTION:

EternalDungeons is a Minecraft server plugin that generates random dungeon structures across the world. Each dungeon contains custom loot, ore rooms, traps, and a unique boss. When a player enters a dungeon, they are locked inside and cannot escape until the boss is defeated.

CORE FEATURES:

  1. RANDOM DUNGEON GENERATION
  • 5–6 different dungeon types
  • Random spawn locations in world
  • Configurable spawn rate
  • Admin command to manually spawn dungeon
  • Limit number of dungeons per world

Example Dungeon Types:

  • Inferno Crypt (Nether theme)
  • Frozen Abyss (Ice theme)
  • Jungle Ruins
  • Shadow Catacombs
  • Sky Fortress
  • Deep Cavern Mines
  1. LOCK-IN SYSTEM

When a player enters dungeon:

  • Doors automatically close
  • Teleport disabled
  • Ender pearls disabled
  • /spawn disabled
  • Combat logging punished
  • Player cannot leave region

Escape conditions:

  • Boss defeated
  • All required mobs cleared
  • Or time limit completed (if enabled)
  1. BOSS SYSTEM

Each dungeon has its own unique boss with:

  • Multiple attack abilities
  • Phase system (new abilities at 50% health)
  • Summon minions
  • Area damage attacks
  • Enrage mode when low HP
  • Custom name and boss bar

Example Bosses:

  • Flame Warden
  • Frost King
  • Jungle Overlord
  • Shadow Reaper
  • Sky Titan
  • Stone Colossus
  1. LOOT SYSTEM

Loot types:

  • Custom armor pieces with random stats
  • Custom weapons
  • Rare enchanted books
  • Random ore cache rooms
  • Dungeon keys
  • Boss relic items
  • Upgrade shards

All loot chances configurable in config.yml.

  1. RPG PROGRESSION SYSTEM

Players earn:

  • Dungeon XP
  • Dungeon rank
  • Boss kill counter

Unlock:

  • Harder dungeon tiers
  • Special abilities
  • Titles
  • Access to elite dungeons
  1. DIFFICULTY MODES
  • Normal
  • Hard
  • Nightmare

Harder difficulty gives better loot and stronger mobs.

  1. TIME LIMIT MODE

Optional timer.

If timer ends:

  • Boss enrages
  • Mobs gain strength
  • Loot quality decreases
  1. PARTY SYSTEM
  • Players can form dungeon party
  • Shared rewards
  • Friendly fire disabled inside dungeon
  1. LEADERBOARDS
  • Fastest dungeon clear
  • Most boss kills
  • Highest damage dealer
  • Stored in database
  1. KEY SYSTEM
  • Dungeons require special key
  • Keys craftable or boss drops
  • Prevent dungeon farming abuse

COMMANDS: /dungeon spawn <type> /dungeon join /dungeon leave /dungeon rank /dungeon party create /dungeon party invite /dungeon reload

CONFIG OPTIONS: dungeon-spawn-rate: 0.002 max-dungeons-per-world: 20 lock-teleport: true enable-timer: true timer-seconds: 1800 enable-leaderboard: true enable-party-system: true

TECHNICAL REQUIREMENTS:

  • Paper or Spigot API
  • Structure schematic loader
  • Custom boss AI system
  • Optional integration:

- MythicMobs - Vault - PlaceholderAPI

ADVANCED FEATURES (OPTIONAL):

  • Procedural room generation
  • Puzzle rooms
  • Trap corridors
  • Parkour challenge rooms
  • Weekly rotating dungeon
  • Random boss mutations
  • Dungeon currency shop
  • Custom dungeon achievements
Kodari AI
KodariFeb 23 at 4:30 pm 27,760 (v2)

I’ll create a comprehensive dungeon plugin with all the requested features including random generation, lock-in mechanics, custom bosses, loot system, progression, parties, and leaderboards.

EternalDungeons
A comprehensive dungeon plugin featuring random procedural dungeon generation with multiple biome themes. Players are locked inside until they defeat custom AI bosses with phase-based abilities. Includes RPG progression system, party mechanics, difficulty tiers, loot rewards, leaderboards, and a key-based entry system. Dungeons spawn naturally or via admin commands with configurable rates and world limits.

Now I’ll create the complete plugin structure with all core systems:

Complete EternalDungeons plugin created with random dungeon generation, boss system with custom AI, lock-in mechanics, loot rewards, RPG progression, party system, leaderboards, key-based entry, and full command suite.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
34 1,980
src/main/java/com/eternal/dungeons/EternalDungeons.java
package com.eternal.dungeons;

import com.eternal.dungeons.boss.BossManager;
import com.eternal.dungeons.command.DungeonCommand;
import com.eternal.dungeons.data.DataManager;
import com.eternal.dungeons.dungeon.DungeonManager;
import com.eternal.dungeons.inventory.gui.GUIListener;
import com.eternal.dungeons.inventory.gui.GUIManager;
import com.eternal.dungeons.key.KeyManager;
import com.eternal.dungeons.leaderboard.LeaderboardManager;
import com.eternal.dungeons.listener.BossListener;
import com.eternal.dungeons.listener.DungeonListener;
import com.eternal.dungeons.listener.LockListener;
import com.eternal.dungeons.listener.PartyListener;
import com.eternal.dungeons.lock.LockManager;
import com.eternal.dungeons.loot.LootManager;
import com.eternal.dungeons.party.PartyManager;
import com.eternal.dungeons.progression.ProgressionManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EternalDungeons extends JavaPlugin {
    
    private DungeonManager dungeonManager;
    private BossManager bossManager;
    private LootManager lootManager;
    private LockManager lockManager;
    private ProgressionManager progressionManager;
    private PartyManager partyManager;
    private LeaderboardManager leaderboardManager;
    private KeyManager keyManager;
    private DataManager dataManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.dungeonManager = new DungeonManager(this);
        this.bossManager = new BossManager(this);
        this.lootManager = new LootManager(this);
        this.lockManager = new LockManager(this);
        this.progressionManager = new ProgressionManager(this);
        this.partyManager = new PartyManager(this);
        this.leaderboardManager = new LeaderboardManager(this);
        this.keyManager = new KeyManager(this);
        this.guiManager = new GUIManager();
        
        registerCommands();
        registerListeners();
        
        dungeonManager.startSpawnTask();
        
        getLogger().info("EternalDungeons has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dungeonManager != null) {
            dungeonManager.shutdown();
        }
        if (dataManager != null) {
            dataManager.saveAll();
        }
        getLogger().info("EternalDungeons has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("dungeon").setExecutor(new DungeonCommand(this));
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new DungeonListener(this), this);
        Bukkit.getPluginManager().registerEvents(new BossListener(this), this);
        Bukkit.getPluginManager().registerEvents(new LockListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PartyListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    public void reload() {
        reloadConfig();
        dungeonManager.reload();
        bossManager.reload();
        lootManager.reload();
    }
}