DG Spawners - Premium Spawner Plugin v1.3.1

The Ultimate All-in-One Spawner Plugin for Minecraft 1.21.x
DGspawners 1.3.1 - New Commands

A small but handy update with five new commands for both players and admins.



✨ What's New

  • /spawners give <player> <type> [amount] - the admin give command is now also available under /spawners for convenience. Both forms work, requires dgspawners.admin.
  • /spawners list - shows all your placed spawners with their world, coordinates, and a numeric ID. Perfect for players who forget where they put everything.
  • /spawners tp <id> - teleport to one of your own spawners by ID (from /spawners list). Gated behind a new dgspawners.tp permission so it stays opt-in for PvP/economy servers.
  • /sadmin remove <player> - cleanly removes every spawner owned by a player, including holograms and virtual storage. Useful for bans, wipes, or compensation flows.
  • /sadmin top [limit] - leaderboard of the top spawner owners on your server. Defaults to top 10, can be set up to 50.



🔑 New Permission

  • dgspawners.tp - allows the use of /spawners tp <id>. Default: false (give it to ranks where teleporting is acceptable).



⚠️ Upgrade Notes

  • Drop-in update over 1.3.0. No config changes required.

Thanks for the feedback that drove this release!
DGspawners 1.3.0 - Major Update

A big release that fixes long-standing player complaints, removes vanilla restrictions, and adds a clean way to handle empty spawners obtained via silk touch.



✨ What's New

🌍 Spawners now work on ANY block
Cow, sheep, fish, and other mob spawners no longer require grass, water, or any specific block underneath. Place a cow spawner on stone, glass, sand, netherrack, wherever you want. The plugin now handles spawning logic itself, completely bypassing vanilla's restrictive placement rules.

🦇 Bats (and other "tricky" mobs) now give XP
Mobs with strict spawn conditions like bats, water creatures, hostiles in lit areas, used to silently fail to give XP because vanilla cancelled their spawns before our plugin could see them. The new spawn system processes XP and loot directly, so every spawn cycle counts.

🥚 Empty Spawner + Conversion GUI
Mining a vanilla spawner with Silk Touch now drops a clean Empty Spawner item. No more random "Pig Spawner" fallback when the original type couldn't be detected. Place the empty spawner anywhere and right-click it to open the Convert GUI, where you can pick any mob type at a discounted price (default 50% off shop price, fully configurable in config.yml).

👁️ Per-Spawner Hologram Toggle
Players can now hide the floating text above their own spawners directly from the upgrade GUI. Useful for builds where the hologram clutters the view, or for players who simply prefer a cleaner look. Toggle is per-spawner and persists across restarts.

🛡️ Silk Touch permission bug fixed
Previously, players with the generic dgspawners.break permission could mine vanilla spawners without holding a Silk Touch pickaxe, bypassing the chance system entirely. This is now strictly enforced: you need both Silk Touch and the dgspawners.silkspawner.<chance> permission for the roll to even happen.

🗺️ No more placement restrictions
The plugin now overrides any "you can't place that here" checks for DGspawners items. Spawners can be placed on any surface, in any orientation, on any block.



🔧 Under the Hood

  • Custom spawn ticker replaces vanilla spawner logic for plugin-managed spawners. Better performance with auto-collect, more predictable timing, and full control over spawn position selection within the upgraded range.
  • Cleaner code architecture: shared pickup logic (no more duplicated NBT serialization), constants instead of magic numbers in the shop GUI, removed unused totalEarned field, hologram refresh task tightened.
  • Migrated to Paper API with proper modern chat events (AsyncChatEvent).
  • Configurable activation range via settings.required-player-range (was hardcoded at 24).
  • Reduced disk I/O: virtual storage no longer saves on every withdrawal. Relies on the existing 5-minute auto-save task plus shutdown save.
  • Username pre-validation for the trust system stops pointless Mojang API lookups for invalid input.



📋 New Config Options

YAML:
settings:
  required-player-range: 24    # was hardcoded; now you can tune it

convert:
  price-percent: 50.0          # discount for empty spawner conversion



