WindrosePlus Live Map: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
Line 3: Line 3:
|description=The Windrose+ live map shows real-time player and creature positions on an interactive Sea Chart of your server's world. No client mods needed.
|description=The Windrose+ live map shows real-time player and creature positions on an interactive Sea Chart of your server's world. No client mods needed.
}}
}}
The Windrose+ Live Map (Sea Chart) displays real-time player positions and creature locations on an interactive map of the game world. It runs inside the Windrose+ Dashboard and requires no client-side mods or additional software.
The Windrose+ Live Map (Sea Chart) displays real-time player positions and creature locations on an interactive map of the game world. It runs inside the Windrose+ Dashboard and needs no mods or extra software on players' PCs.


[[File:windrose-plus-sea-chart-2026-10.png|thumb|none|588px|alt=Windrose+ Sea Chart showing a Windrose world's islands, with the zoom buttons and the Search, Layers and Items buttons|The Sea Chart draws your world's islands.]]
[[File:windrose-plus-sea-chart-2026-10.png|thumb|none|588px|alt=Windrose+ Sea Chart showing a Windrose world's islands, with the zoom buttons and the Search, Layers and Items buttons|The Sea Chart draws your world's islands.]]


== What the Live Map Shows ==
== What the live map shows ==


The Sea Chart renders the game world terrain as a tiled map and overlays live entity data on top of it:
The Sea Chart draws the world's terrain as a tiled map and shows live player and creature positions on top of it:


* '''Player positions''' - Shown as gold/white circle markers with player names displayed next to each marker.
* '''Player positions''': shown as gold/white circle markers with player names displayed next to each marker.
* '''Creature positions''' - Shown as small round markers with a red shield icon. Hover over a marker to see the creature type.
* '''Creature positions''': shown as small round markers with a red shield icon. Hover over a marker to see the creature type.


The map uses the Leaflet mapping library and supports standard map interactions including zoom, pan, and click-to-inspect.
The map uses the Leaflet mapping library and supports standard map interactions including zoom, pan, and click-to-inspect.


== How to Access the Live Map ==
== How to open the live map ==


There are two ways to reach the Sea Chart:
There are two ways to reach the Sea Chart:


=== From the Dashboard ===
=== From the dashboard ===


# Open the Windrose+ Dashboard address (the IP and Port under '''RCON DETAILS''') shown on your game server page in the [https://www.survivalservers.com/sspanel/ Command Center].
# Open the Windrose+ Dashboard address (the IP and Port under '''RCON DETAILS''') shown on the Game Server page in the [https://www.survivalservers.com/sspanel/ Command Center].
# Log in with your RCON password.
# Log in with your RCON password.
# Click the '''Sea Chart''' tab in the dashboard navigation.
# Click the '''Sea Chart''' tab in the dashboard navigation.
Line 28: Line 28:
=== Direct URL ===
=== Direct URL ===


The live map is also available at a direct URL by appending <code>/livemap</code> to your dashboard address. For example, if your dashboard is at <code><nowiki>http://your-server-ip:8780</nowiki></code>, the live map is at <code><nowiki>http://your-server-ip:8780/livemap</nowiki></code>.
You can also open the live map directly: add <code>/livemap</code> to the end of your dashboard address. For example, if your dashboard is at <code><nowiki>http://your-server-ip:8780</nowiki></code>, the live map is at <code><nowiki>http://your-server-ip:8780/livemap</nowiki></code>.


Authentication is required. If you are not logged in, you will be redirected to the login page first.
You need to log in. If you're not logged in, you're sent to the login page first.


== How Map Data Is Generated ==
== How map data is generated ==


The terrain map tiles must be generated before the Sea Chart can display the world. This happens in two steps:
The terrain map tiles must be generated before the Sea Chart can display the world. This happens in two steps:


