Search the docs

Find a guide, global, type or member

TypeMatch

MatchMarker

A named point placed in the map. Positions are world coordinates in blocks and may be fractional; yaw is in degrees.

Fields

matchMarker.name: string#

The marker's name, e.g. "team:spawn". Several markers can share a name.

matchMarker.x: number#
matchMarker.y: number#
matchMarker.z: number#
matchMarker.yaw: number?#

degrees; nil when the marker has no rotation

matchMarker.facing: string?#

lowercase block face: "north", "south", "east", "west", "up" or "down"; nil if unset

matchMarker.properties: { [string]: string }#

Free-form key = value text the map author attached, e.g. { team = "red" }. Values are always strings; convert numbers with tonumber.