Skip to main content

How to Disable the Mod for a Specific World/Instance

You can disable RPG Leveling for specific worlds or instances (e.g. a minigame dungeon, PvP arena, or story instance) so that in those places the plugin has no effect: no HUD, no XP, no level scaling, no stat-based modifiers. Players keep their level and stats when they leave; only the gameplay impact of the mod is turned off while they are in that world.

When to Use This

  • Minigame / arena worlds — You want vanilla combat and no level display in that instance.
  • Story or tutorial instances — You don’t want level scaling or XP there.
  • Dungeons where you want vanilla difficulty — Keep the dungeon as the mod author intended, without RPG Leveling scaling.

How It Works

  • World = instance — Each playable world (open world, dungeon instance, etc.) is identified by an instance id (e.g. the dungeon name). The plugin matches that id against Instance Level Config.
  • Per-instance flag — In InstanceLevelConfig.json, each instance entry can have DisableRPGLeveling. When set to true for that instance, the plugin does nothing there: no HUD, no XP gain, no monster level scaling, no damage/defense/mining/stamina modifiers, no death reset. When the player leaves, the mod works again as usual.

Steps

1. Find the instance id

You need the exact instance id the game uses for that world:
  • Dungeons / mod instances — Enter the world and check the HUD: it often shows the instance name (e.g. “Yungs_HyDungeons_Skeleton_Dungeon (Lvl 55–75)”). The id is the part before the level range. You can also add a temporary instance entry with a guess, run /lvl reload, and see if the HUD shows your level range; if not, try a different id (some mods document it).
  • Main world — If your main world appears in Instance Level Config (e.g. as "Id": "default"), you can set DisableRPGLeveling on that entry to disable the mod on the main world (not common).

2. Open Instance Level Config

File: mods/Zuxaw_RPGLeveling/InstanceLevelConfig.json If the instance is not in the list yet, add an entry with Id, LevelMin, LevelMax, and DisableRPGLeveling. If it already exists (e.g. for level ranges), just add or change DisableRPGLeveling.

3. Set DisableRPGLeveling to true

For the instance you want to disable the mod in, set:
"DisableRPGLeveling": true
Example — disable RPG Leveling in the Skeleton Dungeon:
{
  "Version": "0.2.7",
  "Instances": [
    {
      "Id": "default",
      "LevelMin": 1,
      "LevelMax": 25,
      "EntityOverrides": [],
      "DisableRPGLeveling": false
    },
    {
      "Id": "Yungs_HyDungeons_Skeleton_Dungeon",
      "LevelMin": 55,
      "LevelMax": 75,
      "EntityOverrides": [],
      "DisableRPGLeveling": true
    }
  ]
}
Here, the Skeleton Dungeon has the mod disabled; the default (main) world keeps the mod enabled.

4. Apply changes

Run /lvl reload (admin/OP) so the config is reloaded without restarting the server. If you prefer, you can restart the server instead.

What Is Disabled in That World

When DisableRPGLeveling is true for an instance:
FeatureDisabled in that world
Level/XP HUDNot shown; hidden while in that instance.
Nameplate levelNo “Lvl. X” on players or mobs.
XP gainNo XP from kills or block break.
Monster level scalingNo HP/damage scaling by level.
Player damage/defense statsNo bonus from your allocated stats.
Mining/woodcutting bonusNo stat-based block damage bonus.
Stamina regen/consumptionNo stat-based stamina effects.
Death resetReset level on death does not apply there.
Player level and stats are not removed — they are unchanged. Only the effect of the mod is off in that world; when the player leaves, everything works again.

See Also