#How to get all nearby players, like @a[r=5]

1 messages · Page 1 of 1 (latest)

zenith frigate
#

player get nearby players

stuck marlin
#
player.dimension.getPlayers({
minDistance: 0,
location: player.location,
maxDistance: your number
})
stuck marlin
#

U need to change player

#

Based on the data u have

zenith frigate
stuck marlin
#

Yes

stuck marlin
#

C ?

worldly shoal
#

closest: 1

#

I think

stuck marlin
#

colosest isn't true and false argumented?

worldly shoal
stuck marlin
#

Oh

worldly shoal
zenith frigate
#

How to express @a[name=!nameTag]

worldly shoal
#

excludeNames: ["nameTag"]

zenith frigate
worldly shoal
#

This link lists them all btw

stuck marlin
worldly shoal
#

the link lists them all

#

it would be faster to check there than wait for an answer

stuck marlin
#

I just said