Commit Graph

444 Commits

Author SHA1 Message Date
Blue (Lukas Rieger)
6b2e845654
Fix possible integer-overflow when radius-rendering on big worlds 2020-10-23 18:15:26 +02: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)
86b8deb3f3
Improve startup on forge to be more stable with other mods 2020-10-06 16:05:39 +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)
9a22424241
Push version 2020-10-05 00:50:32 +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
Blue (Lukas Rieger)
8b2ddd6e68
Update BlueMapAPI 2020-10-04 12:21:06 +02:00
Ryan Aird
ddffdd6102 Split logging into separate function and use tabs instead of spaces' 2020-10-03 20:39:26 -06:00
Blue (Lukas Rieger)
ff6655e392
Push BlueMapAPI 2020-10-03 23:39:54 +02:00
Blue (Lukas Rieger)
8471f3275a
Move mixin for detection of newly generated chunks for a better compatibillity with worldgeneration mods.
Fixes #101
2020-10-02 15:57:55 +02:00
Ryan Aird
a2579f307f Added missing file for CLI 2020-10-01 14:56:56 -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)
00b9b05431
Actually subtract a tile-position not a block-position to get the correct center 2020-09-30 15:46:42 +02:00
Blue (Lukas Rieger)
1312f4bf96
Push version 2020-09-25 18:45:08 +02:00
Blue (Lukas Rieger)
e62c5d5be3
Add debug command to save the world and flush scheduled changed chunks
Also change the status command messages a little
2020-09-25 18:24:07 +02:00
Blue (Lukas Rieger)
f6008ac4a3
Bump BlueMapAPI to include latest changes 2020-09-24 10:38:53 +02:00
Blue (Lukas Rieger)
e5a75f25e1 Change map-updating to rely on chunks rather than tiles
and trigger the updates on chunk-save-events rather than world-save-events if possible to make it more reliable.
2020-09-20 21:12:15 +02: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)
67f1e03f00 Do render-sorting based on the spawnpoint or radius-render center 2020-09-18 11:37:08 +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)
3b6ed4c297 Make the uuid argument for the /bluemap render cancel command optional
So it can be used on the console to cancel render-tasks
2020-09-15 16:35:10 +02:00
Blue (Lukas Rieger)
2d14e83787 Add NPE to the expected exceptions when trying to fetch a skin 2020-09-15 16:04:10 +02:00
Blue (Lukas Rieger)
d113d0602f Add check for vanished metadata on bukkit to hide vanished players on the map 2020-09-15 13:07:09 +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)
51367bfab9 Add licence to mods.toml for forge implementations
Apparantly this is a new requirement in forge 1.16.2
2020-09-15 11:59:38 +02:00
Blue (Lukas Rieger)
c677c28075 Change world-to-folder implementation for latest forge and fabric versions
to get the correct save-folder even if the actual world-name is different
2020-09-14 19:04:22 +02:00
Blue (Lukas Rieger)
9075dc6a76 Remove debug output 2020-09-14 18:05:46 +02:00
Blue (Lukas Rieger)
c7d33795ea Exclude eclipse launch files 2020-09-14 15:16:19 +02:00
Blue (Lukas Rieger)
41921c680a Add a trigger to render tiles for newly generated chunks on forge
This uses a workaround that is checking for each chunk-load-event, if that chunk is already present and generated on the world files. The chunk will most likely not be present on the worldfiles right after being generated, because it is usually not saved to disk right away.
2020-09-14 11:25:25 +02:00
Blue (Lukas Rieger)
e8fc7028d0 Invalidate chunk-cache after a world-save, not directly with the block-change event
To prevent the chunk being loaded again before the changes are being saved to disk.
2020-09-12 17:43:40 +02:00
Blue (Lukas Rieger)
41a782528d push version 2020-09-12 16:56:01 +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)
c5ba4b1fea Add /bluemap help command to show all available commands
closes #79
2020-09-12 16:29:01 +02:00
Blue (Lukas Rieger)
57e104256b Update readme 2020-09-12 14:47:22 +02:00
Blue (Lukas Rieger)
4f86c2266c Update fabric and forge to 1.16.3 2020-09-12 13:49:42 +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)
fea7d9a1cd Update readme .. again 2020-09-05 20:56:22 +02:00
Blue (Lukas Rieger)
a85484bb4d Update readme 2020-09-05 20:53:48 +02:00
Blue (Lukas Rieger)
ee3412a27a Update workflow 2020-09-04 12:09:42 +02:00
Blue (Lukas Rieger)
b1fd91681e Divide implementation-versions further 2020-09-04 11:57:26 +02:00
Blue (Lukas Rieger)
c51eca74d9 Change version 2020-09-04 11:42:25 +02:00
Blue (Lukas Rieger)
db2df149ad Add metrics reports back to cli 2020-09-04 11:41:36 +02:00
Blue (Lukas Rieger)
1c45329c03 Fix cli buildscript 2020-09-01 13:34:30 +02:00
Blue (Lukas Rieger)
a5817d0897 Add purge command 2020-08-30 22:25:38 +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