Skip to content

Releases: JLyne/LiveAtlas

v3.1.0

18 Jun 21:37
Compare
Choose a tag to compare

Some bug fixes and custom login URL support. Reapplying any customisations you have made to a fresh index.html is recommended.

Added

  • Support for custom login URLs
    • The new customLoginUrl setting in index.html allows specifying a URL to redirect the user to if they need to login, such as a customised dynmap login.html
    • If this setting is used, LiveAtlas will not perform any authentication itself, instead delegating entirely to the configured URL. The configured URL will need to perform the necessary Dynmap API calls to log the user in.
  • {name} in Pl3xmap/Squaremap's heads-url setting is now supported.
  • If LiveAtlas' JS fails to load an error will now be displayed instead of an infinite loading screen.

Fixed

  • Fixed Overviewer support failing to handle instances hosted at the root of the current domain (/)
  • Improved map icon selection logic. Thanks @ChrissW-R1

New Contributors

Full Changelog: v3.0.0...v3.1.0

v3.0.0

01 Apr 20:32
Compare
Choose a tag to compare

Today's final 3.0.0 release brings Overviewer map support, a searchable marker list in the sidebar and various UI improvments and bug fixes.

Changes since 3.0.0-beta.4

Added

  • Added disableMarkerUI index.html option for disabling the new marker list

Misc.

  • Updated to latest leaflet

Changes since 2.0.1

Added

  • Marker list
    • New sidebar section between maps and players
    • Can be toggled with CTRL + SHIFT + I (m was taken by maps)
    • Initially shows marker sets with marker counts underneath. Clicking a set will list its contents.
    • Dynmap markers will show their label in the list; squaremap/pl3xmap markers will show their tooltip. HTML is stripped.
    • Markers will show their location and icon in the list
      • Point markers will show their exact location, other marker types will show the center of all their points
      • Markers without icons will use a generic icon of their type
    • Markers without a name will show a fallback message defined in index.html, but will still be displayed and can be panned to.
    • The marker list for each marker set has a search bar which will filter the list based on name
    • Clicking a marker in the list will pan to it
      • Point markers will simply pan, but other marker types will also zoom to fit their shape as much as possible
    • Keyboard navigation is fully supported.
      • Arrow keys, home/end and space/enter work as with other lists
      • Backspace whilst inside a marker list will take you back to the marker set list
      • CTRL + F in a marker list will focus the search
    • To avoid performance issues with large sets, only 50 markers will be listed at first
      • A "Show more" button will appear at the bottom to allow displaying further markers
    • Can be disabled with the disableMarkerUI option in index.html
  • Overviewer support
    • Most standard features should be fully supported, including: Overlay tilesets, markers, spawn markers, etc
    • Overviewer format URLs are partially supported. Everything except the zoom level will be handled correctly.
    • Due to overviewer config files being JS files, if you have a Content Security Policy you will need to allow unsafe-eval and unsafe-inline for scripts if you have any configured overviewer maps.
    • Modifications to overviewer are unlikely to be supported if they require any frontend changes
      • Additional injected marker scripts are supported if they add markers to the global markersDB or markers objects like the default scripts do
    • The URL location marker is not currently implemented. If this is later implemented it would likely be a toggleable feature for all map types
  • Following improvements
    • Following UI now sticks to the bottom of the viewport like in initial LiveAtlas versions
    • Player world and location is now shown when the player is visible
    • Clicking the location will copy it to your clipboard
    • Fixed long names breaking the layout
    • Existing player follows are now cancelled when manually switching worlds
  • Sidebar improvements
    • Added tweaked map icons by @Katuend
    • Sidebar section headers and search bars now stick to the top of the viewport when scrolling the sidebar
    • Searching players now scrolls the list back to the top
    • Pressing down arrow on buttons for already expanded sidebar sections will now focus the section
    • Fixed long headings breaking the layout
    • Improved scrolling performance a bit
    • Increased sidebar width slightly to more comfortably fit marker names
  • Added disableContextMenu index.html option, to allow disabling the custom map context menu
  • Missing index.html messages will now show a fallback message instead of nothing
  • Squaremap maps can now be configured with squaremap as well as pl3xmap in index.html
  • Added support for Dynmap's new tilescale setting
  • Dynmap shape markers with a label will now show a tooltip with the label on hover, matching Pl3xmap behaviour.
  • Dynmap point markers will now be centered in the block they are located in, rather than displaying in the top left corner