# '''Automatic generation''' - The world's terrain is exported automatically the first time a player connects to the server while Windrose+ is running, and again when the server loads a different world.
# '''Automatic generation''': the world's terrain is exported automatically the first time a player connects to the server while Windrose+ is running, and again when the server loads a different world.
# '''Terrain export''' - The dashboard then draws the exported heightmap as image tiles that the Sea Chart renders. To redo both by hand, run the <code>wp.mapexport</code> command via the RCON console while a player is online.
# '''Terrain export''': the dashboard then draws the exported heightmap as image tiles that the Sea Chart renders. To redo both yourself, run the <code>wp.mapexport</code> command in the RCON console while a player is online.


If no map data exists yet, the Sea Chart will display the message: "No map data available."
If no map data exists yet, the Sea Chart shows the message: "No map data available."


The <code>wp.mapgen</code> command rebuilds the tiles from the terrain already exported, while <code>wp.mapexport</code> exports the terrain again and then rebuilds the tiles. A new world needs neither, because both steps run on their own.
The <code>wp.mapgen</code> command rebuilds the tiles from the terrain already exported, while <code>wp.mapexport</code> exports the terrain again and then rebuilds the tiles. A new world needs neither, because both steps run on their own.


== Marker Types ==
== Marker types ==


{| class="wikitable"
{| class="wikitable"
Line 54: Line 54:
|}
|}


== Refresh Intervals ==
== Refresh intervals ==


The live map polls the server API for updated entity positions at regular intervals:
The live map asks the server for new positions at regular intervals:


{| class="wikitable"
{| class="wikitable"
|-
|-
! Data !! Refresh Rate !! Notes
! Data !! Refresh rate !! Notes
|-
|-
| Players and creatures || Every 10 seconds. || Both player and mob positions are fetched in a single API call.
| Players and creatures || Every 10 seconds. || Both player and mob positions are fetched in a single API call.
Line 69: Line 69:
All position data comes from the <code>/api/livemap</code> endpoint on the Windrose+ HTTP server. The server collects position data from the game engine and writes it to a JSON file that the API serves.
All position data comes from the <code>/api/livemap</code> endpoint on the Windrose+ HTTP server. The server collects position data from the game engine and writes it to a JSON file that the API serves.


== Map Controls ==
== Map controls ==


The Sea Chart supports standard interactive map controls:
The Sea Chart supports standard interactive map controls:


* '''Zoom''' - Use the scroll wheel or the + / - buttons in the top left corner.
* '''Zoom''': use the scroll wheel or the + / - buttons in the top left corner.
* '''Pan''' - Click and drag to move around the map.
* '''Pan''': click and drag to move around the map.
* '''Zoom to fit''' - The map automatically fits to the island bounds when first loaded.
* '''Zoom to fit''': the map automatically fits to the island bounds when first loaded.


The map constrains panning to the world boundaries so you cannot scroll into empty space.
The map constrains panning to the world boundaries so you can't scroll into empty space.


== Troubleshooting ==
== Troubleshooting ==
Line 87: Line 87:
| "No map data" message. || Have a player join the server, or run <code>wp.mapexport</code> from the RCON console while a player is online.
| "No map data" message. || Have a player join the server, or run <code>wp.mapexport</code> from the RCON console while a player is online.
|-
|-
| Map loads but no players shown. || Verify at least one player is connected. Player data updates every 10 seconds.
| Map loads but no players shown. || Check that at least one player is connected. Player data updates every 10 seconds.
|-
|-
| Map tiles are blank or missing. || Run <code>wp.mapexport</code> again. The export may have been interrupted.
| Map tiles are blank or missing. || Run <code>wp.mapexport</code> again. The export may have been interrupted.
|-
|-
| Cannot access the live map URL. || Make sure Windrose+ is enabled and the server is running. Check that the RCON password is set.
| Can't open the live map URL. || Make sure Windrose+ is enabled and the server is running. Check that the RCON password is set.
|-
|-
| Login page keeps appearing. || Sessions expire after 24 hours. Log in again with your RCON password.
| Login page keeps appearing. || Sessions expire after 24 hours. Log in again with your RCON password.
|}
|}


