Skip to main content

Main Plugin Config

File: mods/Zuxaw_RPGLeveling/RPGLevelingConfig.json The main configuration file for the RPG Leveling plugin. Controls XP rates, max level, difficulty preset, and core gameplay toggles.

Configuration Options


XP and Leveling

0.2.0 note: XP from mobs is based on monster level and level difference. RateExp and BaseXP still apply as multipliers. See Formulas for the complete math.

XP Rate Multiplier

  • RateExp - Global XP multiplier applied to all XP gains
    • 1.0 = normal XP
    • 2.0 = double XP
    • 3.0 = triple XP (default)
  • Admin timed XP boost - Operators can run /lvl xprateboost (see Commands) for a server-wide or per-player multiplier over a duration. That multiplier is applied on top of this config (and zone rates): e.g. RateExp 3 plus timed ×2 vs the formula baseline, not .

Level Requirements

Level XP requirements use this formula:
  • LevelBaseXP - Base multiplier for the level curve (exponent 2.5; default: 150.0)
  • LevelOffset - Added to total XP per level.
To multiply XP earned while the player is in a specific level range (e.g. 3× XP at levels 80–100), use XPCurveOverridesConfig.json. See Formulas for examples and progression tables.

Difficulty Scaling

0.2.0 changes: Difficulty scaling settings are now in the main config file. Difficulty scaling is always enabled and controlled via the DifficultyPreset setting.

Difficulty Presets

See Difficulty Scaling for complete details on monster damage, HP scaling, and level-gap mechanics.

Scaling Toggles

Fine-tune difficulty with these toggles:
  • EnableMonsterLevelScale - Master toggle for all level-based scaling (damage, HP, XP)
  • EnableGapLevelDefense - Toggle level-gap defense penalty (you → monster when underleveled)
  • EnableGapLevelDamageToPlayer - Toggle level-gap damage bonus (monster → you when underleveled)
  • EnableGapLevelXpReducer - Toggle XP reduction when fighting higher-level monsters

Death Penalty

Optional hardcore mode that resets progress on death:
  • ResetLevelOnDeath: true - Reset to level 1, lose all XP, clear stat allocations
  • ResetLevelOnDeath: false (default) - Keep level and stats on death

Entity Blacklist

Exclude specific entities from giving XP and showing level displays:
Blacklisted entities:
  • Give no XP when killed
  • Show no level display when looked at
  • Are comma-separated entity type IDs

Entity role blacklist

Exclude NPC roles from leveling (no level display, no HP/damage scaling, no XP). This is based on the entity’s role name (NPCEntity component), not the entity type ID. Default: "Citizen_" - so NPCs whose role name contains Citizen_ (e.g. from the Citizen mod: dialogue, traders, quest givers) are not scaled and do not show level.
  • Role names are checked with contains (case-insensitive). Example: Citizen_Guard or MyCitizen_Type match the string Citizen_.
  • Blacklisted role NPCs: no level on nameplate, no HP scaling, no damage scaling, no XP when killed.
  • Leave as "Citizen_" to keep Citizen mod NPCs unaffected; set to "" to level all NPCs by role (no role blacklist).

Block XP blacklist

Exclude specific block type IDs from mining/woodcutting XP when players break them. Use this when a modded block matches ore/log/tree rules but should not be farmed for XP (for example Animal Husbandry feed troughs). Default: "Tw_Feed_Carnivore,Tw_Feed_Herbivore"
  • List block type IDs, not item IDs. Enable "Debug": true, break the block once, and check the console for [BlockBreakXPSystem] Block broken: id="...".
  • IDs use case-insensitive exact match (same as BlacklistedEntities). tw_feed_carnivore and Tw_Feed_Carnivore are equivalent.
  • Blacklisted blocks give no XP when broken. Mining/woodcutting stat speed bonuses are unchanged.
  • Set to "" to allow XP from all eligible blocks (no block blacklist).
  • To disable all block-break XP, use EnableBlockXP: false in the same file (documented in 0.2.0 Main Config - Block XP).

Tame XP

Added in 0.3.9. When a player tames a creature (NPC role becomes Tamed_*), RPG Leveling can award XP using the same formula as mob kills (monster level, level gap, RateExp, zone rate, curve overrides). Run /lvl reload after editing. Players see notifications.creature_tamed when a tame succeeds (see Messages Config).

PvP XP

Control whether player kills award experience:
  • EnablePVPXp: true - Killing players awards XP
  • EnablePVPXp: false (default) - No XP from player kills

Example Config (Default Values)


File location and reload

  • Path: mods/Zuxaw_RPGLeveling/RPGLevelingConfig.json
  • This file is reloaded by /lvl reload. See Configuration Overview.

See Also