Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How do I test for a player's xp levels in a radius of 2?

Writer Andrew Mclaughlin

I have the command

/give @p[lm=10] bow

set up in one command and

/xp -10L @p[lm=10] in another.

I need to know how to make the second command apply to only players in a specific radius.

1 Answer

It should just be /xp -10L @p[lm=10,r=X] where X is the number of blocks in the radius.