Skip to main content

PlayersManager

class PlayersManager extends EntitiesManager<PlayerManager> {
create(id: number, data?: PlayerDataProps): PlayerManager;

forEachInChunk(
chunkIndex: ChunkIndex,
callback: (player: PlayerManager) => void,
): void;

setNametagsDistance(distance: number): Promise<void>;

setStreamerDistance(distance: number): Promise<void>;
}