Difference between revisions of "Mapserver"

From Pandorabox
Jump to navigation Jump to search
(Created page with "TO-DO: move [https://github.com/pandorabox-io/pandorabox.io/issues/546 BuckarooBanzay's comment] about updating the mapserver to an article.")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
TO-DO: move [https://github.com/pandorabox-io/pandorabox.io/issues/546 BuckarooBanzay's comment] about updating the mapserver to an article.
+
== The mapserver is two fold ==
 +
 
 +
# the WebApp
 +
# the mod
 +
 
 +
The WebApp can be found and searched on the web by going to [https://pandorabox.io/map/#!/map/0/11/604/1902 pandorabox.io/map] and also supplies an API.<br>
 +
The mod allows us to use the /search command in-game and calls the API of the WebApp.<br>
 +
<br>
 +
The WebApp allows to find specific types of objects within a given layer and are made visible on the map with various icons.<br>
 +
The mod allows us to search for specific types (bones/shop/POI) and it returns the results in a dialog on screen(formspec)<br>
 +
<br>
 +
Any objects that are not within a specific layer can not be searched for and are not visible on the map(including players).<br>
 +
<br>
 +
=== The layers ===
 +
The layers start and stop at specific heights (y coordinates) which are:
 +
# Ground: -16 >= y < 176
 +
# Moon: 4992 >= y < 5616
 +
# Space: 6000 >= y < 10016
 +
# Mars: 14000 >= y < 17024
 +
<br>
 +
* '''Example 1:''' <br>If you die Higher or lower then these layers, your bones will not show up on the map and /search bones PlayerName will not return any results.<br>
 +
* '''Example 2:''' <br>If you place a Fancy Vendor inside these layers, the items for sale can be found including your username and location of the vendor, price etc.<br>
 +
* '''Example 3:''' <br> If you die and bones are placed at y=-17, they will not show up on the map. But if you die at -16 it does.
 +
'''Tip''' If you do happen to die outside these layers, be quick while you still have the way-point pointing to your bones. Note the time and date of your death in Coordinated Universal Time(UTC) in case you need to contact staff to find your bones.

Latest revision as of 15:35, 7 March 2023

The mapserver is two fold

# the WebApp
# the mod

The WebApp can be found and searched on the web by going to pandorabox.io/map and also supplies an API.
The mod allows us to use the /search command in-game and calls the API of the WebApp.

The WebApp allows to find specific types of objects within a given layer and are made visible on the map with various icons.
The mod allows us to search for specific types (bones/shop/POI) and it returns the results in a dialog on screen(formspec)

Any objects that are not within a specific layer can not be searched for and are not visible on the map(including players).

The layers

The layers start and stop at specific heights (y coordinates) which are:

  1. Ground: -16 >= y < 176
  2. Moon: 4992 >= y < 5616
  3. Space: 6000 >= y < 10016
  4. Mars: 14000 >= y < 17024


  • Example 1:
    If you die Higher or lower then these layers, your bones will not show up on the map and /search bones PlayerName will not return any results.
  • Example 2:
    If you place a Fancy Vendor inside these layers, the items for sale can be found including your username and location of the vendor, price etc.
  • Example 3:
    If you die and bones are placed at y=-17, they will not show up on the map. But if you die at -16 it does.
Tip If you do happen to die outside these layers, be quick while you still have the way-point pointing to your bones. Note the time and date of your death in Coordinated Universal Time(UTC) in case you need to contact staff to find your bones.