HomeJavaModsDungeonInstances
DungeonInstances
DungeonInstances — screenshot 1DungeonInstances — screenshot 2DungeonInstances — screenshot 3DungeonInstances — screenshot 4DungeonInstances — screenshot 5DungeonInstances — screenshot 6DungeonInstances — screenshot 7

DungeonInstances

A Spigot/Paper Minecraft plugin for managing instanced dungeons with party system, clickable invitations, admin commands and in-game scoreboard HUD.


Overview

DungeonInstances lets you create dungeon worlds copied from templates, invite players to parties, and display a dynamic scoreboard when inside an instance. The plugin aims for simple administration (create/delete/edit templates, set spawns) and friendly UX (colored messages, clickable buttons to accept/decline invitations).

Main Features

Installation

  1. Build:
cd /path/to/DungeonsInstances
mvn clean package -DskipTests -T 1C

Or use the ./build script if you made it executable.

  1. Deploy: copy the generated JAR to your Spigot/Paper server's plugins/ folder:
cp "target/Dungeon Instances-1.0.0.jar" /path/to/server/plugins/
  1. Restart the server.

Important Folder Structure

Commands

All commands are under /dungeon.

Notes:

Scoreboard (HUD)

Spawn Points

/dungeon admin setspawn <template>

Templates & Instances

Permissions

Other commands have no specific permissions by default (you can add checks if needed).

Troubleshooting

Custom Loot Tables

DungeonInstances includes a loot table system per dungeon/difficulty. Each mob can be marked with a pool alias that determines the loot table used when the mob dies in an instance. The alias is stored in NBT (PersistentDataContainer) and persists across saves/loads.

Configuration

The config file is at plugins/DungeonInstances/lootTables.json. On first load, an empty {} is created so admins can populate it manually. Expected structure:

{
  "<template_name>": {
    "<difficulty>": {
      "<alias>": {
        "iterations": <number of rolls>,
        "loots": [
          {
            "item": "minecraft:diamond_sword",
            "nbt": { "item_name": "Legendary Sword" },
            "count": 1,
            "chance": 0.1
          },
          {
            "item": "minecraft:iron_nugget",
            "nbt": { "item_name": "Shield" },
            "count": 1,
            "chance": 0.4
          }
        ]
      }
    }
  }
}

Complete example for template manaria with default alias across all four difficulties:

{
  "manaria": {
    "BEGINNER": {
      "default": {
        "iterations": 2,
        "loots": [
          {"item":"minecraft:emerald","nbt":{},"count":1,"chance":0.2},
          {"item":"minecraft:gold_nugget","nbt":{},"count":2,"chance":0.5}
        ]
      }
    },
    "NORMAL": {
      "default": {
        "iterations": 3,
        "loots": [
          {"item":"minecraft:emerald","nbt":{},"count":1,"chance":0.4},
          {"item":"minecraft:gold_ingot","nbt":{},"count":1,"chance":0.25},
          {"item":"minecraft:iron_nugget","nbt":{},"count":3,"chance":0.6}
        ]
      }
    },
    "HEROIC": {
      "default": {
        "iterations": 4,
        "loots": [
          {"item":"minecraft:diamond","nbt":{},"count":1,"chance":0.05},
          {"item":"minecraft:gold_ingot","nbt":{},"count":2,"chance":0.4},
          {"item":"minecraft:iron_ingot","nbt":{},"count":5,"chance":0.8}
        ]
      }
    },
    "MYTHIC": {
      "default": {
        "iterations": 5,
        "loots": [
          {"item":"minecraft:nether_star","nbt":{},"count":1,"chance":0.01},
          {"item":"minecraft:diamond","nbt":{},"count":2,"chance":0.2},
          {"item":"minecraft:gold_ingot","nbt":{},"count":4,"chance":0.5}
        ]
      }
    }
  }
}

In this example, increasing difficulty raises both iterations and drop chances; adjust these values to suit your needs.

Loot Table Fields

Assigning Aliases

While editing a template, look at a mob and run:

/dungeon admin alias <alias>

The plugin shows the current alias if no argument is given. To clear the alias, use none:

/dungeon admin alias none

The alias is saved with the mob and automatically restored in instances.

Reloading Configuration

After editing lootTables.json on disk, reload changes in-game with:

/dungeon admin reloadloot

In-Game Behavior

When a mob with an alias dies in an instance, vanilla drops are removed and replaced with items calculated from the matching pool (template + difficulty + alias). If no table is found, vanilla behavior is unchanged.

Customization & Suggestions

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more