Selectors
- @a - all players
- @m - all mobs
- @b - all buildings
- @b[type=MiningDrill] - all buildings that are mining drills
- @r - random player
Examples
- /give @a MiniTurret - give everyone miniturret
- /tp @a 20 20 - teleport everyone to coord 20,20
- /clear @b[type=MiningDrill] - empty all inventory of mining drills
- /caption @a[health<20] title danger - send caption to players who have less than 20 health
- /kill @a[gold>=1000] - kill all players who have gold value of 1000 or more
- /tp @m[region=jail] 20 20 - teleport all mobs in jail region to coordinate 20 20
Selector Arguments
Selector arguments reduce the number of players/mobs/buildings being selected. @a[role=police] will only select players who have a police role.
- @a arguments - region, role, team, health, stamina, oxygen, hunger, speed, gold, score
- @b arguments - region, type, health, owner, team
- @m arguments - region, type, health, owner, team, hunger, speed