Commit Graph

51 Commits

Author SHA1 Message Date
James Lyne
ca1d90a739 Remove unused world/map properties 2021-09-30 13:16:39 +01:00
James Lyne
dc479ca6e8 Support disabling player images in player list
- showplayerfacesinmenu in Dynmap
- Player image is removed entirely rather than mirroring Dynmap behaviour of showing a Steve head, to be consistent with player markers and chat.
- Images are also disabled in FollowTarget
2021-09-29 21:16:31 +01:00
James Lyne
bf383afb8d Support disabling player marker images
- showplayerfaces: false in Dynmap, player-tracker.nameplate.show-head: false in Pl3xmap
- Remove showSkin option in favour of 'none' image size
2021-09-29 19:58:39 +01:00
James Lyne
66355dfe38 Decouple player image pixel size from PlayerMarker.
- Use single template image and set size after cloning
- Use util method to retrieve pixel size when needed
- Use LiveAtlasPlayerImageSize in getMinecraftHead
2021-09-29 14:33:52 +01:00
James Lyne
770c9242a8 Player marker improvements
- Use <meter> for health/armor
- Condense small/body image properties into single image size option
- Remove image-size dependant margins
- Add circle alongside label for indicating player position
2021-09-29 01:30:35 +01:00
James Lyne
bfc0a381a8 Respect pl3xmap show-armor setting 2021-09-28 18:54:51 +01:00
James Lyne
5d133de1e9 Testing preparation 2021-09-10 15:32:48 +01:00
James Lyne
ca3d3c7442 Update chat login button to use login modal 2021-09-01 02:15:00 +01:00
James Lyne
21cb8da32f Modal updates
- Add options for removing backdrop and preventing closing
- Add close button
- Style tweaks
2021-09-01 01:00:42 +01:00
James Lyne
0ae42a9409 Fix typings for LiveAtlasTileLayer _tiles property 2021-08-31 16:35:30 +01:00
James Lyne
76f151a64c First attempt at login/register 2021-08-30 22:28:20 +01:00
James Lyne
f316c0dd50 Use fetch for tile loads, move loading logic to LiveAtlasTileLayer 2021-08-16 03:08:35 +01:00
James Lyne
38946d7015 Initial pl3xmap support 2021-07-29 18:06:19 +01:00
James Lyne
02c705de36 Fix build errors 2021-07-29 03:39:28 +01:00
James Lyne
90ec2080ee Add tooltip support 2021-07-29 03:06:05 +01:00
James Lyne
8151dfaab5 Make followZoom optional 2021-07-28 23:52:51 +01:00
James Lyne
b3f186a197 Move grayHiddenPlayers to playerMarkers component 2021-07-28 23:52:03 +01:00
James Lyne
7bff12b729 Move maxPlayers to separate field in store, add mutation 2021-07-28 23:50:59 +01:00
James Lyne
110c75f9a3 Allow partial updates of component settings 2021-07-28 22:16:26 +01:00
James Lyne
d04226e3ec Refactor popup handling
- Merge label and popupContent properties for vector layers, as only one is ever used
- Move common vector methods to separate file and remove duplicates
- Rename isHTML properties to be clearer
2021-07-28 17:49:38 +01:00
James Lyne
9517de0760 Path point handling changes
- Store path points as {x,y,z} objects instead of separate arrays
- Project point objects right before layer creation
- A bit slower overall but matches the format of Pl3xmap path points.
2021-07-28 04:04:46 +01:00
James Lyne
5cf353cd8a Update license headers 2021-07-26 01:05:08 +01:00
James Lyne
9e2caa6f63 More type renaming 2021-07-26 01:05:08 +01:00
James Lyne
355c0c71cf Restructure LiveAtlasServerDefinition 2021-07-26 01:05:07 +01:00
James Lyne
e61d0def04 Replace serverConfig getter with MapProvider url methods 2021-07-26 01:05:07 +01:00
James Lyne
ad9af04e9e Rename world/map title to displayName 2021-07-26 01:05:05 +01:00
James Lyne
bc38af3254 Use generic names for more types 2021-07-26 01:04:18 +01:00
James Lyne
1d27e05f7c Rename DynmapPlayer to LiveAtlasPlayer, rename some fields, add uuid field 2021-07-26 01:04:18 +01:00
James Lyne
33b5b305e2 Add MapProvider, move dynmap api handling to DynmapMapProvider 2021-07-26 01:04:17 +01:00
James Lyne
ef26d78c19 Refactor map handling
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-26 01:04:13 +01:00
James Lyne
2f107b2126 Add world dimension property 2021-07-21 17:27:24 +01:00
James Lyne
028cb4e1af Player list search 2021-07-21 16:19:18 +01:00
James Lyne
649f571a20 Configuration improvements
- Default playersAboveMarkers to true to match previous behaviour
- Move all window.liveAtlasConfig handling to main.ts and a single mutation
- Rename server configuration mutations to differentiate server and global configurations
2021-07-20 21:18:41 +01:00
James Lyne
9bea4519c6 Rename some types 2021-07-19 16:40:30 +01:00
James Lyne
006a536a89 Sort player list by dynmap sort value, then alphabetically (Fixes #37) 2021-06-23 17:40:56 +01:00
James Lyne
5b1df5ccf8 Customisable copy to clipboard messages 2021-05-29 00:38:29 +01:00
James Lyne
ace8555a09 Customisable Layers button title 2021-05-28 21:28:21 +01:00
James Lyne
af3ef17ec4 Make layers toggle on click like other UI elements 2021-05-28 19:14:06 +01:00
James Lyne
c73e2682eb Fix some inspections 2021-05-27 14:52:26 +01:00
James Lyne
9813054264 Customisable map aria label 2021-05-26 21:13:54 +01:00
James Lyne
eaecba10c6 Allow sidebar sections to be collapsed 2021-05-25 19:26:14 +01:00
James Lyne
6531040f9d Allow customisation of context menu text 2021-05-24 18:23:35 +01:00
James Lyne
fcf124c9ef Make LiveAtlas messages translatable 2021-05-20 21:33:53 +01:00
James Lyne
131e1dd685 Make LiveAtlas messages translatable 2021-05-20 16:36:02 +01:00
James Lyne
39d4dcba46 Remove url server config option 2021-05-18 20:16:44 +01:00
James Lyne
1173dcbbce Move dynmap urls into dynmap object for server configuration 2021-05-18 16:48:56 +01:00
James Lyne
a619c22c50 Small cleanup 2021-05-18 00:22:49 +01:00
James Lyne
0facb446f5 Initial work for multiple servers 2021-05-17 03:39:25 +01:00
James Lyne
ce241c93e0 Switch from webpack to vite 2021-05-15 20:25:03 +01:00
James Lyne
7fd972b80f Fix weather icon flickering 2020-12-20 16:01:20 +00:00