Release 1.9.6
New in this release
-
π Overlapping greenhouses are now diagnosable. If two persisted greenhouses overlap, one is skipped at startup β but the log line used to say only
Greenhouse overlaps with another greenhouse. Skipping..., which gave you nothing to act on and repeated on every restart. The warning now names both records:[Greenhouses] Greenhouse overlaps with another greenhouse. Skipping... [Greenhouses] Skipped: id=<uuid>, recipe=Plains, owner=Name (uuid), world=..., location=x,y,z, bbox=[... -> ...] [Greenhouses] Overlaps: id=<uuid>, recipe=Desert, owner=Name (uuid), world=..., location=x,y,z, bbox=[... -> ...] [Greenhouses] To fix, delete one of these records from the Greenhouses database table (match on uniqueId) and restart the server.The summary line now also reads
Loaded 63 greenhouses out of 65 in the database.and closes with a tally of how many were skipped, so the discrepancy is self-explanatory. -
πΊ Greenhouse load order is now deterministic. Greenhouses were loaded in whatever order the database returned, so with two overlapping records either could win β and it could flip between restarts. They are now sorted by
uniqueIdbefore loading, so the outcome is stable until you remove one of the records. -
βοΈ Duplicate
SQUIDentry removed from theOCEANrecipe inbiomes.yml. It was listed twice, which triggers a duplicate-key warning from SnakeYAML on newer server versions. YAML keeps the last occurrence, so the effective value (20:WATER) is preserved and mob spawning is unchanged. -
Modrinth publishing workflow added, with Minecraft 26.1.2 in the supported game versions.
Compatibility
βοΈ BentoBox API 2.7.1
βοΈ Minecraft 1.21.5+
βοΈ Java 21
πΊ Updating β important notes
βοΈ The biomes.yml fix does not apply itself. Your server already has its own biomes.yml on disk, and the addon will not overwrite it. If you see a SnakeYAML duplicate-key warning for SQUID, open plugins/BentoBox/addons/Greenhouses/biomes.yml, find the OCEAN section, and delete the first of the two SQUID: lines. Servers installing Greenhouses for the first time get the corrected file automatically.
πΊ If you have overlapping greenhouses, this release reports them but does not remove them. Skipped records are still left in the database on purpose β silently deleting a player's greenhouse would be worse than a recurring warning. Use the uniqueIds now printed in the log to remove the stale record yourself: stop the server, back up the database, delete the row (JSON: the file named after the uniqueId under database/Greenhouses/; SQL/Mongo: the record whose uniqueId matches), and restart. The blocks and biome are untouched, so the player can simply re-run /is greenhouse make inside the structure.
Upgrading
- Take backups of your server, for safety
- Stop the server
- Download this jar and put it in your addons folder β delete the old one
- Restart the server
- Check the startup log for any overlap warnings and act on them as described above
- You should be good to go!
Legend
- βοΈ config options have been removed, renamed, or added
- πΊ special attention needed
What's Changed
- Add Modrinth publish workflow by @tastybento in #133
- Modrinth publish by @tastybento in #134
- βοΈ Remove duplicate SQUID key from OCEAN recipe in biomes.yml by @tastybento in ab2e14c
- πΊ Report details of overlapping greenhouses on load by @tastybento in #136
Thanks to @mrfloris for the detailed report behind #135.
Full Changelog: 1.9.5...1.9.6