Releases: NighterDevelopment/SmartSpawner
SmartSpawner 1.5.8
Bug Fixes
- Fixed an issue where item spawners with different item types could be incorrectly stacked together
- Fixed wiki link references for mob drops in
spawners_settings.ymlto point to correct documentation - Fixed wind charges converting smart spawners to vanilla spawners when
protect_from_explosionsis disabled - Fixed
NoClassDefFoundErrorwith CoinEngine API - Fixed unbreakable tools breaking after mining a certain number of spawners
New Features
- Added support for Minecraft 1.21.11
- Added new mob spawners:
- Parched
- Camel Husk
- Nautilus
- Zombie Nautilus
v1.5.7.1
SmartSpawner - Version 1.5.7.1
Bug Fixes
- Fixed the error causing "zip file closed" on Minecraft 1.21.4.
Updates
- Updated the Developer API with additional methods for modifying and retrieving spawner's stats.
For more details, visit the SmartSpawner documentation:
https://nighterdevelopment.github.io/smartspawner-docs/developer-api/api-data-access/
v1.5.7
SmartSpawner - Version 1.5.7
Changes
- Removed chunk spawner limiter - This feature has been temporarily removed from the core plugin and will be re-implemented as a separate addon to improve overall performance
Bug Fixes
- Fixed shift-place spawner - Resolved an issue where players would lose their entire stack when shift-placing spawners if the max stack size config was less than 64 items
- Fixed storage item consumption bug - Resolved incorrect item amount when using the "Take All" button in spawner storage
- Fixed race condition exploit - Added lock protection to spawner breaking/mining operations to prevent potential race condition exploits
Performance Improvements
- Optimized storage GUI rendering for better performance
- General performance enhancements to improve plugin efficiency
Note: The chunk spawner limiter will return as a separate addon in a future update with enhanced performance optimizations.
v1.5.6.2
SmartSpawner - Version 1.5.6.2
Critical Dupe Patched
- Fixed item duplication exploit caused by race condition in VirtualInventory synchronization with storage GUI
Technical Details
The exploit involved using two game instances with swarm mode (custom mod) to create a race condition between spawner inventories. This has been completely patched by:
- Synchronizing inventory operations across all connected clients
- Adding transaction verification before committing item changes
- Implementing proper locking mechanisms for concurrent access
All users running v1.5.4.3 or lower should update immediately.
v1.5.6.1
SmartSpawner - Version 1.5.6.1
🐛 Bug Fixes
- Fixed: Possible item duplication issue with "Take All" and "Drop Page" buttons
- Found by: @Raczain (Autism Inc.)
ℹ️ Note
This dupe has not been fully confirmed but has been patched as a precautionary measure. We recommend updating to this version to prevent potential exploits.
v1.5.6
SmartSpawner - Version 1.5.6
🎯 What's New
✨ New Feature: Item Spawners
What are Item Spawners?
- New spawner type with the appearance of a specific item in the spawner block
- All the same features as regular spawner spawners (storage, stack, etc.)
📝 Configuration
New Item Spawner Settings File
- Added
item_spawners_settings.ymlfor full control over item spawner behavior - Customize spawn loots, experience, and other settings
- New command:
/ss give item_spawner <player> <item_type> [amount]
🔧 Bug Fixes
Fixed Storage GUI Page Display Issues
- Problem: When you removed items from your spawner storage, the page counter at the top would sometimes show weird placeholders like
[{current_page}/{total_pages}]instead of the actual page numbers like[1/1] - What fixed:
- Page numbers now always display correctly when you take items out of storage
- When your spawner generates loot while you have the storage open, the page counter updates properly
- The GUI title now always shows the right page you're on and total pages available
🛡️ Security & Performance Improvements
Added Anti-Spam Protection for Storage GUI
- What this means: We've added a short cooldown (half a second) between opening and closing your spawner storage
- Why this helps: Prevents issues with cheater try to spam-click or use macros in GUIs
- Your experience: You won't even notice this - it only blocks actions that happen too fast to be intentional
Optimized Storage Title Updates
- What changed: The plugin now only updates the page counter when it actually needs to (like when moving between pages)
- Benefit: Better performance, especially if you have many items in storage
🔌 Developer Features
New API Methods for Custom Spawners
Plugin developers can now create:
- Vanilla Spawners: Natural spawners that spawn mob
- Item Spawners: Special spawners with the appearance of a specific item in the spawner block
📋 Summary
This is a major feature update! We've introduced Item Spawners - a completely new way to use spawners for automatic item generation. Plus, we fixed annoying storage GUI display bugs, added protection against spam-clicking, and improved overall performance.
Upgrade highly recommended: New features + important bug fixes and stability improvements.
v1.5.5
SmartSpawner - Version 1.5.5
✨ New Features
Version Support
- Added Minecraft 1.21.10 Support - Full compatibility with latest Minecraft version
New Spawner Config
- Copper Golem Spawner - Added support for Copper Golem spawner in 1.21.10
🐛 Bug Fixes
Spawner Mechanics
- Fixed Cycle Skipping - Resolved issue where spawners would skip a cycle after stack size updates (stacking or destacking)
- Fixed Hopper Integration - Hoppers now continue working correctly after spawner stacking operations
- Fixed Low TPS Issues - Spawners no longer stop spawning loot when server TPS drops
- Spectator Mode Fix - Spectator players can no longer activate spawners
🛡️ Security & Stability
Critical Fixes
- Fixed Item Duplication Exploit - Implemented comprehensive item duplication exploit patch with transaction locking and atomic operations for "Drop All" and "Take All" buttons in spawner storage GUI
- Enhanced Exception Handling - Added exception catching to prevent plugin shutdown when other plugins crash, ensuring SmartSpawner continues to load even if other plugins fail
🎨 Configuration Changes
Placeholder System Update
- New Placeholder Format - Changed from
%placeholder%to{placeholder}syntax - Added Percentage Placeholders - New percentage-based placeholders available in holograms and spawner info buttons
⚠️ Important: You must update your language folder. Backup your current language files and either:
- Delete the language folder to let the plugin regenerate it with new format, or
- Manually update placeholders if using custom language files
Configuration Migration
- Migrated from
mob_drops.ymltospawners_settings.yml- Consolidated configuration structure - Customizable Mob Head Textures - Users can now edit mob head texture displays directly in spawner GUI settings
⚡ Performance Optimizations
Spawner System
- Optimized Range Checking - Significantly improved performance of spawner range detection
- Enhanced GUI Updates - Streamlined spawner GUI view updates with reduced meta calls and improved placeholder handling
- Loot Spawn Optimization - Enhanced loot spawning efficiency with scheduled spawn time tracking and early loot addition
User Experience Improvements
- Accurate Countdown Timer - Spawner delay now counts down correctly from configured time to 00:00 (e.g., 25s → 00:25 to 00:00)
- Smoother GUI Experience - Pre-spawner loot processing for faster, smoother GUI timer performance
- Prewarm Head Texture Cache - Reduced GUI latency by preloading mob head textures
v1.5.4.3
SmartSpawner - Version 1.5.4.3
🔧 Bug Fixes
Fixed Folia Server Errors
- Fixed critical error that caused the plugin to throw errors on Folia servers when checking for ghost spawners
- The plugin now properly works with Folia's multi-threaded system
- Ghost spawner checks are now thread-safe and won't cause server errors
Automatic Ghost Spawner Checks Removed
- Removed automatic ghost spawner cleanup that ran every 5 minutes to improve server performance
- Use
/ss clear ghost_spawnerscommand whenever you want to manually clean up ghost spawners
✨ Improvements
Customizable Storage GUI Title
# Before:
gui_title_storage: '򅊮ꜱᴘᴀᴡɴᴇʀ ꜱᴛᴏʀᴀɢᴇ'
# After:
gui_title_storage: '򅊮ꜱᴘᴀᴡɴᴇʀ ꜱᴛᴏʀᴀɢᴇ - [%current_page%/%total_pages%]'- Storage GUI title is now fully customizable through the language files (
gui.yml) - You can now change current page and total pages information to the storage title
Better Storage GUI Experience
- Fixed page display bug - When taking all items from storage, the page number now updates correctly
Performance Optimizations
- Storage GUI now updates faster and uses less server resources
- Reduced unnecessary operations when browsing through storage pages
v1.5.4.2
SmartSpawner - Version 1.5.4.2
Bug Fixes
Fixed Loot Not Spawning Issue
- Sometimes spawner would skip spawn cycles even though the timer reached zero.
Fixed Total Price Showing $0
- The total price display in the spawner menu would sometimes show $0 even though items were worth money (selling still worked correctly). The display now properly refreshes to show the correct accumulated value.
v1.5.4.1
SmartSpawner - Version 1.5.4.1
Hotfix Release
🐛 Bug Fixes
Fixed timer reaching zero without spawning items
- Resolved an issue where newly created spawners would occasionally fail to spawn items when the timer reached zero
- Only affected spawners created after the previous update
- Existing spawners from earlier versions were not impacted by this bug
📝 Notes
This is a critical hotfix addressing spawn failures in new spawners. If you're experiencing this issue, please update immediately to restore proper functionality.