πŸ“˜ XP Mode – Documentation

🎯 Purpose

The XP system allows players to gain experience points (XP) from various actions like mining, crafting, trading, killing mobs, etc. Based on their total XP, players unlock new items, actions, and abilities.


βš™οΈ Configuration (xpmode.yml)

πŸ”§ Options

options:
  allowUnlimitedXP: true        # Should players continue to gain XP after reaching max level?
  gainXPInCreative: true        # Should players gain XP while in creative mode?

πŸ§ͺ Levels & Unlocks

Players unlock new items, actions, and effects by reaching specific XP thresholds:

Recipes:
  level1:
    needed_xp: 0
    items: [...]
    runCommandsOnReach: [...]
    entities_actions: [...]

🎁 XP Rewards

Players earn XP through various actions:

xpRewards:
  default:
    breakBlock: 1
    placeBlock: 1
    killMob: 10
    tradeWithVillager: 5
    craftItem: 2

Example:

specific:
  blocks:
    DIAMOND_ORE: 50
  mobs:
    CREEPER: 25
  trades:
    LIBRARIAN: 15
  crafting:
    BEACON: 100

🧠 Summary