Commit Graph

436 Commits

Author SHA1 Message Date
Mike Primm
5b735dab3f Implement basic sky lighting for chunks with broken lighting (spigot) 2021-12-24 21:55:19 -06:00
Mike Primm
3a3a970883 Implement basic sky lighting for chunks with broken lighting
(forge,fabric)
2021-12-24 20:38:05 -06:00
Mike Primm
05819b1b74 Further handle broken lighting data... start builder pattern for
blockstate
2021-12-24 10:19:02 -06:00
Mike Primm
67ab35658c Switch to assuming sky light data for states below 'light' are crap... 2021-12-24 09:22:32 -06:00
Mike Primm
bd4a34e2ae Shift string safely into Log class, finish hack substitution string 2021-12-24 00:08:52 -06:00
Mike Primm
9e602f50d6 Initial mitigation for folks updating Dynmap but not patching MC for
some reason
2021-12-23 14:27:33 -06:00
Mike Primm
895dcf3244 Fix webp v1.2.x 2021-12-22 22:33:10 -06:00
Mike Primm
efceaf2d8d Fix placed lanterns, sout lanterns 2021-12-22 22:09:16 -06:00
Mike Primm
94c91b12b9 Add stack dump for render exceptions (debug) 2021-12-22 21:51:59 -06:00
James Lyne
182d214c83 Improve tab completion for quoted arguments 2021-12-21 15:54:09 +00:00
James Lyne
742e289d56 /dynmapexp tabcompletions 2021-12-21 15:54:09 +00:00
James Lyne
2b2735516b /dmarker tabcompletions 2021-12-21 15:54:09 +00:00
James Lyne
20d93ad3a5 /dmap tabcompletions 2021-12-21 15:54:07 +00:00
James Lyne
c87df916f2 /dynmap tabcompletions 2021-12-21 11:58:54 +00:00
James Lyne
424000a05f Very basic single level spigot tabcomplete 2021-12-21 11:58:54 +00:00
Mike Primm
a5bbe6bdd4 Make pessimistic assumption on lighting to handle broken chunk
generators
2021-12-20 18:07:54 -06:00
Mike Primm
99caded016 Update chunk state/version shaders 2021-12-19 23:44:48 -06:00
Mike Primm
24d78e5f78 Add chunkstatus and chunkversion shaders (for problem determination) 2021-12-19 21:02:35 -06:00
Mike Primm
9691656579 Further tune logic for fluid model selection 2021-12-19 14:39:53 -06:00
Mike Primm
3a2b5a2326 Start work on culling for fluids to improve render performance
(hopefully)
2021-12-19 12:22:01 -06:00
Mike Primm
003de384ca Handle negative height values for ISO perspective clipping 2021-12-18 20:42:40 -06:00
Mike Primm
9a75210abf Drop generateSky log spam 2021-12-16 14:07:50 -06:00
Mike Primm
69a6bb2a2a Apply lighting workaround to 1.16.5+ 2021-12-16 12:32:10 -06:00
Mike Primm
eff72aeef0 Add simple lighting generation for migrated chunks with missing light 2021-12-15 23:34:53 -06:00
Mike Primm
c2f0a35eb3 Handle biome shading at edges 2021-12-15 21:08:32 -06:00
Mike Primm
54471c6695 Workaround bizarre 1.17->1.18 chunk lifecycle (Spigot, Fabric, Forge) 2021-12-15 20:40:06 -06:00
Mike Primm
3725123b76 Fix handling of single block state sections (zero bit palette) 2021-12-14 23:58:01 -06:00
CylonicRaider
a8f13e9dca Fix boosted top-down-view map artifacts 2021-12-12 22:34:53 +01:00
Mike Primm
0d477db78b Handle negative Y in topo shader 2021-12-12 01:42:39 -06:00
Mike Primm
d5354898cb Avoid initial ERROR when no markers.yml file (first installation) 2021-12-10 00:10:11 -06:00
Mike Primm
f40cc3d6ca Strip META-INF/maven and services - avoid problems with forge 1.18 2021-12-08 20:34:03 -06:00
Mike Primm
634eb5fd2f Add support for largeplayerfaces option for bigger player markers 2021-12-07 21:38:59 -06:00
Mike Primm
1f8d584b88 Revert snakeyaml to avoid windows file problem... 2021-12-07 15:51:50 -06:00
Mike Primm
5e12090f95 Additional tuning 2021-12-07 00:24:05 -06:00
Mike Primm
d42921beb5 Migrate Spigot, Forge, Fabric 1.17.1 to generic chunk handling 2021-12-07 00:01:07 -06:00
Mike Primm
a40830434d Handle fields in yaml config files with "/" - fix for #3533 2021-12-05 20:32:22 -06:00
Mike Primm
06885c0353 Fix BiomeMap NPE, switch Fabric to GenericMapChunkCache 2021-12-05 12:53:42 -06:00
Mike Primm
f56f4378c5 Fix handling of new, additional buiomes 2021-12-05 05:01:59 -06:00
Mike Primm
37fd064434 Put 3D biome code in spigot 1.18 - still working on grass shading... 2021-12-05 01:57:59 -06:00
Mike Primm
983a2a4390 Tie in standard biomes by resource location 2021-12-04 23:01:13 -06:00
Mike Primm
8c51db5608 Try out generic chunk code and 3d biomes on Forge 1.18 2021-12-04 21:33:02 -06:00
Mike Primm
13d2cc05cb More generic chunk and iterator support classes 2021-12-04 12:12:37 -06:00
Mike Primm
d3639bd4a6 Add generic chunk, and builder 2021-12-04 03:04:08 -06:00
Mike Primm
be43072cd1 Start chunk and biome rework - common chunk section class 2021-12-04 01:11:35 -06:00
Mike Primm
76557bf312 Biome shading fixes for 1.18 (Spigot, Fabric, Forge) 2021-12-02 22:18:03 -06:00
Mike Primm
d52f02d88e Some more Spigot 1.18 work - still NOT functional 2021-12-01 00:47:19 -06:00
James Lyne
c97f328f3e Update leaflet images 2021-11-11 22:27:28 +00:00
Mike Primm
5ad8a3cd91 Fix missing candle texture mapping 2021-10-04 15:53:40 -05:00
James Lyne
0630b2f15d Fix DynmapTileLayer sharing object instances 2021-10-04 20:40:07 +01:00
Mike Primm
77525fda47 Fix rails for both pre 1.17 and 1.17 2021-10-03 01:29:47 -05:00
Mike Primm
6be523106d Fix rail rendering 2021-10-03 00:32:07 -05:00
Mike Primm
e8f560e0b6 Add missing 1.17 blocks 2021-10-02 23:23:01 -05:00
Mike Primm
7f719bcead Maintain order on mod support API 2021-10-02 19:31:46 -05:00
Mike Primm
cbfbfb4d58 Add newer ores to hideores support 2021-10-02 17:41:19 -05:00
mikeprimm
296186fba3
Merge pull request #3499 from SNDST00M/hotfix-selectworld-string
Fix selectWorld typo when world is a string
2021-10-02 13:39:02 -05:00
mikeprimm
b1be8e4626
Merge pull request #3501 from JLyne/fetchskins-fix
Always run LoadPlayerImages task in the thread pool
2021-10-02 13:37:29 -05:00
James Lyne
404bc34e5f Always run LoadPlayerImages task in the thread pool.
Prevents the main thread being blocked if the mysql connection is lost etc, when fetchskins is disabled.
2021-10-01 13:44:29 +01:00
SNDST00M: M.U.N.I.N
bb3d5e240c
Fix selectWorld typo when world is a string 2021-09-30 19:21:28 +01:00
gmfamily
937b4e2a34 fix(radius) - gmfamily - process radius as int everywhere (#3478) 2021-09-18 19:47:46 +02:00
mikeprimm
56a683b4b3
Merge pull request #3477 from stormboomer/StormBoomer-Test1
Add requested Feature to check for MySQL Connector
2021-09-07 22:08:06 -05:00
mikeprimm
2eee8d4e2d
Merge pull request #3464 from Boothin/v3.0
Add Essentials RGB hex parsing
2021-09-07 22:02:51 -05:00
mikeprimm
982b587a37
Merge pull request #3467 from JLyne/leaflet
Update leaflet version (0.5.1 -> 1.7.1)
2021-09-07 22:01:52 -05:00
FedUpWith-Tech
0c001eea7c
Change radius value of round area markers to int 2021-08-29 10:42:29 -04:00
stormboomer
70c282ccd0 adding a function to check if a class exists, allows for better addition if other connector classes need to be checked in the future 2021-08-28 22:01:43 +02:00
stormboomer
0872a5bb35 Adds requested feature for #3432 2021-08-28 21:52:38 +02:00
Mike Primm
fa0e87d3c0 Add 'dynmap dumpmemory' command to dump RP image count, mem use 2021-08-27 18:40:53 -05:00
James Lyne
31938d530a Fix player marker updating when players layer is hidden 2021-08-23 15:48:02 +01:00
James Lyne
ca9009e33f Fix tile updating 2021-08-23 15:48:01 +01:00
James Lyne
94ecd3f495 Fix layer control 2021-08-23 15:48:00 +01:00
James Lyne
82119dc32d Extend CustomMarker from L.Marker, add CustomIcon for icon handling 2021-08-23 15:47:58 +01:00
James Lyne
239f13326b Projection fixes 2021-08-23 15:47:57 +01:00
James Lyne
d312f43e5c Initial work, enough to get the map to display 2021-08-23 15:47:55 +01:00
James Lyne
37c6ca04d9 Update leaflet 2021-08-23 15:47:50 +01:00
Jeff P
507dfcefc5 Add essentials RGB hex parsing 2021-08-22 00:11:39 -04:00
Mike Primm
809e45631c Add support for experimental Caves and Caverns data pack 2021-08-21 18:03:07 -05:00
Mike Primm
feb29208a6 Drop code from PR #3443 - doesn't compile, so not tested 2021-08-21 13:02:26 -05:00
mikeprimm
fddba6a15f
Merge pull request #3443 from Boothin/v3.0
Parse Essentials RGB Hexcode nickname colors
2021-08-21 10:59:59 -05:00
mikeprimm
9716a1ec61
Merge pull request #3450 from rlcurrall/php-code-format
chore: run formatter tools against PHP code
2021-08-21 10:58:23 -05:00
FedUpWith-Tech
a66cbc0817
Remove Broken Dynmap reload command
This isn't a fix for the reload command it just removes it from being exposed to the user to prevent them from running the command and breaking it  till the reload command can be fixed.
2021-08-19 21:06:39 -04:00
Robb Currall
db8b1d49c1
chore: run formatter tools against PHP code
Run formatting tools against the PHP source code to meet PSR12 standards

The tools used to format the code (for anyone interested in validating
the changes are:
* [PHP-CS-FIXER](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
* [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically)
2021-08-05 10:56:41 -04:00
Jeff P
23a0419c7d
Parse Essentials RGB Hexcode nickname colors 2021-07-28 21:15:33 -04:00
BrainStone
d48f0bcde9
Added fallback in case no tile exists 2021-07-23 01:39:53 +02:00
BrainStone
2a7e69e281
Move timestamp logic into a safe place 2021-07-23 00:35:40 +02:00
BrainStone
e3d5990dbe
Use the latest subtile timestamp
for zoom out processing, instead of the render start time.
2021-07-21 23:30:54 +02:00
BrainStone
ed0e5534fd
Impelemted it for SQL style storage 2021-07-20 23:18:04 +02:00
BrainStone
476aa0c133
Set timestamps when rendering starts
- Currently only implemented for FileTreeMapStorage
2021-07-20 22:50:01 +02:00
Kosma Moczek
d0926b0ec7 DynmapCore: fix indentation 2021-06-27 19:38:45 +02:00
Kosma Moczek
1fb4d6c244 DynmapCore: fix resource patching 2021-06-27 19:37:03 +02:00
Kosma Moczek
5290cdf9f1 DynmapCore: update processResources to Gradle 7 format 2021-06-27 14:18:53 +02:00
Kosma Moczek
cf121956c3 build.gradle: rename compile -> implementation 2021-06-27 13:51:12 +02:00
Mike Primm
31bbe96051 Add basic support for banner rendering 2021-06-26 18:15:20 -05:00
Mike Primm
3722564e4f Clean up deprecation warning 2021-06-26 13:22:05 -05:00
Mike Primm
8e516e944a Fix moss_carpet texture 2021-06-26 13:15:21 -05:00
Mike Primm
bf67de2ab6 Add fix for changing marker set for areas, circles, lines 2021-06-26 13:07:40 -05:00
mikeprimm
bc51a14006
Merge pull request #3343 from Programie/v3.0
Prevent updating map while invisible
2021-06-21 13:10:57 -05:00
jzdm
cc9071e85b
Working web chat with PostgreSQL
Webchat basically working when using PostgreSQL. No chatlengthlimit.
2021-06-18 09:16:06 +02:00
Mike Primm
0ecd764264 Add more 1.17 blocks (dripstone, moss, roots) 2021-06-13 21:58:01 -05:00
Mike Primm
b42cc789a8 Add waxed copper blocks, other blocks 2021-06-13 13:26:23 -05:00
Mike Primm
eb41195984 Add more 1.17 blocks (mostly copper related) 2021-06-13 09:49:40 -05:00
Mike Primm
d16900f76d Add missing deepslate blocks 2021-06-12 15:33:08 -05:00
Mike Primm
709ac9bdb1 Update texture resources for 1.17, add deepslate blocks for 1.17 2021-06-12 15:05:19 -05:00
Michael Wieland
ce34a4db84 Prevent updating map while invisible 2021-04-19 19:06:38 +02:00
Mike Primm
99d5416acb Add performance tweaks on DynmapBlockState 2021-03-14 14:08:38 -05:00
Michael Wieland
fabaf487d9 Fixed not replacing {timestamp} placeholder in configuration request 2021-02-25 17:57:13 +01:00
Mike Primm
b7e7039c38 Add postgres JDBC to uberjar, shadow to avoid global conflicts 2021-02-07 22:50:41 -06:00
Mike Primm
c77d3b444a Merge branch 'v3.0' of git@github-home:webbukkit/dynmap.git into v3.0 2021-01-09 19:49:57 -06:00
Mike Primm
8244394cc4 Zap warning for lack of webp tools - confusing support headache 2021-01-09 19:49:39 -06:00
mikeprimm
bc1fa86823
Merge pull request #3241 from silentnoodlemaster/v3.0
Add option to use lossless webp format
2021-01-09 18:10:31 -06:00
mikeprimm
5f9e93c312
Merge pull request #3223 from mooinglemur/mooinglemur-patch-1
Allow for URI-unsafe player names
2021-01-09 18:10:06 -06:00
Ben Lönnqvist
3f821a902d
added option webp-l to use lossless webp #3191 2021-01-08 23:45:30 +02:00
Mike Primm
17bf9e982f Bump to 3.1-beta6 (release candidate) 2021-01-01 12:33:40 -06:00
Mike Primm
806e8c056a Initial file filter code 2021-01-01 11:16:40 -06:00
Mike Primm
2b1d0aa955 Add warnings for wrong client update component vs web server disabled 2020-12-31 16:55:52 -06:00
Mike Primm
3344b007c6 Shift internal server check earlier 2020-12-31 16:50:48 -06:00
Mike Primm
95a91d2a89 Add first pass of handling for DB config.php files 2020-12-31 15:56:23 -06:00
mikeprimm
d45112d60c
Merge pull request #3196 from thrimbor/fix_fullrender_format_change
Fix fullrender deleting the files in the new format instead of the old
2020-12-30 18:51:44 -06:00
mikeprimm
5e5316d1e8
Merge pull request #3216 from 811Alex/misconfwarn
Add warning for ClientUpdateComponent misconfiguration, related to disable-webserver
2020-12-30 18:50:46 -06:00
mikeprimm
e879ed7e41
Merge pull request #3184 from silverwolfg11/path-null-check
Null check for path environment variable.
2020-12-30 18:48:17 -06:00
mooinglemur
33411d9ee5
Allow for URI-unsafe player names
Some plugins allow for a player name prefix. If this contains a username-unsafe character like %, it can break player face rendering on the map.
2020-12-26 10:06:15 -07:00
KovuTheHusky
400ce55e70
Add 1.16 biomes 2020-12-24 10:52:44 -05:00
Alex811
b670449843 Add warning for ClientUpdateComponent misconfiguration, related to disable-webserver 2020-12-19 15:14:32 +02:00
Stefan Schmidt
b0bfa4404f Fix fullrender deleting the files in the new format instead of the old 2020-11-24 05:33:04 +01:00
Silverwolfg11
87087a9c1e Null check for path environment variable. 2020-11-14 23:21:06 -08:00
mikeprimm
a1f045f8ca
Merge pull request #3152 from Puupuls/patch-1
Fixed jquery file name
2020-11-08 08:34:25 -06:00
Mike Primm
460e6f9815 Add WEBP support, via cwebp/dwebp tools 2020-10-25 18:40:33 -05:00
Paul
9983bef353
Fixed jquery file name 2020-10-16 16:42:37 +03:00
electron93
dbc158b51a Fix comma on some locales 2020-09-22 16:31:06 +03:00
Mike Primm
531c1eecb6 Handle undefined marker set errors 2020-09-20 19:56:28 -05:00
Mike Primm
1ab80de88e Merge branch 'v3.0' of git@github-home:webbukkit/dynmap.git into v3.0 2020-09-20 18:55:59 -05:00
Mike Primm
aca83f114f Update jQuery 2020-09-20 18:55:40 -05:00
Mike Primm
5407f3c026 Split JSON formatter lines (see if this helps with browser issues) 2020-09-20 17:56:20 -05:00
KasaneKona
e2ad413f90 Fix podzol being biome tinted 2020-09-18 23:16:16 +01:00
Mike Primm
19949528a0 Fix chest rendering (block state case problem) 2020-08-20 21:42:25 -05:00
Mike Primm
6e35b7e872 Fix 'improved' menu icon PR 2020-08-17 19:41:33 -05:00
mikeprimm
1bbe0bea30
Merge pull request #3008 from Kimax89/master
better map icon logic
2020-08-16 12:41:27 -05:00
Mike Primm
60a23a04c8 Handle pre-1.16 chunks in forge 1.16+ 2020-08-15 19:29:29 -05:00
Mike Primm
252f9afcdb Add support for marker set persistence, prevent add to non persistent 2020-08-12 10:08:36 -05:00
FedUpWith-Tech
60a98e43b7
Fix typo in worlds.txt 2020-08-07 21:41:36 -04:00
reviiii
55bcffe92a
Add animations to customMarkers 2020-07-23 13:54:39 +02:00
Mike Primm
e0b9e6bfe7 Fix pozdol with snow 2020-07-19 23:43:29 -05:00
Mike Primm
ec2350c753 Fix piston rendering 2020-07-19 19:53:48 -05:00
Mike Primm
63a044fe08 Fix stone slab texture 2020-07-19 17:32:23 -05:00
Mike Primm
073a277f77 Zap corner list in listarea - too much output 2020-07-06 19:29:42 -05:00
Mike Primm
24b2a00d23 Add /dmap worldgetlimits, worldaddlimit, worldremovelimit commands 2020-07-04 18:02:30 -05:00
Klaus Kirkeby
79e98278d4 better map icon logic
This changes the way maps should be named in worlds.txt and how the sidebar shows the icons.

Added missing map icons.
2020-07-04 19:15:52 +02:00
Mike Primm
d9152d11c8 Handle new 1.16.1 wall state and render logic 2020-06-27 14:17:52 -05:00
Mike Primm
b700dbbfc0 Fix target block 2020-06-27 12:35:25 -05:00
Mike Primm
b8e751457c Finish first pass for 1.16.1 blocks 2020-06-27 00:49:59 -05:00
Mike Primm
b4d6140e82 More 1.16.1 blocks - about 3/4 done 2020-06-26 22:27:50 -05:00
Mike Primm
1c82497d81 Some more 1.16.1 blocks - about 1/2 done 2020-06-26 01:56:47 -05:00