Commit Graph

367 Commits

Author SHA1 Message Date
Blue (Lukas Rieger)
5c591f591f
Print a warning instead of an error when a file can not be loaded, but can be regenerated 2021-06-09 17:27:33 +02:00
Blue (Lukas Rieger)
e78071115d
Add setting to disable/enable free-flight-mode in the webapp 2021-06-09 15:54:19 +02:00
Blue (Lukas Rieger)
be059a108f
Update gradle to 7.0.2 and add fabric-1.17 implementation 2021-06-08 22:44:55 +02:00
Blue (Lukas Rieger)
67a0e2a0bf
Improve Version-Management and add support for variable world-heights to be able to support custom 1.17 worlds 2021-06-04 11:25:05 +02:00
Blue (Lukas Rieger)
ecef2c4996
First small performance improvement towards using less immutable vectors 2021-06-04 11:23:53 +02:00
Blue (Lukas Rieger)
633021d6e8
Implement API additions 2021-05-24 14:48:31 +02:00
Blue (Lukas Rieger)
4a54cf7b79
Add null-check to Lazy 2021-05-23 16:08:52 +02:00
Blue (Lukas Rieger)
c1f3122c68
Make version handling more flexible 2021-05-23 10:12:34 +02:00
Blue (Lukas Rieger)
c0edb3d294
Update gradle, update configurate-library and improve gradle build 2021-05-16 18:13:30 +02:00
Blue (Lukas Rieger)
00d7d3e397
Add cancel command, rework purge command and rename render command 2021-05-11 00:34:12 +02:00
Blue (Lukas Rieger)
e40e45ad12
Improved the render-time estimation 2021-05-10 13:06:25 +02:00
Blue (Lukas Rieger)
0fc3f2abe1
Fix 1.12 light grey bed resource extension 2021-05-09 09:33:44 +02:00
Blue (Lukas Rieger)
d2d6071446
Reimplement render command and add update command 2021-05-08 23:47:13 +02:00
Blue (Lukas Rieger)
16237d292a
Implement file-watchers and remove events that are not needed anymore 2021-05-02 14:51:42 +02:00
Blue (Lukas Rieger)
27295cb988
Intermediate commit: Lots of redesigning with the RenderManager and Render-Tasks 2021-04-24 22:11:26 +02:00
Blue (Lukas Rieger)
ad809600b6
Improve thread-pool-settings for the WebServer 2021-04-02 13:18:33 +02:00
Blue (Lukas Rieger)
07932506fd
Small webserver code-style improvements 2021-04-02 10:42:10 +02:00
Blue (Lukas Rieger)
a23178f772
Improve file/folder access and creation for a better reliabillity 2021-03-28 18:56:26 +02:00
Blue (Lukas Rieger)
481a452b9c
Some changes to remove 404-responses from the webserver on empty map-tiles 2021-03-28 13:25:39 +02:00
Blue (Lukas Rieger)
2cd2606f58
Replace the webapp with the new BlueMapVue project and adapt the build-script 2021-03-18 22:55:07 +01:00
Blue (Lukas Rieger)
29020c7b72
Improve debug-log when loading resources, Fix #128 and Fix #147 2021-02-04 18:05:58 +01:00
Blue (Lukas Rieger)
46bd75a068
Add support for custom datapack dimensions
Fixes #154
2021-02-04 15:02:21 +01:00
Blue (Lukas Rieger)
af0b76d3e7
Syncronize blockidconfig with a readwritelock Fixes #135 2021-02-04 14:31:25 +01:00
tsutoringo
163ec6a4a6
Fix not defined 'reject'. (#155) 2021-02-04 11:11:48 +01:00
Blue (Lukas Rieger)
17f9094de2
Fix bug where parent-elements can be inherited when they shouldnt 2021-02-01 13:18:14 +01:00
Blue (Lukas Rieger)
3172b6f64a
Just copy propertyVariants if oldVariants would be empty. Fixes #124 2020-12-19 19:59:51 +01:00
Ryan
d509c48025
Add option to save command line logs (#102)
* Add logger that uses java.util.Logger
* Add file log handler and options to save command line log
* Support subdirectories and only use LoggerLogger as global log when saving the log file
2020-10-21 21:38:20 +02:00
Blue (Lukas Rieger)
e071ed83fa
Allow reading chunk-sections that have an integer y tag instead of a byte 2020-10-05 17:09:28 +02:00
Blue (Lukas Rieger)
68561b1860
Add /bluemap version command and improve /bluemap worlds 2020-10-04 18:01:33 +02:00
Blue (Lukas Rieger)
981a12e349
Fix code stylings 2020-10-04 12:38:09 +02:00
Blue (Lukas Rieger)
961e65b3b3
Merge branch 'rye761-logactivity' into bleeding 2020-10-04 12:25:35 +02:00
Ryan Aird
ddffdd6102 Split logging into separate function and use tabs instead of spaces' 2020-10-03 20:39:26 -06:00
Ryan Aird
73e8da9c37 Restrict logging of web requests to the CLI when run with --verbose or -b 2020-10-01 14:38:02 -06:00
Ryan Aird
f646c1dedb Add python style request logging 2020-10-01 12:14:44 -06:00
Blue (Lukas Rieger)
5784491feb Use the correct DataVersion numbers to choose the chunk-compatibillity 2020-09-19 19:53:03 +02:00
Blue (Lukas Rieger)
d9a2f98481 Only update hash when the camera is no longer moving
to reduce the history-spam as much as possible while still retaining the url-feature
2020-09-18 11:50:36 +02:00
Blue (Lukas Rieger)
b8cd92b507 Create the webserver-connection syncronized
to make sure it is fully started before it can get closed again. Fixes #89
2020-09-16 10:26:57 +02:00
Blue (Lukas Rieger)
e9ab39c052 Use own ForkJoinPool for cache-cleanups to avoid class-loading errors
On forge there was a problem sometimes, where presumably a join-fork-thread was created with a class-loader that did not have access to all classes, and therefore crashed in a ClassNotFoundException. This fixes this issue.
2020-09-15 12:02:12 +02:00
Blue (Lukas Rieger)
6e02ef7a78 Improve exception handling when loading chunks
Fixes #85
2020-09-12 16:42:55 +02:00
Blue (Lukas Rieger)
5d82c40884 Ignore fully translucent blocks in the terrain-height calculation
This makes sure that, e.g. barrier-blocks are not visible on the lowres map. Fixes #83
2020-09-07 12:28:14 +02:00
Blue (Lukas Rieger)
2e3aa2204c Add favicon to web-app 2020-08-30 21:28:30 +02:00
Blue (Lukas Rieger)
6d122a9b10 Fix player-following on world change and actually change the map too, closes #77 2020-08-30 21:00:05 +02:00
Blue (Lukas Rieger)
0559df9730 Improve the use of the file-index for combined file-access 2020-08-30 15:47:53 +02:00
Blue (Lukas Rieger)
591e105c05 Remove guava and yaml-config dependency and tidy up build-script dependencies 2020-08-30 13:25:22 +02:00
Blue (Lukas Rieger)
a79ddace71 Actually throw the interrupted exception if interrupted while loading 2020-08-30 02:49:33 +02:00
Blue (Lukas Rieger)
29e18506c1 Remove unused method 2020-08-30 02:30:55 +02:00
Blue (Lukas Rieger)
8efc23e6a1 Disable autogeneration missing-config logs because they might be misleading in what they do 2020-08-30 01:34:54 +02:00
Blue (Lukas Rieger)
4fc9215f4d Update configurate version 2020-08-30 01:25:10 +02:00
Blue (Lukas Rieger)
63d00073c5 Correctly calculate the number of bits-per block for 1.16-chunks 2020-08-30 00:56:54 +02:00
Blue (Lukas Rieger)
0aa69c7591 Add index to merged file-access, change resource-loading log to debug instead of warnings and make it fail faster on model-errors 2020-08-29 02:18:35 +02:00
Blue (Lukas Rieger)
96959550c6 Also check .mca filesize when loading a chunk 2020-08-26 17:33:45 +02:00
Blue (Lukas Rieger)
9c8ff358b1 Periodically ensure caches are kept clean 2020-08-26 17:25:45 +02:00
Blue (Lukas Rieger)
a5f756d017 Add filesize check before reading .mca files 2020-08-26 14:39:07 +02:00
Blue (Lukas Rieger)
36161a1f49 Fixes and tweaks after testing 2020-08-25 18:05:25 +02:00
Blue (Lukas Rieger)
76ecb75e73 Make core cross-version compatible 2020-08-25 15:07:42 +02:00
Blue (Lukas Rieger)
28d56e7374 Also adapt resourceExtensions gradle tasks 2020-08-25 11:59:17 +02:00
Blue (Lukas Rieger)
a2b670c381 Add resourceExtensions for all mc-versions 2020-08-25 11:49:02 +02:00
Blue (Lukas Rieger)
9a9ad1885b Add resources for all mc-versions 2020-08-25 11:35:39 +02:00
Blue (Lukas Rieger)
5514771b6a Merge branch 'base' 2020-08-25 11:27:01 +02:00
Blue (Lukas Rieger)
8950325915 Fix two things from the moved resources 2020-08-25 01:59:03 +02:00
Blue (Lukas Rieger)
72adc573b2 Move resource files to avoid conflicts 2020-08-25 01:39:21 +02:00
Blue (Lukas Rieger)
8adf2eaccf Load plugin.conf earlier and some integrated webserver improvements 2020-08-25 00:57:24 +02:00
Blue (Lukas Rieger)
b6c4971420 Add default configs, generalize CLI and Plugins into BlueMapService and reimplement Plugin and CLI 2020-08-24 23:58:11 +02:00
Blue (Lukas Rieger)
b9763a0963 Reorganize configs: split config classes and update the plugin accordingliy 2020-08-23 23:29:14 +02:00
Blue (Lukas Rieger)
669b04ed7b Merge branch 'base' 2020-08-23 12:38:57 +02:00
Blue (Lukas Rieger)
6cfc179e86 Switched to caffeine caches and more optimizations 2020-08-23 12:36:29 +02:00
Blue (Lukas Rieger)
dacab3073f Merge branch 'base' 2020-08-19 21:28:53 +02:00
Blue (Lukas Rieger)
c63ec971d6 Fix players not shown after spigot reload and tidy up a lot of exception-handling 2020-08-19 20:17:49 +02:00
Blue (Lukas Rieger)
3960869f15 Stop following player-markers when they disappear from the map 2020-08-17 18:42:44 +02:00
Blue (Lukas Rieger)
5bbf67d085 Improve player-follow controls and smooth scrolling 2020-08-17 12:18:19 +02:00
Blue (Lukas Rieger)
0b55274eda Fix player marker follow not getting released correctly 2020-08-17 02:05:48 +02:00
Blue (Lukas Rieger)
1c22865e98 Merge branch 'base' 2020-08-16 21:24:15 +02:00
Blue (Lukas Rieger)
d5f12ee451 Add abillity to stick to a player in web-app 2020-08-16 21:21:02 +02:00
Blue (Lukas Rieger)
eab962cdac Merge branch 'base' 2020-08-16 19:09:00 +02:00
Blue (Lukas Rieger)
e60d60fc93 Fix head image file extension 2020-08-16 19:08:52 +02:00
Blue (Lukas Rieger)
24c3d52f17 Fix steve-include and make skin update warnings a debug-message 2020-08-16 19:05:30 +02:00
Blue (Lukas Rieger)
bb7592cdfe Fix player-markers not updating the world correctly, the second 2020-08-16 17:54:21 +02:00
Blue (Lukas Rieger)
2b2cf2da4b Fix player-markers not updating the world correctly 2020-08-16 17:48:14 +02:00
Blue (Lukas Rieger)
b4a0d3d8c2 Merge branch 'base' 2020-08-16 17:35:53 +02:00
Blue (Lukas Rieger)
8c5f15e64e Fix webapp error when live-api is disabled 2020-08-16 17:35:31 +02:00
Blue (Lukas Rieger)
465a38080a Merge branch 'base' 2020-08-16 15:18:55 +02:00
Blue (Lukas Rieger)
1716098622 Add live-api configurations 2020-08-16 13:49:40 +02:00
Blue (Lukas Rieger)
3a5dac58ea Remove unneeded imports 2020-08-15 15:22:10 +02:00
Blue (Lukas Rieger)
19ef75cede Merge branch 'base' 2020-08-15 15:08:11 +02:00
Blue (Lukas Rieger)
f054513e8e Merge branch 'mc/1.13' into feature/live 2020-08-08 10:46:35 +02:00
Blue (Lukas Rieger)
a0e3b0c2af Small bugfix in the webapp 2020-08-08 10:40:14 +02:00
Blue (Lukas Rieger)
c23335df7c Add 0.0.0.0 support for webserver and make it the default config value 2020-08-08 10:39:22 +02:00
Blue (Lukas Rieger)
c4f0256ca0 Implement playermarkers on the web-app 2020-08-07 14:17:48 +02:00
Blue (Lukas Rieger)
b6d358a097 Merge branch 'mc/1.13' into feature/live 2020-08-06 17:26:19 +02:00
Blue (Lukas Rieger)
62c8306b8c Add a button to clear the browsers (tile) cache and reload them 2020-08-06 17:25:54 +02:00
Blue (Lukas Rieger)
b286670953 Finish implementing the first live-api for sponge 2020-08-06 17:24:36 +02:00
Blue (Lukas Rieger)
b64941783f Merge branch 'mc/1.13' into feature/live 2020-08-04 16:15:55 +02:00
Blue (Lukas Rieger)
2a14718f62 Add license-header check and fix all missing or invalid license headers 2020-08-03 17:51:07 +02:00
Blue (Lukas Rieger)
c6d28c318b Merge branch 'mc/1.13' 2020-08-03 14:19:17 +02:00
Blue (Lukas Rieger)
9283f2caec Tidy up some chunkloading math 2020-08-03 00:10:37 +02:00
Blue (Lukas Rieger)
e40c3bd0d5 Change hash code generation to improve performance 2020-08-03 00:10:00 +02:00
Blue (Lukas Rieger)
2a0aecf359 Add tint-color for the stonecutter. Fixes #63 2020-07-31 09:50:25 +02:00
Blue (Lukas Rieger)
2e1254ddc8 Merge remote-tracking branch 'origin/mc/1.13' into feature/live 2020-07-30 21:57:37 +02:00
Blue (Lukas Rieger)
2ea7ebbe4e Merge branch 'mc/1.13' 2020-07-29 21:10:03 +02:00
Blue (Lukas Rieger)
4beb00ba9e Fix empty sections now not being detected 2020-07-29 21:09:47 +02:00
Blue (Lukas Rieger)
040995b2ae Merge branch 'mc/1.13' 2020-07-29 20:46:50 +02:00
Blue (Lukas Rieger)
ca4fec8c1a Remove now unneeded exceptions 2020-07-29 20:11:25 +02:00
Blue (Lukas Rieger)
a33dda0a29 More sanity checks and fallbacks to chunkloaders and better IOException handling 2020-07-29 20:00:58 +02:00
Blue (Lukas Rieger)
a4c8004834 Add some extra sanity checks and fallbacks to chunkloaders 2020-07-29 18:04:16 +02:00
Blue (Lukas Rieger)
d97560cc82 Optimize chunk filter a little 2020-07-29 17:06:50 +02:00
Blue (Lukas Rieger)
aaeeeb136a Actually, we should not rely on an exception here 2020-07-29 16:43:04 +02:00
Blue (Lukas Rieger)
6e123e1c3f Treat not existent region files as empty (not generated) chunks. Fixes #57 2020-07-29 16:36:38 +02:00
Blue (Lukas Rieger)
2a5bdfa9c7 Merge branch 'mc/1.13' 2020-07-29 16:27:25 +02:00
Blue (Lukas Rieger)
71c165fe53 Push apache.commons lang3 dependency version to fix an NPE 2020-07-29 16:26:58 +02:00
Blue (Lukas Rieger)
34c5e96392 Merge branch 'mc/1.13' into feature/live 2020-07-05 15:59:44 +02:00
Blue (Lukas Rieger)
f492e2c278 Merge branch 'mc/1.13' 2020-07-02 19:52:50 +02:00
Blue (Lukas Rieger)
4ea40c7611 Define EPSILON, since it seems not to be defined by default on all systems. Fixes #48 2020-07-02 19:52:28 +02:00
Blue (Lukas Rieger)
95647acb1e Merge branch 'mc/1.13' 2020-07-02 17:39:16 +02:00
Blue (Lukas Rieger)
4fbd785b3e Catch exception when a model defines a collapsed face. Fixes #43 2020-07-02 17:37:58 +02:00
Blue (Lukas Rieger)
0fe7cf94a9 Add texture-key check. Fixes #53 2020-07-02 16:41:19 +02:00
Blue (Lukas Rieger)
032a640255 Update spigot and resources to support 1.16 2020-07-02 15:52:22 +02:00
Blue (Lukas Rieger)
5282bdc284 Merge branch 'mc/1.13' 2020-07-02 15:38:09 +02:00
Blue (Lukas Rieger)
484e4d0779 First changes towards live updates 2020-07-02 13:08:47 +02:00
Blue (Lukas Rieger)
67cb42fa40 Add support for reading 1.16 region-files 2020-05-15 12:39:19 +02:00
Blue (Lukas Rieger)
2b644e7254 Merge branch 'mc/1.13' 2020-05-11 14:42:52 +02:00
Blue (Lukas Rieger)
8a43c3e596 Sanity-check map-ids and add config to ignore missing light-data, fixes #35 and fixes #38 2020-05-11 14:42:30 +02:00
Blue (Lukas Rieger)
8b4e6a3a32 Merge branch 'mc/1.13' 2020-05-11 13:24:52 +02:00
Blue (Lukas Rieger)
0535a29f8e Command and world-name improvements 2020-05-10 17:29:16 +02:00
Blue (Lukas Rieger)
95afba305f Merge branch 'mc/1.13' 2020-05-10 01:44:24 +02:00
Blue (Lukas Rieger)
cf74a70f32 Suppress some compile warnings
The resource can not be closed at this point, it will be closed later so we ignore the warning.
2020-04-24 09:11:52 +02:00
Blue (Lukas Rieger)
bd7de954ce Merge branch 'mc/1.13' 2020-04-23 18:09:04 +02:00
Blue (Lukas Rieger)
b6c0d64d62 Implement API 1.1.0 and fix flickering with markers when zoomed out 2020-04-23 18:08:19 +02:00
Blue (Lukas Rieger)
12d944657d Merge branch 'mc/1.13' 2020-04-20 18:10:27 +02:00
Blue (Lukas Rieger)
f813f9d925 Fix error without marker.json 2020-04-20 18:08:51 +02:00
Blue (Lukas Rieger)
bc472b8090 Merge branch 'mc/1.13' 2020-04-20 13:51:08 +02:00
Blue (Lukas Rieger)
cd2b9ec650 Add missing licence headers 2020-04-20 12:50:28 +02:00
Blue (Lukas Rieger)
73c4151ef2 Merge branch 'mc/1.13' 2020-04-20 12:34:53 +02:00
Blue (Lukas Rieger)
ba69d26c85 Fix loading and saving of markers.json to correctly merge changes 2020-04-20 12:33:55 +02:00
Blue (Lukas Rieger)
6acc75674c Merge branch 'feature/marker' into mc/1.13 2020-04-19 20:13:02 +02:00
Blue (Lukas Rieger)
d8e189528e Implement MarkerAPI 2020-04-19 20:12:37 +02:00
Blue (Lukas Rieger)
2cbff3ccdb Complete implementing markers on the web-client 2020-04-17 14:56:30 +02:00
Blue (Lukas Rieger)
cac4aece8b Merge branch 'mc/1.13' 2020-04-16 15:43:43 +02:00
Blue (Lukas Rieger)
2f79c61d8c Remove unwanted log 2020-04-16 15:42:20 +02:00
Blue (Lukas Rieger)
7856501001 Merge branch 'mc/1.13' 2020-04-16 15:32:55 +02:00
Blue (Lukas Rieger)
eb93b7d1ab Fix some issues with rendering with map-limits 2020-04-16 15:31:33 +02:00
Blue (Lukas Rieger)
9a09f39b5a First part on implementing markers 2020-04-16 12:33:24 +02:00
Blue (Lukas Rieger)
89fa4e6f95 Merge branch 'mc/1.13' 2020-04-09 20:12:44 +02:00
Blue (Lukas Rieger)
677dfcda02 Change the way images are cropped hopefully fixing #32 2020-04-09 17:56:08 +02:00
Blue (Lukas Rieger)
0dfbc96dff Merge branch 'mc/1.13' 2020-04-07 14:56:13 +02:00
Blue (Lukas Rieger)
8d9220f611 Correct build setups for CLI and Forge implementations 2020-04-06 17:55:35 +02:00
Blue (Lukas Rieger)
88ab4b2eb8 Merge branch 'mc/1.13' 2020-04-06 16:56:35 +02:00
Blue (Lukas Rieger)
24c50c27c6 Revert "Fix loading some chunk formats in 1.12. Fixes #33"
This reverts commit 1ddc229047.
2020-04-06 14:18:40 +02:00
Blue (Lukas Rieger)
1ddc229047 Fix loading some chunk formats in 1.12. Fixes #33 2020-04-04 15:57:59 +02:00
Blue (Lukas Rieger)
323cb1bc81 Change project setup: split targets into different jars and relocate shadowed libs 2020-03-30 01:45:32 +02:00
Blue (Lukas Rieger)
5f7517a9d6 Merge branch 'mc/1.13' 2020-03-29 11:49:03 +02:00