Fixed

  • Fixed sidebar sections attempting to focus themselves repeatedly on initial load if the UI is visible
  • Fixed player heads continuing to load for the previous server when switching servers
  • Fixed tooltips not updating if a marker updates
  • Fixed player image not updating on follow target change
  • Fixed point marker icons not updating when they are changed
  • Fixed some Squaremap/Pl3xmap markers showing their position as NaN, NaN in the marker list
  • Fixed various issues handling Dynmap's append_to_world setting (#345)
  • Fixes worlds appearing in the map list if all of their maps are appended to another world
  • Fixes multiple maps with the same name replacing each other when appended to the same world
  • Fixed incorrect handling of Squaremap/Pl3xmap shape markers, causing some to be incorrectly filled (#359)

Misc.

  • Improved marker set creation performance
  • Many internal changes to marker updating and storage
  • Player markers are now only created once per player on a server.
    • This should improve world switching performance slightly at high player counts.
  • Player images are now updated if the player image URL changes (i.e switching worlds with different heads_urls)

v3.0.0-beta.4

27 Feb 22:00
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

This 3.0.0 beta release adds initial support for Overviewer maps, bringing the number of supported map types to 4.

Feedback on this release is appreciated.

Added

  • Overviewer support
    • Most standard features should be fully supported, including: Overlay tilesets, markers, spawn markers, etc
    • Overviewer format URLs are partially supported. Everything except the zoom level will be handled correctly.
    • Due to overviewer config files being JS files, if you have a Content Security Policy you will need to allow unsafe-eval and unsafe-inline for scripts if you have any configured overviewer maps.
    • Modifications to overviewer are unlikely to be supported if they require any frontend changes
    • But additional injected marker scripts are supported if they add markers to the global markersDB or markers objects like the default scripts do
    • The URL location marker is not currently implemented. If this is later implemented it would likely be a toggleable feature for all map types

Fixed

  • Fixed marker set list not showing marker counts after switching between maps

v3.0.0-beta.3

21 Feb 12:38
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release

A quick third beta release to fix a build issue introduced in beta 2, which caused the CSS variables in index.html to be ignored

Fixes

  • Fixes CSS variable changes in index.html being ignored

v3.0.0-beta.2

20 Feb 20:48
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

This second beta for LiveAtlas 3.0 brings a range of bugfixes, both old and new.

Feedback on this release is appreciated.

Added

  • Added support for Dynmap's new tilescale setting
  • Added disableContextMenu index.html option, which will disable the custom map context menu when set to true

Fixed

  • Fixed player image not updating on follow target change
  • Fixed point marker icons not updating when they are changed
  • Fixed some Squaremap/Pl3xmap markers showing their position as NaN, NaN in the marker list
  • Fixed various issues handling Dynmap's append_to_world setting (#345)
    • Fixes worlds appearing in the map list if all of their maps are appended to another world
    • Fixes multiple maps with the same name replacing each other when appended to the same world
  • Fixed incorrect handling of Squaremap/Pl3xmap shape markers, causing some to be incorrectly filled (#359)

Misc

  • Player markers are now only created once per player on a server.
    • This should improve world switching performance slightly at high player counts.
  • Player images are now updated if the player image URL changes (i.e switching worlds with different heads_urls)

v3.0.0-beta.1

17 Jan 21:58
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

This first beta for LiveAtlas 3.0 brings a UI for listing, searching and navigating to markers - a highly requested feature since the initial release. Some significant internal changes were required to make this happen which need some testing, thus the version bump and beta release. This release also includes some additional QoL changes and bugfixes.

Feedback on this release is appreciated.

Marker list

  • New sidebar section between maps and players
  • Can be toggled with CTRL + SHIFT + I (m was taken by maps)
  • Initially shows marker sets with marker counts underneath. Clicking a set will list its contents.
  • Dynmap markers will show their label in the list; squaremap/pl3xmap markers will show their tooltip. HTML is stripped.
  • Markers will show their location and icon in the list
    • Point markers will show their exact location, other marker types will show the center of all their points
    • Markers without icons will use a generic icon of their type
  • Markers without a name will show a fallback message defined in index.html, but will still be displayed and can be panned to.
  • The marker list for each marker set has a search bar which will filter the list based on name
  • Clicking a marker in the list will pan to it
    • Point markers will simply pan, but other marker types will also zoom to fit their shape as much as possible
  • Keyboard navigation is fully supported.
    • Arrow keys, home/end and space/enter work as with other lists
    • Backspace whilst inside a marker list will take you back to the marker set list
    • CTRL + F in a marker list will focus the search
  • To avoid performance issues with large sets, only 50 markers will be listed at first
    • A "Show more" button will appear at the bottom to allow displaying further markers

Added

  • Following improvements
    • Following UI now sticks to the bottom of the viewport like in initial LiveAtlas versions
    • Player world and location is now shown when the player is visible
    • Clicking the location will copy it to your clipboard
    • Fixed long names breaking the layout
    • Existing player follows are now cancelled when manually switching worlds
  • Sidebar improvements
    • Added tweaked map icons by @Katuend
    • Sidebar section headers and search bars now stick to the top of the viewport when scrolling the sidebar
    • Searching players now scrolls the list back to the top
    • Pressing down arrow on buttons for already expanded sidebar sections will now focus the section
    • Fixed long headings breaking the layout
    • Improved scrolling performance a bit
    • Increased sidebar width slightly to more comfortably fit marker names
  • Squaremap maps can now be configured with squaremap as well as pl3xmap in index.html
  • Dynmap shape markers with a label will now show a tooltip with the label on hover, matching Pl3xmap behaviour.
  • Missing index.html messages will now show a fallback message instead of nothing
  • Dynmap point markers will now be centered in the block they are located in, rather than displaying in the top left corner

Fixed

  • Fixed sidebar sections attempting to focus themselves repeatedly on initial load if the UI is visible
  • Fixed player heads continuing to load for the previous server when switching servers
  • Fixed tooltips not updating if a marker updates

Misc

  • Improved marker set creation performance
  • Many internal changes to marker updating and storage

v2.0.1

23 Dec 23:18
Compare
Choose a tag to compare

Today's release includes a few bugfixes.

Fixed

  • Fixed typo causing dynmap config changes to not trigger a config reload
  • Fixed some tile updates for the active map not always appearing, due to the update being incorrectly handled by other inactive maps
  • Fixed zoom level 0 being ignored in URLs and instead using the map/global default zoom

v2.0.0

10 Dec 18:18
Compare
Choose a tag to compare

Today's final 2.0.0 release brings Pl3xmap support, Dynmap Login/Register support, UI improvements and more.

If you have customised your index.html, you will need to reapply your customisations to a fresh copy of the file to avoid version mismatch errors. This will also be required in any future updates which significantly change the configuration format LiveAtlas is expecting.

Changes since 2.0.0-beta.4

Added

  • Added configuration version checking
    The version of the configuration in index.html is now checked to ensure it matches the version LiveAtlas expects. This helps prevent hard to diagnose errors caused by updating LiveAtlas without also updating a customised index.html.
    • LiveAtlas will refuse to load if the version in the index.html configuration is missing or doesn't match the value LiveAtlas expects
    • If you encounter this issue, you should get a fresh copy of index.html for your LiveAtlas version and reapply any customisations.
  • Added support for Pl3xmap player facing direction
  • Added --background-marker/--text-marker CSS variables for controlling marker label text and background colors
  • Added ui.compactPlayerMarkers setting in index.html for switching to a pre-2.0 player marker style
  • Added support for Pl3xmap order, zoom.def and player_tracker.update_interval world options
  • Added support for Dynmap chat messages sent with a plugin source (#242)
  • Improvements to some displayed error messages when LiveAtlas fails to parse its configuration

Fixed

  • Fixed marker popups not displaying on click (#261)
    • Markers with popups will now also no longer pan the map if clicked once, instead the popup will be displayed
    • Clicking a second time will close the popup and center the map on the marker

Changes since 1.3.2

Added

  • Pl3xmap Support
    Added support for Pl3xmap maps. Map/marker viewing, popups, tooltips, players (with facing direction), tile updates and world icons are all supported.

  • Login/register support
    LiveAtlas now natively supports Dynmap's login/register functionality, via a new modal

    • For servers that require logging in to view the map, the modal will be displayed on the splash screen
  • UI refresh

    • Some icons have been updated (Credit to @Katuend who has created all the icons used by LiveAtlas)
    • Focused, selected and active colors are now easier on the eyes
    • Selected buttons now use a bolder font for better readability
    • Reduced the border radius applied to many UI elements
    • Text shadows are applied more consistently
    • For worlds with many defined maps, the map list will now wrap to avoid a horizontal scrollbar
    • The unfollow button now uses an icon
    • The maps button will use a new server icon when multiple servers are defined but only a single map
    • Marker labels have a maximum width and will wrap if necessary
    • It is now possible to switch servers from the splash screen
    • Players button title now shows current/max players.
  • Player marker improvements

    • Refreshed health/armor icons and increased their size for improved viewing.
    • showplayerfaces in Dynmap and show-head in Pl3xmap are respected, removing player icons when disabled.
    • Pl3xmap's show-armor setting is respected, hiding player armor status when disabled.
    • Added a circle to indicate player position more explicitly.
      • Pl3xmap maps use an arrow to indicate player facing direction instead.
    • Pl3xmap maps use larger player images when both health and armor are enabled.
    • Dynmap's showplayerfacesinmenu setting is now respected, hiding player faces in the player list and follow popup when disabled.
      • This behaviour differs from the vanilla Dynmap UI, which instead shows steve heads, but this approach is more consistent with how other showplayerfaces settings are handled.
  • Added support for custom Dynmap world icons.

    • Absolute URLs for Dynmap world icons are recommended in a multi-sever setup.
  • Zoom level is now reset to default when switching between Dynmap worlds.

    • Pl3xmap worlds will respect their default zoom setting

Fixed

  • Fixed armor/health not displaying on player markers until the player moves.
  • Added workaround for Dynmap unnecessarily escaping HTML in non-HTML markers (#172).
    • This should fix & etc in marker labels.
  • Fixed images being smoothed on Firefox
  • Fixed loading spinner spinning twice as fast as it should in some situations
  • Fixed display issues caused by players with long names
  • Fixed splash screen errors remaining visible when switching servers
  • Fixed player skins not displaying on Dynmap maps (#2, #73)
  • Fixed marker labels disappearing when toggling a showLabels: true layer twice
  • Fixed LiveAtlas infinitely reloading the server configuration if the server response doesn't include a valid hash
  • Fixed zoom level in URLs being ignored on initial load (#59).
  • Fixed players layer duplicating in the layer list in certain situations.
  • Various other minor bugfixes

Misc

  • Marker labels are now created lazily when showLabels is false for the containing marker set.
  • This should improve performance for showLabels: false marker sets containing many markers.
  • Small performance improvements to shape layers.

2.0.0-beta.4

30 Sep 23:20
Compare
Choose a tag to compare
2.0.0-beta.4 Pre-release
Pre-release

Today's release improves Pl3xmap support, fixes some longstanding Dynmap issues, and introduces a redesign for player markers.

As with previous betas brief testing didn't reveal major issues, but stay on 1.3.2 if you value stability. Feedback continues to be appreciated, particularly for the new login experience and UI changes.

Added

  • Player marker improvements
    • Pl3xmap's show-armor setting is now respected, hiding player armor status when disabled.
    • showplayerfaces in Dynmap and show-head in Pl3xmap are now respected, removing player icons when disabled.
    • Refreshed health/armor icons and increased their size for improved viewing.
    • Added a circle to indicate player position more explicitly.
    • Pl3xmap maps now use larger player images when both health and armor are enabled.
  • Dynmap's showplayerfacesinmenu setting is now respected, hiding player faces in the player list and follow popup when disabled.
    • This behaviour differs from the vanilla Dynmap UI, which instead shows steve heads, but this approach is more consistent with how other showplayerfaces settings are handled.
  • Added support for custom world icons in Pl3xmap and Dynmap.
    • Absolute URLs for Dynmap world icons are recommended in a multi-sever setup.
  • Zoom level is now reset to default when switching between worlds.
  • Improved handling of login session expiry (i.e server restart)
    • The login modal is now shown instead of requests forever failing silently.
    • Map position etc is still lost after logging back in currently.

Fixed

  • Fixed armor/health not displaying on player markers until the player moves.
  • Fixed some Pl3xmap worlds using incorrect icons.
  • Added workaround for Dynmap unnecessarily escaping HTML in non-HTML markers (#72).
    • This should fix & etc in marker labels.
  • Fixed various issues on Pl3xmap maps with a configured URL lacking a trailing slash (#125).
  • Fixed players.json being fetched when player-tracker is disabled in Pl3xmap.
  • Fixed world being ignored in Pl3xmap URLs.

2.0.0-beta.3

01 Sep 18:21
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release

Today's release contains some significant new features and changes, all in a smaller overall filesize.

If you have customised your index.html, it is highly recommended you apply your customisations from scratch due to the volume of changes.

As with previous betas brief testing didn't reveal major issues, but stay on 1.3.2 if you value stability. Feedback continues to be appreciated, particularly for the new login experience and UI changes.

Added

  • Login/register support
    • LiveAtlas now natively supports Dynmap's login/register functionality, via a new modal
    • For servers that require logging in to view the map, the modal will be displayed on the splash screen
  • UI refresh
    • Some icons have been updated (Credit to @Katuend who has created all the icons used by LiveAtlas)
    • Focused, selected and active colours are now easier on the eyes
    • Selected buttons now use a bolder font for better readability
    • Reduced the border radius applied to many UI elements
    • Text shadows are applied more consistently
    • For worlds with many defined maps, the map list will now wrap to avoid a horizontal scrollbar
    • The unfollow button now uses an icon
    • The maps button will use a new server icon when multiple servers are defined but only a single map
    • Marker labels have a maximum width and will wrap if necessary
  • It is now possible to switch servers from the splash screen

Fixed

  • Fixed images being smoothed on Firefox
  • Fixed loading spinner spinning twice as fast as it should in some situations
  • Fixed display issues caused by players with long names
  • Fixed splash screen errors remaining visible when switching servers
  • Various minor bugfixes