⚠️ Upgrade Notes

  • Drop-in update, fully compatible with spawners.yml from 1.1.x. New fields are added with sensible defaults on first save.
  • Paper required: this version uses Paper API exclusively. If you're on Spigot, please upgrade to Paper, Purpur, or Pufferfish.
  • Reload on running server: existing spawners will pick up the new spawn system automatically. You may notice spawns happening more consistently. That's vanilla's silent cancellations no longer blocking your loot.
  • Existing silk-touched "Pig Spawner" items in player inventories from older versions will still work as pig spawners (their NBT is intact). Only new silk-touch results produce empty spawners.



✦ DGspawners v1.1.1 - Major Update ✦
MC 26.1 Support, Silk Touch Mining, Smart Storage, Protection & More

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


🌐 Minecraft 26.1 "Tiny Takeover" Support

DGspawners now officially supports both Minecraft 1.21.x and the new Minecraft 26.1 (Tiny Takeover)!

  • Fully tested on 26.1, 26.1.1, and 26.1.2
  • One jar, all versions - same build works on 1.21.x and 26.1+ servers
  • Java 21+ compatible - compiled with Java 21, runs perfectly on Java 25


⛏ NEW: Silk Touch Spawner Mining

Players can now mine vanilla world spawners using a Silk Touch pickaxe - with a configurable chance based on permissions!

  • Permission-based chance system - assign different success rates to different ranks:
    - dgspawners.silkspawner.5 → 5% chance
    - dgspawners.silkspawner.20 → 20% chance
    - dgspawners.silkspawner.40 → 40% chance
    - dgspawners.silkspawner.60 → 60% chance
    - dgspawners.silkspawner.80 → 80% chance
    - dgspawners.silkspawner.100 → 100% (guaranteed)
  • Highest permission wins - if a player has both .20 and .60, they get 60%
  • Success → player gets a fully functional DGspawners item with the correct mob type, level-up sound, and a message showing the chance: "✔ Silk Touch success! You obtained a Zombie Spawner (40% chance)"
  • Failure → spawner is destroyed, item break sound, message: "The spawner crumbled! (40% chance failed)"
  • Requires Silk Touch enchantment on any pickaxe - won't trigger with regular tools
  • Toggleable - disable completely in config with silk-touch.enabled: false
  • Works perfectly alongside the shop - players can now earn spawners both by buying AND by exploring


🧠 NEW: Smart Storage - No-Drop Mob Intelligence

