Commit Graph

247 Commits

Author SHA1 Message Date
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