Configure gains per event
In trigger-xp.yml, choose one of the 22 IDs in the trigger reference. Enable enabled, set xpGain and pointsGain, and grant xptriggers.all or xptriggers.ID_DO_EVENTO using the event ID.
xp_triggers:
catch_pokemon:
enabled: true
xpGain: 10
pointsGain: 1
message_key: 'xp_trigger_gain'
pokemon:
legendary: 2.0
shiny: 1.1
For activity XP, use pointsGain; quests use points_gain. message_key selects a message in messages.yml and can be empty. An activity can award passive gains and advance a quest at the same time.
With these values, a normal Pokémon uses 1x, a legendary 2x and a shiny 1.1x. A shiny legendary uses their sum, 3.1x. XP and points are rounded down, after which pass XP receives active bonuses.
Block or entity multipliers
xp_triggers:
block_break:
enabled: true
xpGain: 1
pointsGain: 0
block:
diamante:
id: 'minecraft:diamond_ore'
multiplier: 5.0
kill_entity:
enabled: true
xpGain: 2
pointsGain: 1
only_listed: true
entity:
zumbi:
id: 'minecraft:zombie'
multiplier: 2.0
In block, the list defines multipliers; unlisted blocks can still receive base gains. In entity, use only_listed: true to reward only listed entities.
Without pokemon, block or entity, configure base gains per occurrence. An occurrence can have a quantity different from quest progress: crafting four items does not guarantee four passive XP awards. For generic NPC battle gains, prefer a configuration without pokemon.
The distance block does not filter these gains. This file has no daily per-player limit or cooldown; balance values for repeatable activities.