Commit Graph

23 Commits

Author SHA1 Message Date
Lukas Rieger (Blue) 81e8da3b70
Fix storage performance 2024-02-08 13:18:49 +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) 7097547301
Add sqlite support. Closes: #322 2023-06-18 01:02:13 +02:00
Lukas Rieger (Blue) 82f1e1321d
Rename Dialect interface 2023-06-12 23:09:25 +02:00
MrSolarius f149b823a7
Add support for postgres databases (#443)
* Refactor : wrap every single SQL query inside an interface

* Feat : create every SQL request for postgres

* Refactor : rename SQLQueryAbstractFactory to SQLQueryFactory

* Feat : add dialect settings to blue map !

* Feat : Create two new storageClass for different storage approche

* Feat : add read BYTEA support

* Fix : remove unuseful println

* Fix : remove edited sql.conf

* Refactor / Feat : support for mysql

* Lots of tiny tweaks

---------

Co-authored-by: Lukas Rieger (Blue) <TBlueF@users.noreply.github.com>
2023-06-12 22:55:44 +02:00
Lukas Rieger (Blue) 004f296b5e
Add storages command 2023-05-01 20:41:30 +02:00
Lukas Rieger (Blue) 8af13df3f9
Also remove the cached FK for the map-id when we delete it from the db >_> 2023-03-17 20:29:52 +01:00
Lukas Rieger (Blue) 86a46477ab
Fix error on purge with sql-storage 2023-03-17 20:04:24 +01:00
Lukas Rieger (Blue) f3f609c573
Generalize purge task for all storages 2023-03-04 12:40:12 +01:00
Lukas Rieger (Blue) e659eb63aa
Wrong table name >_> 2023-01-01 12:42:25 +01:00
Lukas Rieger (Blue) 493f0c9bec
Add script to update databases correctly for the new version format 2023-01-01 12:20:55 +01:00
Lukas Rieger (Blue) 6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue) 98780514c6
Fix tile-saving errors after reloading bluemap with sql storage 2022-08-27 15:19:32 +02:00
Lukas Rieger (Blue) 471183b419
Add some SQL-Storage settings and tweak some connection-pool settings 2022-08-21 00:28:40 +02:00
Lukas Rieger (Blue) 4c9b45e6eb
Fix sql-config-template, remove debug-log and add map-id to cli-filewatcher output 2022-08-18 18:06:55 +02:00
Lukas Rieger (Blue) bd88b2979d
Remove the user & password settings for database, as they should be added to the jdbc-connection string 2022-08-17 23:27:56 +02:00
Lukas Rieger (Blue) 413151e9ed
Merge branch 'feature/lowres' 2022-08-12 18:11:26 +02:00
Lukas Rieger (Blue) 44906f889b
Small performance improvements (resolving world-ids and sql-querys) 2022-08-09 22:35:21 +02:00
Lukas Rieger (Blue) 81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue) 79a12d4d80
Automatic mod-resource-loading, loading fabric netsted jars and more 2022-06-01 00:03:35 +02:00
Lukas Rieger (Blue) e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Lukas Rieger (Blue) 4da37cd9f3
Use BlueMaps thread pool for caches in SQLStorage 2022-01-09 15:59:43 +01:00
Blue (Lukas Rieger) 915f9d9608
Add SQL-Storage and add storage configs 2021-11-14 14:18:31 +01:00