Giter Club home page Giter Club logo

liveatlas's Introduction

LiveAtlas License Discord GitHub Workflow Status

A map frontend built with Vue.js and Typescript. Supports Dynmap, Squaremap, Pl3xmap and Overviewer.

A LiveAtlas screenshot

LiveAtlas is an alternative frontend which aims to provide a more modern interface and improved performance for busy maps. LiveAtlas is a drop-in replacement for Dynmap; Squaremap, Pl3xmap and Overviewer maps are supported with some additional configuration.

Development is ongoing, but the major features of each map plugin are supported.

You can see it in action here

Supported map features

See the wiki

Supported Browsers

  • Chrome 66+
  • Edge 80+
  • Firefox 60+
  • Opera 53+
  • Safari 11.1+

IE is not supported

Download

LiveAtlas is available on SpigotMC, Polymart and MCMarket

Dev builds are available in Github actions

Installation

See the wiki

Customisation

The index.html file can be edited to add custom favicons, styles or analytics, just like the map plugins original UIs. All LiveAtlas messages can also be modified here for translation purposes. You are also free to build LiveAtlas yourself to make further changes.

Building

This repository uses yarn zero-installs, so all dependencies are provided without installing. You can run yarn run serve to start a local dev server, or yarn run build to build LiveAtlas.

Support

If you find a bug, please create an issue with as must detail as possible. I'm working on this in my spare time, so fixes are on a best effort basis, but I'll eventually find time for them.

Please do not contact the Dynmap, Squaremap, Pl3xmap or Overviewer teams regarding any issue with LiveAtlas. They will be very upset.

Donate

If you appreciate my work, feel free to:

Buy Me a Coffee at ko-fi.com


Cross-browser testing provided by Browserstack.

liveatlas's People

Contributors

chrissw-r1 avatar codexnotfound avatar dependabot[bot] avatar jlyne avatar renovate[bot] avatar untuned avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liveatlas's Issues

Trying to load unrendered tiles

2021-05-26 (4)
2021-05-26 (5)

LiveAtlas Version: 1.1.0
Dynmap Version: 3.1-457
Server Version: Paper 1.16.5
When I move into blank on the map, HTTP 404 error appears.

append_to_world not supported

Dynmap allows adding the configuration option append_to_world for maps which means the icon for that map will be put next to another map on the sidebar, however, LiveAtlas doesn't respect this option. I'd like to request this as a feature, for parity with base Dynmap if nothing else

Add in ordering online player list by permissions

I use permission nodes to organise my users on the live map, so we have staff at the top, this does not seem to be part of Atlas.
From Dynmap:

# Use player permissions to order player list: first to last, players are ordered by first permission listed that they have
# That is, anyone with first listed permission goes before anyone with second, etc, with users with none of the nodes going last
player-sort-permission-nodes:

Add icon pack support

Most icons follow a style similar to the 2013 Facebook UI. These icons could easily get replaced by a modern icon pack such as Material Design Icons or Octicons. That would also allow easier restyling by using an icon font

Player Facing on Pl3xmap

Hi there! From the homepage of this repo I can see that facing directions of players in Plexmap is currently not available when using LiveAtlas. What are your plans on this? Any update?

Change opacity for "hidden" players.

It's very hard to tell who's a hidden player on the Atlas map compared to Dynmap.
Dynmap keeps the players username color and just adds opacity to their head & name color:

Screenshot 2021-06-24 at 12 01 45

Where as Atlas makes it grey and makes it look like its broken displaying the username

Screenshot 2021-06-24 at 12 02 28

I had players that are helping me test atlas report that "username color was broken" whereas it's just how it's displaying people that are hidden.

Server Selection vanishes when selecting specific server

I don't know what I did, but while adding servers into the index.html document, I somehow broke the server selection menu with only one server.

Basically when I select that server (in this instance, "Lobby"), it gets rid of the server list button. If this server is the first in the list (which I am intending this to be), then the entire list is missing and I am unable to swap between servers.

