-
Notifications
You must be signed in to change notification settings - Fork 3
XP Mapping Configuration
AzureDoom edited this page Jan 19, 2026
·
1 revision
The xpmapping.csv file allows you to define custom XP rewards per NPC type. This lets you override the default XP calculation for specific NPCs while leaving all others unchanged.
/mods/levelingcore_LevelingCore/data/config/xpmapping.csv
The file uses standard CSV (Comma-Separated Values) formatting with a required header row.
npctypeid,xp| Column Name | Description |
|---|---|
| npctypeid | The NPC type identifier (case-sensitive) |
| xp | The fixed amount of XP awarded when this NPC is killed |
npctypeid,xp
Antelope,3
Archaeopteryx,2In this example:
- Killing an Antelope grants 3 XP
- Killing an Archaeopteryx grants 2 XP
If an NPC does not appear in xpmapping.csv, its XP value will be calculated automatically using the health-based XP formula.
This means:
- You only need to list NPCs you want to override
As of January 18, 2026, all default NPCs are explicitly defined in xpmapping.csv.
Because of this:
- Default NPCs will no longer fall back to health-based XP calculation
- Health-based XP is only used if:
- An NPC is truly custom or mod-added and not listed, or
- The configuration is explicitly set to use health-based XP only
If you want default NPCs to use health-based XP again, you must remove or override their entries or adjust the relevant configuration option.
- NPC type IDs must match their internal identifiers exactly
- The file is read on startup (restart required after changes)
- Duplicate npctypeid entries may cause unexpected behavior
- XP values should be positive integers