Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for ptthanh02

Enhances spawner use with GUI that generates mob drops and experience without spawning entity

Report SmartSpawner?

SmartSpawner

๐ŸŒŸ Overview

Inspired by Donut SMP's Spawner mechanics, this plugin revolutionizes spawner usage with an intuitive GUI-based system. It allows mob drops and experience generation without spawning actual entities, significantly reducing server load while enhancing the player experience.

โš ๏ธ IMPORTANT COMPATIBILITY NOTICE: This plugin is NOT compatible with other spawner stacking plugins such as WildStacker, RoseStacker, etc. Using SmartSpawner alongside these plugins will cause conflicts and unexpected behavior.


๐Ÿš€ Key Features

๐Ÿ–ฅ๏ธ Intuitive GUI

A user-friendly interface that lets players effortlessly view, manage, and interact with spawners.

Spawner Main GUI
Spawner Main GUI

Spawner Storage GUI
Spawner Storage GUI

๐Ÿ”„ Spawner Stacking

Reduce server lag with seamless stacking mechanics. Players can stack spawners directly by right-clicking or using a dedicated GUI.

๐Ÿ“Œ How To Stack Spawners?
  • Right-click on a spawner with another spawner in hand to add 1 to the stack.
  • Shift + Right-click to stack all spawners in your hand.
  • Or use the Stacker GUI.

Spawner Stacker GUI
Spawner Stacker GUI

Stacking a Spawner
Stacking a Spawner

โ›๏ธ Mineable Spawners

Players can break and collect spawners using specific tools (e.g., Silk Touch), fully customizable via configuration.

๐Ÿช Shop Integration

Fully compatible with popular economy plugins, allowing direct item sales from the Spawner Storage GUI.
Currently supports:

More shop plugins will be supported in future updates!

๐Ÿพ Full Mob Support

SmartSpawner now supports all Minecraft mobs, including the newest additions from the 1.21 update (like Bogged and Breeze) and any future mob types that may be added to the game.


๐Ÿ› ๏ธ Configuration

The plugin comes with a comprehensive configuration system. Here's the latest configuration format:

config.yml
#---------------------------------------------------
#                 Plugin Settings
#---------------------------------------------------
# Language Selection
# Supported: en_US (English), vi_VN (Vietnamese), zh_CN (Simplified Chinese)
# You can also use custom language files by placing them in the messages folder
# (Need a full server restart to apply changes)
language: en_US

# Debug Mode (for printing debug messages to console)
debug: false

# Data Saving Interval in seconds (default: 300 seconds - 5 minutes)
save-interval: 300 # seconds

#---------------------------------------------------
#              Spawner Core Mechanics
#---------------------------------------------------
# Default entity type for spawners
default-entity: PIG

# Spawn count limits
min-mobs: 1
max-mobs: 4

# Player proximity for activation
range: 16 # blocks

# Base loot spawn delay
delay: 20 # seconds

# Storage page(s) per spawner (1 page = 45 slots)
max-storage-pages: 1

# Maximum storable experience points
max-stored-exp: 1000

# Maximum spawner stack size
max-stack-size: 1000

# Experience and equipment features
allow-exp-mending: true
allow-toggle-equipment-drops: true

# Prevent explosions destroying spawners
allow-grief: false

# Immediate spawner activation when placed
# If false, players must right-click to activate
activate-on-place: true

#---------------------------------------------------
#             Custom Mechanics
#---------------------------------------------------
# If false prevent players from interacting with natural spawners
# This includes breaking & activating natural spawners
# Useful for preventing players using ESP, X-ray, etc. to locate spawners unfairly
natural-spawner-interaction: true

#---------------------------------------------------
#             Spawner Breaking Mechanics
#---------------------------------------------------
# Enable spawner breaking functionality
spawner-break-enabled: true

# Permitted Breaking Tools
required-tools:
  - IRON_PICKAXE
  - GOLDEN_PICKAXE
  - DIAMOND_PICKAXE
  - NETHERITE_PICKAXE

# Durability lost per spawner broken
durability-loss-per-spawner: 1

# Silk Touch Requirements
silk-touch-required: true
silk-touch-level: 1

# Maximum dropped items per break
drop-stack-amount: 64

#---------------------------------------------------
#                Aesthetic Features
#---------------------------------------------------
# Note: May impact server performance

# Hologram Configuration
hologram-enabled: false
hologram-see-through: false
hologram-shadowed-text: true
hologram-height: 1.6
hologram-offset-x: 0.5
hologram-offset-z: 0.5

# Particle Effects
particles-loot-spawn: true
particles-spawner-stack: true
particles-spawner-activate: true

#---------------------------------------------------
#              Economic Integration
#---------------------------------------------------
# Shop integration options:
# - auto: Automatically detect supported shop plugins
# - EconomyShopGUI, EconomyShopGUI-Premium, ShopGUIPlus, zShop
# - disabled: No shop integration
shop-integration: auto

# Format prices with currency symbols (K, M, B, T)
formated-price: true

# Cooldown between selling items
sell-cooldown: 3 # seconds

# Sales tax configuration
tax-enabled: false
tax-rate: 10.0

# Transaction logging
logging-enabled: true
logging-file-path: "shop-logs/sales.log"

#---------------------------------------------------
#              Hopper Mechanics
#---------------------------------------------------
# Not recommended for large servers
# May impact server performance
hopper-enabled: false
hopper-items-per-transfer: 4
hopper-check-interval: 1 # seconds

#---------------------------------------------------
#              Update Checker
#---------------------------------------------------
update-checker-enabled: true
update-checker-interval: 24 # hours
update-checker-notify-console: true
update-checker-notify-on-join: true

๐Ÿ› ๏ธ Commands

Aliases: /ss, /spawner, /smartspawner

Command Description Usage Permission
/smartspawner reload Reload the SmartSpawner plugin settings /smartspawner reload smartspawner.reload
/smartspawner give Gives a spawner to a player or yourself /smartspawner give <player> <mobtype> <amount> smartspawner.give
/smartspawner list Opens the spawner list GUI for admin management /smartspawner list smartspawner.list
/smartspawner hologram Toggle hologram display for spawners /smartspawner hologram smartspawner.hologram

๐Ÿ“œ Permissions

Permission Description Default
smartspawner.* Grants access to all SmartSpawner permissions op
smartspawner.reload Allows reloading the SmartSpawner plugin op
smartspawner.give Allows giving spawners to yourself or other players op
smartspawner.list Allows accessing the spawner list command op
smartspawner.hologram Allows toggling hologram display for spawners op
smartspawner.stack Allows stacking spawners true
smartspawner.changetype Allows changing spawner type using spawn eggs true
smartspawner.break Allows breaking spawners true
smartspawner.sellall Allows selling items in the spawner storage GUI true

๐Ÿ“Š Plugin Statistics

See real-time usage statistics on bStats: bStats Graph


๐Ÿ”Œ Supported Plugins

Shops
Protections
Worlds
  • Multiversal-Core โ€“ Supports loading and saving spawners in custom worlds.

๐Ÿ’ก This plugin is actively maintained! If you have suggestions or need support, feel free to reach out. Enjoy the enhanced spawner mechanics! ๐Ÿš€

Discord Help Banner

Information

CategoryMiscellaneous
Published onMarch 19, 2025
LicenseCC-BY-NC-SA-4.0
Downloads6
Stars0
Watchers0
Supports Folia

Pinned Versions

Members