minecraft command for xp code example Example: xp cmd for minecraft /xp add <targets> <amount> [levels¦points]