Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

MapTravelOptions

Defined in: server/api.d.ts:77

Where player.travelToMap stands the player. Neither field: the map’s own default start, except on Overland, whose default is a house dormitory: there their spawn point (getSpawn, else World.spawn) when one is set.

optional levels?: string[]

Defined in: server/api.d.ts:96

Up to 8 more maps by package path, loaded into the destination before the player is placed, the way its own always-loaded levels are. For an area the game assembles from several maps; travelToPlace knows the game’s own sets.


optional playerStart?: string

Defined in: server/api.d.ts:91

Instead of position: the tag the load looks for, the way the game’s dungeon exits travel. A PlayerStart with that tag, else a dungeon of that name, which on Overland lands at its entrance.


optional position?: object

Defined in: server/api.d.ts:81

A point in the destination map’s coordinates, as player.position reads them there.

x: number

y: number

z: number


optional yaw?: number

Defined in: server/api.d.ts:86

Heading in degrees at position; default 0.