Options for World.getPlayers.
Interface in @minecraft/server
Options for World.getPlayers.
import type { EntityQueryOptions } from '@minecraft/server';Properties
Section titled “Properties”optional
name?: string;Only the player with this name.
excludeNames
Section titled “excludeNames”optional
excludeNames?: string[];Leave out players with these names.