Skip to content

v1.5.6

Choose a tag to compare

@github-actions github-actions released this 10 Nov 01:27
· 321 commits to main since this release

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.yml for 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.