Instance & Dungeon Mod Setup
Dungeon mods (e.g. Yung’s HyDungeons, instanced dungeons) run in worlds where zone and biome are unknown. RPG Leveling uses Instance Level Config for those worlds so mob levels, HUD, and XP still work.How It Works
- Open world — The plugin uses ZoneLevelConfig (zones + biomes) to get monster level ranges.
- Instances / dungeons — No zone/biome; the plugin uses InstanceLevelConfig and matches by instance id (the world/instance name the game uses).
Config File
File:mods/Zuxaw_RPGLeveling/InstanceLevelConfig.json
Instances— List of instance entries.- Each entry:
Id(instance id),LevelMin,LevelMax, optionalEntityOverridesfor bosses or specific NPCs.
Example: Skeleton Dungeon (Yung’s HyDungeons)
Yung’s HyDungeons adds instanced dungeons. One of them is the Skeleton Dungeon; its instance id is typicallyYungs_HyDungeons_Skeleton_Dungeon (or similar — check your mod version / docs).
1. Add the instance
Editmods/Zuxaw_RPGLeveling/InstanceLevelConfig.json and add an entry under Instances:
Id— Must match the instance id used by the game (e.g.Yungs_HyDungeons_Skeleton_Dungeon). The plugin matches even if the game returns a longer name (e.g. with a prefix).LevelMin/LevelMax— All normal mobs in this dungeon get a level between 55 and 75 (±5 variation still applies). Adjust to fit your server’s progression (e.g. 50–70 or 60–80).EntityOverrides— Leave empty for now; use it to set a fixed level or fixed XP for a boss (see below).
2. (Optional) Override the dungeon boss
If the dungeon has a boss (e.g. Skeleton King) and you want it to be a fixed level and/or give fixed XP:- Find the entity type id of the boss (see Override entity xp and level — logs or mod docs).
- Add an override in
EntityOverridesfor that instance:
EntityId— The NPC type id (replace with the real id from your mod).Level— Fixed level for this boss (e.g. 75 = top of the dungeon range).DisableLevelScaling—false= boss still uses level-based damage/HP;true= boss uses HP-based XP only, no level scaling.XP— Optional. If set, killing this boss always gives this much base XP (still multiplied byRateExpin main config).
Adding another dungeon mod
- Find the instance id for each dungeon (in-game HUD before config, or mod docs).
- In InstanceLevelConfig.json, add one object per instance under
Instances:Id— instance idLevelMin/LevelMax— level range for that dungeonEntityOverrides— optional list ofEntityId,Level,DisableLevelScaling,XP
- Save the file; the plugin reloads config on next load. Restart the server or reload the plugin if needed.
