Mob Kill XP
Configure XP values for mob kills
Overview
Mob Kill XP controls how much experience offensive weapon skills earn when you kill a mob. Kill XP is used by the Damage+Kill and Kill-Only combat XP modes. In Damage+Kill mode (the default), kill XP is awarded as a bonus on top of per-hit damage XP. In Kill-Only mode, it is the sole source of offensive weapon XP.
Mob XP values are stored in mods/mmoskilltree/mob-kill-xp.json using an override-based system. The file only contains your customizations — defaults are built into the mod and auto-update with new versions.
Kill XP Formula
When Weapon XP Scaling is enabled (default):
Kill XP = Mob Base XP x (100 + Weapon XP) / 100The weapon's per-hit XP value (from XP Maps) acts as a percentage bonus on the mob's base XP. For example, a sword with 70 per-hit XP grants a 70% bonus — killing a Trork (65 base XP) yields 65 x 170 / 100 = 110 XP.
When Weapon XP Scaling is disabled:
Kill XP = Mob Base XP onlyWeapon quality has no effect — all weapons award the same XP for the same mob. Toggle this from the Mob Kill XP admin page.
Pattern Matching
Mob type IDs use longest substring matching. When a mob is killed, its type identifier (e.g., Skeleton_Fighter) is checked against all patterns. The longest matching pattern wins:
Skeletonmatches Skeleton_Fighter, Skeleton_Archer, Skeleton_Burnt, etc.Skeleton_Burntis more specific — takes priority overSkeletonWolfmatches Wolf, Wolf_Arctic, etc.- Empty string
""is the fallback — matches any mob with no better match
Default XP Tiers
Over 100 mob types have built-in XP values organized by difficulty:
| Tier | XP Range | Examples |
|---|---|---|
| Critters | 5-8 | Frog, Mouse, Bat, Sparrow |
| Small Passive | 8-15 | Chicken, Rabbit, Owl, Crow |
| Livestock | 10-22 | Pig, Sheep, Cow, Horse, Bison |
| Minor Hostile | 35-45 | Snake, Cactee, Spider, Fen_Stalker |
| Medium Hostile | 55 | Hyena, Leopard, Goblin, Moose |
| Standard Enemies | 65 | Trork, Skeleton, Zombie, Wolf |
| Tough Enemies | 85 | Outlander, Bear, Raptor, Tiger |
| Elite | 130 | Emberwulf, Golem, Ghoul, Wraith |
| High Elite | 175 | Rex_Cave, Yeti, Werewolf |
| Endgame | 250 | Void, Shadow_Knight, Zombie_Aberrant |
| Bosses | 400-500 | Goblin_Duke, Golem_Guardian, Dragon |
| Fallback (any mob) | 25 | Any unmatched mob type |
File Structure
{
"schemaVersion": 1,
"weaponXpScaling": true,
"overrides": {
"Skeleton": 80,
"Dragon": 600,
"Chicken": -1
}
}schemaVersion— Config format version (do not change)weaponXpScaling— Whether weapon quality acts as a percentage bonus on kill XPoverrides— Your customized mob XP values (only stores changes from defaults)
Special Values
-1— Disable a pattern (mob gives no XP on kill)0— Pattern gives zero XP (still processed)- Positive number — Base XP awarded for killing a matching mob
Admin UI
Access the visual editor via /mmoadmin → Mob Kill XP:
- Browse all mob patterns with default and current values
- Status indicators: Default (green), Override (orange), Disabled (red)
- Click a pattern name to copy it to the edit field
- Add/Update — Set or change XP for a pattern
- Disable — Set a pattern to -1 (no XP)
- Reset — Revert a single pattern to its default
- Trim Overrides — Remove overrides that match their default values
- Weapon XP Scaling toggle — Enable/disable weapon quality bonus
Reference Files
Check mods/mmoskilltree/_reference/defaults-mob-kill-xp.json for all default mob XP values. This file is auto-generated and read-only — use it as a reference when creating overrides.
Best Practices
- Use specific patterns for variants that should differ from their base type (e.g.,
Skeleton_Burntat 85 XP vsSkeletonat 65 XP) - The fallback pattern (empty string) catches any mob without a specific entry — set it to control the baseline
- Use Trim Overrides periodically to clean up overrides that match defaults
- When adding custom mobs, use the mob's type identifier as the pattern
- Back up
mob-kill-xp.jsonbefore major changes