Commit Graph

44 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
f66437ac83
Apply spotless fixes 2024-04-06 01:33:24 +02:00
Lukas Rieger (Blue)
fdf242acdf
Rework storages to make them extensible with addons 2024-04-06 01:26:16 +02:00
Lukas Rieger (Blue)
35c236e9ce
Turn storage-enum into a registry 2024-02-24 14:11:56 +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)
77c1e42009
Change default nether and end configs to have a better void color 2023-11-19 11:22:43 +01:00
TechnicJelle
48445db7b5
Add map config for having a different void colour (#477)
* Added global webapp option for not having a void

* Fix for non-default lighting conditions

* Replace `isVoid` with whole `voidColor` feature!

* Default void colour should be black

* And now the default sky colour can also be set back to what it was

* Fix the low-res void colour

* Add config option for the new void colour setting!

(I hope I haven't forgotten any place to add it, but it does work, so I don't think so..?)
2023-09-30 23:42:37 +02:00
Lukas Rieger (Blue)
1f7f51c1e1
Add webapp option to default to flat-view 2023-07-04 14:42:12 +02: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)
15f5e8fd00
Fix default log file name 2023-06-29 13:51:41 +02:00
Lukas Rieger (Blue)
d570884def
Add advanced webserver logging + settings 2023-06-29 13:37:31 +02:00
Lukas Rieger (Blue)
b4b3e72d51
Make configs generate paths with forwardslashes whenever possible 2023-06-19 15:44:57 +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)
f4c6adc685
Rewrite integrated webserver to be non-blocking 2023-02-22 16:19:34 +01:00
Lukas Rieger (Blue)
45331b8103
Still start sorting-index with 0 :) 2023-01-06 19:10:41 +01:00
Lukas Rieger (Blue)
3defd493d2
Improve default map config generation if there are more than one dimensions of the same type 2023-01-06 19:04:01 +01:00
Lukas Rieger (Blue)
cf93cb56c4
Improve min-inhabited-time calculations and add hidden radius setting 2022-12-17 15:06:18 +01:00
Lukas Rieger (Blue)
6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue)
8faa067634
Fix default config-template value for caves 2022-10-23 00:56:35 +02:00
Lukas Rieger (Blue)
ff100e2656
Add option to use ocean-floor-heightmap to improve cave-detection 2022-10-23 00:52:39 +02:00
Lukas Rieger (Blue)
81f309b0be
Create directories with symlinks in mind, fixes #349 2022-10-14 10:24:19 +02:00
Lukas Rieger (Blue)
d9df6989ff
Add option to hide players if they are in the shadows *mystic sound here* 2022-09-02 23:10:51 +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)
eac01bb06e
Change y to z for start-pos config 2022-08-18 16:08:33 +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)
83806641ac
Add minimum inhabitedTime configuration to maps 2022-08-15 11:43:16 +02:00
Lukas Rieger (Blue)
c3a26abc3b
Add option to disable saving the hires-layer 2022-08-15 00:19:24 +02:00
Lukas Rieger (Blue)
42e53f0135
Fixes for lowres lighting and map-purging/saving, tweak default settings 2022-08-14 20:36:50 +02:00
Lukas Rieger (Blue)
562deb17a3
Finalize new lowres tiles implementation 2022-08-12 18:11:11 +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)
bc8e52abbf
Use int for ports instead of short to support full port-range 2022-07-31 22:34:18 +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)
ca1d5cb50b
Add option to configure marker-sets in the map-configs 2022-07-30 13:24:07 +02:00
Lukas Rieger (Blue)
2d57b1a32a
Fix accidentally pushed unfinised code >_> 2022-07-28 23:05:47 +02:00
Lukas Rieger (Blue)
cd3a607022
Push BlueMapAPI 2022-07-28 22:58:16 +02:00
Lukas Rieger (Blue)
4da988d31c
Implement BlueMapAPI v2 2022-07-24 12:10:00 +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)
b92536da64
Working on moving settings.json 2022-06-03 18:52:15 +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)
7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue)
92ac2177cd
Fix falsely considering regions outside of the defined render-boundaries 2022-04-24 18:53:06 +02:00
Lukas Rieger (Blue)
2f6238349c
Fix render-thread-calculation can still be below 1 2022-04-24 16:00:13 +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