== See Also ==
== See also ==


* [[Windrose+ Setup Guide]]
* [[Windrose+ Setup Guide]]

Latest revision as of 09:15, 17 November 2026

The Windrose+ Live Map (Sea Chart) displays real-time player positions and creature locations on an interactive map of the game world. It runs inside the Windrose+ Dashboard and needs no mods or extra software on players' PCs.

Windrose+ Sea Chart showing a Windrose world's islands, with the zoom buttons and the Search, Layers and Items buttons
The Sea Chart draws your world's islands.

What the live map shows

The Sea Chart draws the world's terrain as a tiled map and shows live player and creature positions on top of it:

  • Player positions: shown as gold/white circle markers with player names displayed next to each marker.
  • Creature positions: shown as small round markers with a red shield icon. Hover over a marker to see the creature type.

The map uses the Leaflet mapping library and supports standard map interactions including zoom, pan, and click-to-inspect.

How to open the live map

There are two ways to reach the Sea Chart:

From the dashboard

  1. Open the Windrose+ Dashboard address (the IP and Port under RCON DETAILS) shown on the Game Server page in the Command Center.
  2. Log in with your RCON password.
  3. Click the Sea Chart tab in the dashboard navigation.

Direct URL

You can also open the live map directly: add /livemap to the end of your dashboard address. For example, if your dashboard is at http://your-server-ip:8780, the live map is at http://your-server-ip:8780/livemap.

You need to log in. If you're not logged in, you're sent to the login page first.

How map data is generated

The terrain map tiles must be generated before the Sea Chart can display the world. This happens in two steps:

  1. Automatic generation: the world's terrain is exported automatically the first time a player connects to the server while Windrose+ is running, and again when the server loads a different world.
  2. Terrain export: the dashboard then draws the exported heightmap as image tiles that the Sea Chart renders. To redo both yourself, run the wp.mapexport command in the RCON console while a player is online.

If no map data exists yet, the Sea Chart shows the message: "No map data available."

The wp.mapgen command rebuilds the tiles from the terrain already exported, while wp.mapexport exports the terrain again and then rebuilds the tiles. A new world needs neither, because both steps run on their own.

Marker types

Marker Color Size Represents
Player Gold/white circle with name label. 14px diameter. A connected player's current position.
Creature Round marker with a red shield icon. 24px diameter. A spawned mob or creature in the world.

Refresh intervals

The live map asks the server for new positions at regular intervals:

Data Refresh rate Notes
Players and creatures Every 10 seconds. Both player and mob positions are fetched in a single API call.
Terrain tiles Static (cached). Tiles are generated once per world and kept until they are rebuilt. Run wp.mapexport again if the world terrain changes significantly.

All position data comes from the /api/livemap endpoint on the Windrose+ HTTP server. The server collects position data from the game engine and writes it to a JSON file that the API serves.

Map controls

The Sea Chart supports standard interactive map controls:

  • Zoom: use the scroll wheel or the + / - buttons in the top left corner.
  • Pan: click and drag to move around the map.
  • Zoom to fit: the map automatically fits to the island bounds when first loaded.

The map constrains panning to the world boundaries so you can't scroll into empty space.

Troubleshooting

Problem Solution
"No map data" message. Have a player join the server, or run wp.mapexport from the RCON console while a player is online.
Map loads but no players shown. Check that at least one player is connected. Player data updates every 10 seconds.
Map tiles are blank or missing. Run wp.mapexport again. The export may have been interrupted.
Can't open the live map URL. Make sure Windrose+ is enabled and the server is running. Check that the RCON password is set.
Login page keeps appearing. Sessions expire after 24 hours. Log in again with your RCON password.

See also