Release 1.30.1
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,_limitand_base_limitplaceholders, including the_overworld,_netherand_endvariants, are now registered under the documented names. Entity placeholders were never affected. Custom-block keys from ItemsAdder or Oraxen usenamespace_key(for exampleitemsadder_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 firesEntityRemoveEvent, 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
- As always, take backups just in case. (Make a copy of everything!)
- Stop the server.
- Replace the Limits jar with this one.
- Restart the server.
- 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