Added option to enable queued spawner registering. This can improve server performance when players are loading chunks on your server.
(This options might cause spawner registering delays, meaning players might see holograms of their spawners few seconds later if they just teleported to an unloaded chunk with the spawner nearby)
(If you find any issues please make sure you report them)
Fixed negated
ground and
environment requirements not working correctly.
Fixed
spawner parsing from SpawnerMeta.
Fixed
warning hologram not showing.
Fixed ignored
natural spawner breaking.
Added support for 1.21.4
Added options for crowbar:
-
use-type - how you can use it
(RIGHT_CLICK, LEFT_CLICK, BOTH)
-
allow - what spawners can it remove
(owned, natural, trusted, other)
Added
spawner tags. Tags can be used to set a true or false values on a spawner that will change its behavior.
There are many tags:
-
TICKING_DISABLE - disables spawner ticking
-
SPAWNING_DISABLE - disables spawner spawning
-
UPGRADES_DISABLE - disables upgrade opening
-
UPGRADES_UPGRADE_DISABLE - disables upgrade purchasing
-
UPGRADES_SWITCHING_DISABLE - disables spawner switching
-
UPGRADES_CHARGES_DISABLE - disables charge purchasing
-
CHARGES_USE_DISABLE - disables charge usage
-
SPAWNABLE_USE_DISABLE - disables spawnable entity limit usage
-
PLAYER_REQUIREMENT_DISABLE - disables requirement for a player nearby to spawn
-
ONLINE_REQUIREMENT_DISABLE - disables owner online requirement to spawn
-
NEARBY_LIMIT_REQUIREMENT_DISABLE - disables nearby entity checking to spawn
-
CHUCK_LIMIT_REQUIREMENT_DISABLE - disables chunk entity checking to spawn
-
WARNING_PARTICLES_DISABLE - disables warning particles
-
HOLOGRAM_IDENTITY_DISABLE - disables identity
(stack and name) hologram
-
HOLOGRAM_WARNINGS_DISABLE - disables warning hologram
-
HOLOGRAM_COUNTDOWN_DISABLE - disables countdown hologram
To apply tags use
/sl modify tags [add/remove] [tag^] [state?]
There are 2 states:
-
permanent - tag will be saved on the spawner, and on the item when broken.
-
temporary - tag will not be saved on the spawner, and will be removed when the spawner gets unloaded or is removed.
Tags can be used to create '
admin' spawners that are for showcase only or has some options disabled to be used in a public place.
Added item parsing if you are had used
SpawnerMeta before.
Fixed issues with player file saving.
Added option to enable ignored natural spawner breaking.
Fixed natural spawners having incorrect values if ignored.
Fixed issues with
1.21.3 API changes
Added support for version
1.21.3
Fixed
ignore-natural option.
Fixed issues with spawn location finding.
Added option to
ignore natural spawners, making them work just as in vanilla.
Changed the default checking interval value from 1 to 2, this will slightly improve server performance
(Does not update for already existing files).
Fixed regular spawner location finder spawner mobs on the first found locations.
Oprimised spawner location validation.
Added option to change the
countdown interval, by default it is set to 20, meaning the spawner delay countdown hologram will update every second instead of 10 times per second as previous, this will drastically improve server performance, but you are fully open to customise it. It is preferred to set the countdown hologram distance low, so the server does not have to update it when players are further away.
Optimised other text related features.
Fixed crowbar calling the spawner break event causing to work incorrectly.
Fixed spawners not getting the required spawn locations.
Fixed spawner values updating even if the spawn event is cancelled.
Added option -
cache-spawn-locations
If enabled this option will use spawn location caching improving the
performance while using more
memory. This option is useful if your server has spawners that spawn often and are changed very rarely.
Added options to enable placed spawner item name and lore saving. This will set the name and lore back to the item when the spawner is broken.
Minor API changes and optimisations.
Fixed crowbar ignoring protected areas.
Fixed permission issues for
spawner buying and
owned spawner limit.
Improved value reading and fixed built-in valuesnot being able to negate
(~).
Fixed empty spawners not marked as empty when broken.
Added option to
enable or disable price requirements for server operators.
Fixed spawner parsing for
SpawnerMeta spawners.
Fixed
crowbar price loading.
Added option
'delay-offset' option
(sets the spawner delay with a slight offset disabling spawner synchronisation improving server performance).
Fixed spawner holograms not updating after warning changes.
Added option:
-
place-on-fail - if a spawner is unable to be stacked to a nearby spawner then it will be placed instead
(only works if 'when-nearby' is enabled)
Made
GUI background items hide their tooltips for better visuals.
Added the ability to create
spawner crowbars
(configurable in tools.yml file).
Crowbars allow players to safely break spawners without any other tools.
Crowbars can have
usage,
chance,
price and more.
Added warning header for the spawner stat item
(configurable in the layouts.yml file).
Fixed some empty text still sending.
Fixed unwanted item lore not hidden in the upgrade GUI.
Optimized file saving.
Added additional warnings when plaugin is loading.
Changed plugin text format to
UTF-8
(if you encounted a text related bug, please, make sure to report it).
Added support for version
1.21.1
Fixed chunk entity limit.
Optimised plugin API.
Added a new command:
-
/sl data - shows all data about the spawner you are looking at
Improved
price API.
Fixed spawner
delay issues.
Minor changes to
default spawner requirements
(if you haven't changed any values in the requirements.yml file you can delete it and let the plugin generate a new file, this will change all requirements closer to the vanilla ones)
Fixed
breaking requirements not working.
Fixed spawners not spawning on older versions.
Fixed players obtaining items from the upgrade GUI.
Fixed spawner selling correctly calculating the spawner amount.
Added option to set the spawner upgrade price for each level.
(More information in the configuration file)
Fixed errors occuring when first loading the plugin.
Fixed spawner selling not correctly calculating upgrade prices.
Fixed inventories not closing when restarting the server.
Highly optimised spawner countdown updating.
Fixed minor bugs and visual issues.
Added option to limit spawner breaking for players.
Optimised spawning events.
Added support for
1.20.6 and
1.21
Added support for
Armadillo,
Bogged and
Breeze mobs.
Optimised chunk unloading with spawners.
Added
SpawnerMeta spawner parsing. Now if you used
SpawnerMeta as your previous spawner plugin
SpawnerLegacy will
parse all spawners to the new format and files.
(This is not tested for large amounts of spawners and files. If you feel unsafe then create a backup with all SpawnerMeta files, because they will be deleted after conversion)
Implemented
WITHER explosion type option.
Command improvements and optimisation.
Natural spawner location saving to a file.
Fixed changing cached spawner values.