/xp
/experienceop 2Players/xp and /experience are the same command. Points and levels are different units — 30 levels is far more than 30 points, since each level costs progressively more.
Command1 to fix
17
- Amount is required.
Press C to copy
Nearest player
@p
Who or what the command applies to
Amount is required.
Examples
- 30 levels
/xp add @s 30 levels - Wipe experience
/xp set @s 0 levels
Common questions about /xp
›How do I remove all experience?
/xp set @s 0 levels. Note that add with a negative number only works for points, not levels, so set is the reliable way to clear it.
›How many points is one level?
It rises as you go. Levels 1 to 16 cost 2 × level + 7 points each, levels 17 to 31 cost 5 × level − 38, and past that 9 × level − 158. This is why adding 30 levels is far more experience than adding 30 points.