Skip to content

Release 1.9.6

Choose a tag to compare

@tastybento tastybento released this 26 Jul 00:12
· 19 commits to master since this release
555d03f

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 uniqueId before loading, so the outcome is stable until you remove one of the records.

  • βš™οΈ Duplicate SQUID entry removed from the OCEAN recipe in biomes.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

  1. Take backups of your server, for safety
  2. Stop the server
  3. Download this jar and put it in your addons folder β€” delete the old one
  4. Restart the server
  5. Check the startup log for any overlap warnings and act on them as described above
  6. You should be good to go!

Legend

  • βš™οΈ config options have been removed, renamed, or added
  • πŸ”Ί special attention needed

What's Changed

Thanks to @mrfloris for the detailed report behind #135.

Full Changelog: 1.9.5...1.9.6