Skip to main content

Instance Level Config

File: mods/Zuxaw_RPGLeveling/InstanceLevelConfig.json This file defines level ranges and entity overrides for instances and dungeons - places where zone/biome are unknown (e.g. instanced dungeons). When a player or mob is in such a world, the plugin uses this config for:
  • Mob level calculation - Monsters get levels within the instance’s LevelMinLevelMax range
  • HUD display - The HUD shows the instance id and level range (e.g. “Yungs_HyDungeons_Skeleton_Dungeon (Lvl 55–75)”) and uses the same color logic as zones (green/white/orange/red by level gap)
  • XP and entity overrides - Per-instance entity overrides (e.g. boss level/XP) are checked first; global ZoneLevelConfig entity overrides are used as fallback

Instance Configuration Fields

Instances are defined under the top-level Instances array with PascalCase keys:

Entity Override Fields

Per-instance entity overrides use the same structure as ZoneLevelConfig: Priority: Instance entity overrides > Global zone entity overrides.

Example Config


Adding a New Dungeon

To add a dungeon or modded instance:
  1. Find the instance id - Check the HUD when inside the dungeon, or look at server logs
  2. Add an entry with the Id, LevelMin, and LevelMax
  3. Optionally add EntityOverrides for bosses or special NPCs
Example:

Default Instance

The default instance is used when the plugin cannot determine the specific instance:
This provides fallback level ranges for unknown instances.

HUD Display

The HUD shows the instance name and level range with color coding: Example HUD display: Yungs_HyDungeons_Skeleton_Dungeon (Lvl 55–75) in green text.

Monster Level Variation

Just like zones, monsters in instances have ±5 level variation around their base level for variety.

Use Cases

Dungeon with Boss Override

Set a skeleton dungeon with a level 80 boss:

High-Level End-Game Dungeon

Create an extreme difficulty dungeon with a level 150 boss:

See Also