Iqra Ambareen

Plugin Name: DungeonMasterX

Platform: Paper/Bukkit Target Minecraft Version: 26.2 and 26.3

Plugin Development Prompt

Create a fully functional Minecraft plugin called DungeonMasterX for Paper/Bukkit servers.

  1. Automatic Dungeon Announcements
  • Automatically announce dungeon events at configurable time intervals.
  • Send announcements to all online players when a dungeon event starts.
  • Include the dungeon name, exact world name, X, Y, and Z coordinates, event duration, difficulty, and entry instructions.
  • Make all announcement messages customizable in "config.yml".
  • Support Minecraft color codes and modern formatting.
  1. Dungeon Location and Distance
  • Allow administrators to configure dungeon locations and event areas.
  • Display the exact coordinates so players can travel to the dungeon manually.
  • Support configurable minimum and maximum distances between dungeon locations and the main player gathering area.
  • Do not place dungeons too close to the main spawn or heavily populated areas.
  • Allow administrators to configure a minimum distance of 1,000 blocks or more if desired.
  • Never automatically teleport every player into the dungeon.
  1. Dungeon Entry and Crowd Control
  • Players must travel to the announced location and enter the dungeon through its designated entrance.
  • Support configurable entry limits, cooldowns, and maximum players per dungeon.
  • Prevent overcrowding and duplicate event participation.
  • Allow administrators to enable or disable dungeon entry during an event.
  1. Dungeon Gameplay
  • Spawn configurable mobs and powerful bosses.
  • Support dungeon difficulties, timed challenges, rewards, and loot drops.
  • Reward eligible players when they complete dungeon objectives.
  • Provide an event timer and announce when the dungeon opens, is nearly closed, and has ended.
  1. Commands
  • "/dungeon list" — View available dungeons.
  • "/dungeon info <name>" — View dungeon information.
  • "/dungeon join <name>" — Join a dungeon if permitted.
  • "/dungeon leave" — Leave the current dungeon.
  • "/dungeon setspawn <name>" — Set a dungeon location.
  • "/dungeon start <name>" — Start a dungeon event.
  • "/dungeon stop <name>" — Stop an event.
  • "/dungeon reload" — Reload configuration.
  1. Configuration and Permissions

Provide configurable announcement intervals, dungeon coordinates, minimum distance, event duration, entry limits, rewards, mob settings, and messages.

Add appropriate admin and player permissions. Save dungeon settings and event data so they persist after server restarts.

  1. Quality Requirements

Deliver a complete, buildable plugin project and the final ".jar" file. Include "plugin.yml", configuration files, permission checks, error handling, and clear installation instructions. Avoid fake commands, incomplete features, and unsupported API calls.

Test the plugin on the exact target Minecraft and Paper/Bukkit versions before claiming compatibility. If a requested version is unsupported by the available build tools, clearly report the limitation rather than claiming success.

Kodari AI
KodariOct 29 at 6:55 am 2
DungeonMasterX
DungeonMasterX is a comprehensive dungeon management plugin for Paper/Bukkit servers. It provides automated dungeon event announcements with customizable messages, configurable dungeon locations with distance constraints from spawn areas, and crowd control through entry limits and cooldowns. The plugin features dynamic mob and boss spawning, timed challenges, difficulty settings, and reward systems. It includes a full command suite for listing, joining, and managing dungeons, plus persistent configuration and event data storage. Administrators can configure announcement intervals, coordinates, event durations, entry limits, rewards, mob settings, and all messages through config.yml, with proper permission checks and error handling throughout.
  1. Create the Paper plugin project and configuration.

  2. Implement configurable dungeon events, announcements, mobs, rewards, and persisted event state.

  3. Add player/admin commands, entry controls, and permission checks.

I’ll target the available Paper 1.21 API baseline; I can’t claim testing or compatibility with Minecraft 26.2/26.3.

Created the DungeonMasterX project with configurable dungeon locations, scheduled announcements, distance validation, entrance-based joining, cooldown and player limits, mob objectives, rewards, permissions, commands, and persisted dungeon/event data.

Active events are marked interrupted on restart; they are not resumed. The project targets the Paper 1.21.4 API with Java 21. I could not test against Minecraft 26.2 or 26.3, so compatibility with those versions is not verified.

To get the jar in Kodari: click Compile (on mobile: ⋮ → Compile Project), click Compile in the window, then choose Download when it succeeds. Install the jar in the server’s plugins folder and restart the server.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
8 920
src/main/java/com/kodari/dungeonmasterx/DungeonMasterX.java
package com.kodari.dungeonmasterx;

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class DungeonMasterX extends JavaPlugin implements Listener {
    private DungeonManager dungeonManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        if (!getDataFolder().exists() && !getDataFolder().mkdirs()) {
            getLogger().severe("Could not create the plugin data folder.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        if (!new java.io.File(getDataFolder(), "dungeons.yml").exists()) {
            saveResource("dungeons.yml", false);
        }

        dungeonManager = new DungeonManager(this);
        getServer().getPluginManager().registerEvents(this, this);
        DungeonCommand command = new DungeonCommand(this, dungeonManager);
        getCommand("dungeon").setExecutor(command);
        getCommand("dungeon").setTabCompleter(command);
        dungeonManager.startAutomaticEvents();
    }

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

    @EventHandler
    public void onDungeonMobDeath(EntityDeathEvent event) {
        if (dungeonManager != null) {
            dungeonManager.handleMobDeath(event.getEntity().getUniqueId());
        }
    }
}