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.
Properties
Section titled “Properties”levels?
Section titled “levels?”
optionallevels?: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.
playerStart?
Section titled “playerStart?”
optionalplayerStart?: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.
position?
Section titled “position?”
optionalposition?: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
optionalyaw?:number
Defined in: server/api.d.ts:86
Heading in degrees at position; default 0.