Skip to content

Release 1.30.1

Choose a tag to compare

@tastybento tastybento released this 04 Sep 05:37
· 11 commits to master since this release
5313923

Two bug fixes for accuracy: block placeholders work again, and entity counts no longer drift below the real population when another plugin removes a spawn that Limits already cancelled.

  • Block count and limit placeholders work again — since 1.28.0 every block placeholder was registered with the minecraft: namespace baked into its name, so %Limits_bskyblock_island_spawner_limit% was really %Limits_bskyblock_island_minecraft:spawner_limit% and PlaceholderAPI returned it unparsed. All block _count, _limit and _base_limit placeholders, including the _overworld, _nether and _end variants, are now registered under the documented names. Entity placeholders were never affected. Custom-block keys from ItemsAdder or Oraxen use namespace_key (for example itemsadder_ruby_block) since a colon is not valid in a placeholder name. Fixes #298
  • 🔺 Entity counts no longer drift when a cancelled spawn is removed — when Limits cancels a spawn at the limit and the spawning plugin then calls remove() on that never-added entity (Greenhouses did this), Paper still fires EntityRemoveEvent, and Limits decremented the island's count for a mob that was never counted. The counter dropped below the real population and the next spawn slipped through, ending at e.g. 4/3 ghasts. Removals of entities that never entered the world are now ignored. Reported on Discord. [PR #297]

🔺 Recount note: if you run Greenhouses (or any plugin that removes entities it failed to spawn), entity counts on affected islands may have drifted low under previous versions. Run the admin recount command (/<gamemode> admin limits calc <player>) on affected islands, or have players trigger a recount, so counts match reality.

Compatibility

✔️ BentoBox API 2.7.1
✔️ Paper Minecraft 1.21.11 - 26.2
✔️ Java 21

Upgrading

  1. As always, take backups just in case. (Make a copy of everything!)
  2. Stop the server.
  3. Replace the Limits jar with this one.
  4. Restart the server.
  5. There are no config or locale changes in this release. If you use entity limits with Greenhouses, see the recount note above.

Legend

🔺 Special attention needed — read the note before/after upgrading.

What's Changed

  • 🔺 Do not decrement entity counts for entities that never entered the world by @tastybento in #297
  • Fix block count/limit placeholders registered with minecraft: namespace by @tastybento in #299

Full Changelog: 1.30.0...1.30.1