(provided the embed works correctly)
image
image
Here is an example of the lobby at the top of the server list, and no other servers are showing up in the top right. (this server only has one world rendered in Surface view, that is working OK.

image
image
Here is the "Debug" server at the top of that config list, and now the server list is active and working.

image
Swapping to the "Lobby" server makes the button vanish, but the list is still there.

I've tried swapping the links from /lobby/ to /smp/ (another server in the cluster) and it picks up the "SMP" server and displays all those elements fine, with the server button there.
Watching inspect element when swapping to the "Lobby" instance turns that button into a comment tag

Hopefully that explains everything and its an easy configuration fix/user error :P

(edit: one of the embeds decided to not want to display correctly, thanks windows snip & sketch)

Online users box: Add sorting options & search and make sound when select player comes online.

I built a custom online users widget for my website https://piratemc.com/
This lets users search & sort players by Alphabetical or by Rank, please can you do the same for the online users on the Atlas Map.

Could you also please add a way for a user to type in a username to "monitor" for when they come online, so say I wanted to wait for the player "PirateCraft" to come online, if I have the map open in one of my tabs, I type in their username in say the search box that has a toggle to monitor for a player, and when they come online it sends a Sound/Notification in browser to alert me that have come online and auto follows them on the live map.

Map icon not updating

I have a custom nehter generated named like "world_nether_custom" and all I get is the standard "flat" overworld icon instead of the "nether flat" and "nether surface"

Haven't found a way to change the svg data.

Chat feature

Hi, I wanna request for a chat feature please.

[Pl3xMap] Support heads-url setting

If heads-url is set in Pl3xMap's config.yml - assuming the nameplate section is enabled - skins will default to Steve on the map. This has been tested using Pl3xMap build 162 and this build of LiveAtlas.

Add URL query variable to display a client-side marker

Add a query to be optionally used at the end of the url to place a marker (Dynmap and Pl3xmap) only on the client-side.

This means that the marker wouldn't be actually created, but just seen by the user using that URL.

Example:

Before https://www.peacefulvanilla.club/maps/#World;flat;3591,64,-3442;7

After https://www.peacefulvanilla.club/maps/#World;flat;3591,64,-3442;7#placeMarker=true&type=pin&name=Map_Art

that would display a pin marker named Map Art at that location

Transparant map

Hello! How can i make the map transparant instead of the dark gray background?

Marker search.

Add a market search control. With filtering of the label amd desc

Skins do not appear

Hi there,

Skins do not appear on the web interface when a server is in offline mode and LiveAtlas is installed. You can observe this on our map.

The issue persists even if the following settings are enabled:

# Control loading of player faces (if set to false, skins are never fetched)
fetchskins: true

# Control updating of player faces, once loaded (if faces are being managed by other apps or manually)
refreshskins: true

# Customize URL used for fetching player skins (%player% is macro for name)
skin-url: "https://cravatar.eu/avatar/%player%/16.png"

Dynmap's SkinsRestorer integration also fails to rectify the issue when enabled (skinsrestorer-integration: true).

This occurs on both Dynmap v3.1-beta5 and Dynmap v3.1-beta4. Skins can be seen normally on the default web interface.

Title won't change

The title won't change i editted <title> Dynamic Map </title> But it says A simple survival server.

Night and day maps stuck in night mode?

Using LiveAtlas 0.7.3 and Dynmap v3.1-beta-6, I found that my world whose lighting in worlds.txt was set to brightnightandday was permanently stuck in night mode on the map, even when it was day time in-game.

More of help

Couldn’t find way to contact so I need le help.

  1. How do I clear cdn caches
  2. How to make le file read only.
  3. There is no three is just isn’t workin so guessin cause need to clear cdn caches

Multi Server

Is multiserver only possible with dynmap over mysql? or is it with json possible to

Uncaught (in promise) No current world

We are using the dynmap's JSON file output.

image

The json content of the dynmap_config.js... is loaded successful and valid JSON:
image

I have also verified that the json contains the defaultworld value (world). The server has only one world.

(I tested with the current v0.4 and master branch (47ae7a7).

Any idea where I'm going the wrong way in dynmap or LiveAtlas config?

Support for showing marker labels without hovering

Hi there,
In the Dynmap config there is an option to make the marker labels show by default (without hovering over them).
The setting is 'showlabel: true' I believe. I would like to see this feature. Thanks for making this add-on.

Failed to retrieve face of...

Player faces aren't loading, look at the dev. console 😄
Failed to load resource: the server responded with a status of 500 ()

https://www.peacefulvanilla.club/maps

Do you have any idea on what is causing this? Internal dynmap webserver with nginx webserver on top. Under cloudflare.

dynmap version 3.1-457
liveatlas 2.0.0-beta.1

Loading issues

Hey there! Love the addon to Dynmap really brings an old outdated UI to life.

Anyway, I use Dynmap along with Dynmap-Towny and use the info windows. For the info windows, I have custom styling. But it seems when you load the page for the first time the CSS isn't applied until a few seconds later. Currently it's on my test server but I will upload it so I can link it.

When I first open the map - https://s.pingu.ga/kBx8b
About 10-15 seconds later - https://s.pingu.ga/38N4u (what it should be)

Version 1.3.0 and 1.3.1 refuse to load after untouched setup

Basic steps
we did in
1.2.3

  • Download the jar
  • Copy files to dynmap/web
  • done
    22-07-_2021_23-27-47

in 1.3.0 we tried this
Snag_6d60dda
Snag_6d624be

and in 1.3.1
Snag_6d64a76

So what might went wrong now, that we cant use the easy setup anymore?
This is one of the cool things of your expansion that it is able to install so easy
now with 1.3.0 it seems to lost this abillity

So for us we went back to 1.2.3 for now..

I hope this can be fixed soon

Note:
We just have one server... so we never needed to set up anything until today..

"Theme" Option for Opacity for backgrond in UI elements.

Something was bugging me and it just clocked what it is, when you open a UI item, it's fully opaque.
Dynmap actually has opacity with the player UI, so you can see what's behind it.

Screenshot 2021-06-24 at 13 11 18

Can we please get a "theme" variable for how opaque we want the pop out UI background?

Can't disable chat button

allowwebchat is set to false and org.dynmap.SimpleWebChatComponent is fully disabled, but the chat button is still visible on website. Using external web server (IIS).

Dynmap version: 3.1 for Forge 1.16.5

Ability to disable playerlist

Is there a way to disable the playerlist in LiveAtlas or is there a way to do that with dynmap that I haven't found yet?

I have checkd the dynmap wiki and issues, but I have only found ways that modify the javascript of the dynmap's javascript code directly.

Return 304 for request with current header

Feature Description: Dynmap could return 304 code to those request with correct 'If-Modified-Since' header, which could boost much performance.

  • Additional context: This feature comes from the client-side cache and CDN. CDN has a feature that it could refresh all the modified resources, such as tiles with players building, but not touch those tiles in the wild. This feature is so awesome that it could make the map loading faster meanwhile keep the necessary tiles fresh. CDN also need server-side to response a 304 when using 'If-Modified-Since' header.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.