5.2.1
- Fixed: A vanilla spawner mined with silk touch could turn into a pig spawner when placed and converted
5.2.0
- Fixed: Spawners converted when spawning a mob stay unowned, so that players can claim them
- Fixed: Placing a spawner item turned the spawner into a pig spawner until the chunk was loaded again
- Fixed: An error on startup when changing a spawner's entity type is disabled in the config (spawner.entity-change: false) or the period is disabled
- Fixed: Players can claim an unowned spawner even when its chunk already has the most spawners allowed
- Fixed: Converting a vanilla spawner also respects the per-type and per-region spawner limits
- Fixed: A vanilla spawner that can't be converted can only be placed where vanilla spawners are allowed (spawner.vanilla.placing)
- Fixed: Claimed spawners are protected by ChestProtect like placed ones
- Added: Mode option to kill whole stack
YAML:# Should the whole stack die, if one entity dies? # NEVER: Only one entity of the stack dies. # ALWAYS: The whole stack dies. # SNEAKING: The whole stack dies, if the killer is sneaking. Otherwise only one entity dies. kill-stack: SNEAKING
- Fixed: MySQL connection issue since previous version - config.yml's database.mysql.ip-address/user keys are renamed to address/username to match what the plugin actually reads. Existing servers that already configured MySQL keep their settings; this just carries them over to the new key names automatically.
- Fixed: "/spawners admin give <player> <entity>" (without the optional amount/level/set-owner arguments) crashed with an IndexOutOfBoundsException instead of giving the item, e.g. when a shop plugin ran it on purchase.
- Fixed: Updated to the latest ChestProtect API - only affects servers with ChestProtect installed
- Improved: Rearranged the spawner menu's items into two rows.
- Improved: The hologram above a spawner now always only shows while it's paused (the hologram.only-paused config option is removed, since this was already the default).
Please note that this update changes a lot in the configs. New values are automatically added, but you should review them after updating!
Also the levels are now defined inside a new spawners.yml file. And levels now combine multiple spawner attributes in a single level. So level x has a specific spawn amount, player range and so on.
Besides that it adds the capability to stack spawners. You can now also share the spawner with your land claim members via the protection menu if ChestProtect is installed.
Please note that this is still in early stages caution is advised, but we are more than happy to fix any issues you might encounter. The features have been tested extensively but we might have to tweak some stuff depending on your feedback.
- Added: Spawner stacking. Several spawners of the same entity type and level can now share a single block: place one next to a matching spawner and it merges into it. A stack spawns as much as the spawners it holds, so players get the same output from far fewer blocks. Mining takes a single spawner out of the stack, sneaking while mining breaks all of them. See the new "stacking" section in config.yml and spawners.yml.
- Added: The uspawners.stack.<number> permission limits how many spawners a player can stack into one block.
- Added: For plugin developers - Spawner#getStackAmount() and the new SpawnerStackChangeEvent, fired whenever spawners join or leave a stack.
- Improved: Spawners now use a single combined level instead of five separate upgrade tracks (spawn speed, max nearby entities, player range, spawn amount, spawns per period). Upgrading a spawner now raises all of these together in one purchase, instead of buying each one separately.
- Improved: Spawner levels are now configured in a new file, spawners.yml, which replaces the old levels.yml. If you're updating from an older version, your existing levels.yml is used automatically to build a matching spawners.yml the first time the server starts, so your current costs and values carry over - please review it afterward, since it's now one combined ladder instead of five separate ones.
- Improved: Some permission nodes used to bypass or toggle spawner management restrictions have changed. If you had granted any of those to a role, double check them after updating.
- Improved: For plugin developers - the public API's per-track level access has been replaced with a single combined level exposing named attribute values. Any external plugin reading a spawner's old per-track levels needs to be updated.
- Added: Spawners now also respect ChestProtect protection, if you have that plugin installed.
+ Added: /uspawners admin backup, restore commands to take database backups
+ Added: Optional backup schedule.
- Fixed: Ghast, and occasionally large Slime/Magma Cube, could spawn clipping into surrounding blocks and suffocate, because the spawn location check only ever verified a 1x1x2 space regardless of the entity's actual size