Coordinates: Difference between revisions

From Vintage Story Wiki
Describe the world size limits
No edit summary
(Describe the world size limits)
Line 32: Line 32:
<!--T:6-->
<!--T:6-->
{{ll|List of server commands|List of server commands}}
{{ll|List of server commands|List of server commands}}
== Limits ==
The minimum value of an absolute coordinate is (0, 0, 0). The maximum value is set by the world size. The world size is set at world creation through the "MapSizeX", "MapSizeY", and "MapSizeZ" fields in the [Server_Config].
There is a limit to how large the world size can be set to at world creation. The limit for each dimension is defined as a [https://github.com/anegostudios/vsapi/blob/e78624b6eee6920e45edcd25ba94e8199b2193af/Config/GlobalConstants.cs#L27 global constant]. As of version [https://info.vintagestory.at/v1dot19#pre3 1.19.0-pre.3], the world size limits are:
* '''X''': 67108864
* '''Y''': 32768 (but player cannot go above 20,480)
* '''Z''': 67108864


</translate>
</translate>
Confirmedusers
261

edits