Commit Graph

88 Commits

Author SHA1 Message Date
Lukas Rieger (Blue) ff1e38a7e1
Fix Map-Updates not working correctly 2024-02-22 12:58:57 +01:00
Lukas Rieger 16981f2797
Refactor World-Management and Region/Chunk-Loading (#496)
* Implement PackedIntArrayAccess

* First working render with BlueNBT

* Progress converting chunkloaders

* Core rewrite done

* WIP - Restructuring configs and world-map mapping

* WIP - Compiling and starting without exceptions :)

* Fix cave detection

* Ensure configuration backwards compatibility (resolve dimension from configured world if missing)

* Implement support for 1.16+ chunks

* Implement support for 1.15+ chunks

* Implement support for 1.13+ chunks and some fixes

* Also find worlds based on their id again in BlueMapAPI

* Improve autogenerated config names

* Implement equals for all ServerWorld implementations

* Get rid of var usage
2024-02-07 20:43:37 +01:00
Lukas Rieger (Blue) 1b2dc45b4b
Add debug-log, improve logging in general and fix weblogger not closing correctly 2023-07-01 09:44:19 +02:00
Lukas Rieger (Blue) d570884def
Add advanced webserver logging + settings 2023-06-29 13:37:31 +02:00
Lukas Rieger (Blue) 0ac939a644
Always initialize PlayerSkinUpdater to be available to API 2023-06-22 08:21:36 +02:00
TechnicJelle c807699c7c
Add port-in-use check (#440)
* Add port-in-use check to plugin

* Add port-in-use check to CLI
2023-06-08 23:12:20 +02:00
Antti Ellilä f467220400
Start rendering after everything else is loaded (#425)
To attempt to fix the weirdness with tile filters not working at startup
2023-05-07 19:24:43 +02:00
Lukas Rieger (Blue) 631c409f79
Keep webserver running if bluemap disables due to no active maps being configured 2023-02-25 12:28:07 +01:00
Lukas Rieger (Blue) 892506f2f9
Remove uneccesary lock, fix double server header, organize packages and class-names 2023-02-24 13:55:21 +01:00
Lukas Rieger (Blue) 0123041925
Fix webserver only working after plugin reload 2023-02-23 10:54:17 +01:00
Lukas Rieger (Blue) f4c6adc685
Rewrite integrated webserver to be non-blocking 2023-02-22 16:19:34 +01:00
Lukas Rieger (Blue) e5729a767c
Fix bug that updates the settings.json if the webapp is being disabled 2023-01-15 11:43:22 +01:00
Lukas Rieger (Blue) 1fa8bb5e4c
Add light-reload command to reload bluemap without reloading all block-resources 2023-01-03 16:03:07 +01:00
Lukas Rieger (Blue) 6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue) 81f309b0be
Create directories with symlinks in mind, fixes #349 2022-10-14 10:24:19 +02:00
Lukas Rieger (Blue) d7eb9e8083
Fix outdated warning message text 2022-10-02 20:50:20 +02:00
Lukas Rieger (Blue) e8f8317d52
Fix/improve handling of two exceptions 2022-09-08 12:29:11 +02:00
Lukas Rieger (Blue) 60a8f5f98e
Close storages that failed to load and misconfigured maps dont stop loading the others 2022-08-27 15:08:17 +02:00
Lukas Rieger (Blue) efd365daeb
Fix issue with checking render-playerlimit 2022-08-21 00:26:34 +02:00
Lukas Rieger (Blue) dafabac5bb
Add a way to register externally rendered or static maps without a world 2022-08-03 12:54:03 +02:00
Lukas Rieger (Blue) ae992419bb
Fix Caffeine using wrong thread-pool and add sorting to initial map-update 2022-07-31 18:45:30 +02:00
Lukas Rieger (Blue) be04097ec5
Write markers to map-storage and add option to periodically update markers and players to storage 2022-07-30 15:31:42 +02:00
Lukas Rieger (Blue) 4da988d31c
Implement BlueMapAPI v2 2022-07-24 12:10:00 +02:00
Lukas Rieger (Blue) c4e7349c54
Add player-filter to plugin-state 2022-07-04 13:07:56 +02:00
Lukas Rieger (Blue) 03f58c7739
Moving live-player-endpoint to maps/[mapid]/live/player, webroot/data is now webroot/maps, fixed color-css-alpha format 2022-06-27 01:13:48 +02:00
Lukas Rieger (Blue) 8e8934a8c4
Split and move settings.json for each map 2022-06-06 22:51:26 +02:00
Lukas Rieger (Blue) 7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue) 492573c866
Fix config formatting and render-thread-calculation 2022-04-24 15:56:03 +02:00
Lukas Rieger (Blue) e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Blue (Lukas Rieger) 915f9d9608
Add SQL-Storage and add storage configs 2021-11-14 14:18:31 +01:00
Blue (Lukas Rieger) 31910382b0
Apply spotless fixes 2021-09-19 22:15:50 +02:00
Blue (Lukas Rieger) 4806458f9d
Add option to pause rendering if a set amout of players is online 2021-09-18 14:04:03 +02:00
Blue (Lukas Rieger) 8ad048ae2a
Add </bluemap debug dump> command 2021-06-16 20:09:45 +02:00
Blue (Lukas Rieger) 6e01b607ac
Add additional full-update intervall and periodically restart file-watchers 2021-06-09 00:34:12 +02:00
Blue (Lukas Rieger) c1f3122c68
Make version handling more flexible 2021-05-23 10:12:34 +02:00
Blue (Lukas Rieger) e90f329ad8
Add abillity to freeze maps (they wont update) and persist stopped render-threads 2021-05-17 00:24:27 +02:00
Blue (Lukas Rieger) 53378ba059
Add MapUpdateTask and tentatively fix for RenderSorting 2021-05-16 11:13:21 +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) 5a342e1fe0
Replaced metrics and save-threads with TimerTasks 2021-04-02 12:20:48 +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
pop4959 75de07843b
Clearer wording on the file download message (#125) 2020-12-26 23:53:00 +01: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 73e8da9c37 Restrict logging of web requests to the CLI when run with --verbose or -b 2020-10-01 14:38:02 -06: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