Not all mobs drop items. The plugin now handles this intelligently.

  • Mobs without item drops (like Bats, Endermites, some custom-configured mobs) no longer show the Virtual Storage button. Instead, they get a barrier icon with the message "doesn't drop any items - Use XP Storage instead!"
  • Auto-Collect still works for all mobs - mobs are killed instantly regardless of whether they have drops. Kill count and XP storage work normally.
  • What changes for no-drop mobs:
    - Virtual Storage button → replaced with "No Item Drops" indicator
    - Storage GUI → blocked (can't open)
    - Hologram → doesn't show item count
    - Everything else works: Auto-Collect toggle, XP Storage, upgrades, trust
  • What stays the same for mobs with drops: - absolutely nothing changes. Full virtual storage, real visual stacks, slot upgrades, withdrawal — exactly as before.


🐛 Critical Bug Fixes

  • Fixed: Upgrades lost on pickup/break - Auto-Collect unlock, Storage Level, XP Storage unlock, and XP Level were lost when picking up spawners. Now all 9 upgrade values are saved to NBT.
  • Fixed: Admin reload not refreshing loot tables - /sadmin reload now refreshes config + loot tables instantly.
  • Fixed: Memory leak on player disconnect - GUI maps cleaned up on PlayerQuitEvent for all 5 GUI states.
  • Fixed: Hologram refresh on unloaded chunks - Now checks isChunkLoaded() before updating.


🛡 Spawner Protection

  • Explosion protection - TNT, Creeper, Wither, bed/respawn anchor explosions can't destroy custom spawners
  • Piston protection - pistons can't push or pull custom spawners


⌨ New Commands

  • /spawners info - view your spawner count, limit, remaining slots, and balance
  • /spawners help - command reference
  • /sadmin info [player] - admin player lookup
  • Tab completion on all subcommands


🔊 Sound Effects

  • Purchase success / denied sounds in shop
  • Spawner placement sound
  • Silk Touch success / failure sounds


✨ Quality of Life

  • Rich spawner item lore - picked up spawners show ALL upgrades in decorated box layout
  • XP + item loss warnings - combined message on break/pickup



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📋 Full Changelog

Code:
v1.1.0

[NEW FEATURES]
+ Minecraft 26.1 "Tiny Takeover" support (1.21.x & 26.1+)
+ Silk Touch spawner mining with permission-based chances
  - dgspawners.silkspawner.5/10/20/40/60/80/100
  - Requires Silk Touch pickaxe + permission
  - Success/failure feedback with sounds
+ Smart no-drop mob detection
  - Virtual Storage hidden for mobs without item drops
  - Auto-Collect + XP Storage still work for all mobs
  - Barrier icon with helpful message in upgrade GUI

[CRITICAL FIXES]
+ All 9 upgrade values saved to NBT on pickup/break
+ /sadmin reload refreshes loot tables
+ Memory leak fix: GUI cleanup on player disconnect
+ Hologram refresh skips unloaded chunks

[PROTECTION]
+ Explosion protection (TNT, Creeper, Wither, beds)
+ Piston protection (extend + retract)

[NEW COMMANDS]
+ /spawners info - player spawner count & limit
+ /spawners help - command reference
+ /sadmin info [player] - admin player lookup
+ Tab completion on all subcommands

[SOUNDS]
+ Purchase success / denied sounds
+ Spawner placement sound
+ Silk Touch success / failure sounds

[QOL]
+ Rich decorated lore on spawner items
+ XP + item loss warnings on break/pickup


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Supported Versions


Minecraft: 1.21.x & 26.1+ (Tiny Takeover)
Java: 21+ (compatible with Java 25)
Server: Spigot / Paper
Required: Vault + Economy Plugin



One jar. All versions. No separate builds.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠ Delete your old config.yml and plugin.yml from plugins/DGspawners/
before updating so they regenerate with the new settings.


Your spawners.yml and storage.yml data files are safe - don't delete those.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Thank you for using DGspawners! If you enjoy it, please leave a review ⭐
Buy a license now
$8.99
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
1 year
Share and earn
Refer this resource and earn a 10% commission.
318 Views
1 Purchases
2 Downloads
Apr 3, 2026 Published
Apr 25, 2026 Updated
Not yet rated
116.4 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. No
Type
  1. Gameplay
  1. Economy
  1. Mobs
Game mode
  1. Survival
  1. Factions
  1. Skyblock
Supported software
  1. Spigot
  1. Paper
  1. Purpur
Supported versions
  1. 1.21.11
  1. 1.21
Supported languages
  1. English
Creator
Recommended for you
4.00 star(s) 3 ratings
13 purchases
CrazyCrates Professional Config | 11 crates
Not yet rated
10 purchases
Not yet rated
4 purchases
High detailed RPG World !
Not yet rated
5 purchases
A fully configured, plug-and-play Minecraft network
5.00 star(s) 1 ratings
4 purchases
Share and earn
Refer this resource and earn a 10% commission.
318 Views
1 Purchases
2 Downloads
Apr 3, 2026 Published
Apr 25, 2026 Updated
Not yet rated
116.4 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. No
Type
  1. Gameplay
  1. Economy
  1. Mobs
Game mode
  1. Survival
  1. Factions
  1. Skyblock
Supported software
  1. Spigot
  1. Paper
  1. Purpur
Supported versions
  1. 1.21.11
  1. 1.21
Supported languages
  1. English
Creator
Recommended for you
4.00 star(s) 3 ratings
13 purchases
CrazyCrates Professional Config | 11 crates
Not yet rated
10 purchases
Not yet rated
4 purchases
High detailed RPG World !
Not yet rated
5 purchases
A fully configured, plug-and-play Minecraft network
5.00 star(s) 1 ratings
4 purchases
Top