EnhancedSpawners
Enhanced-Spawners
1,000 DOWNLOADS! THANK YOU!
EnhancedSpawners is inspired by the plugin request from FlyingSpitball. The idea is to allow for spawners to be customizable, both in standard survival and by admins! It also allows for silk touch pickaxes to pick up spawners so that they could become portable! All you have to do is drop this plugin in your plugin folder and run! Once installed, you can use a silk touch pickaxe to mine and pick up your spawners! They retain their data too! And you could customize these spawners! Either by commands or in survival (visit the "How to Customize Your Spawners" section to see how).
How to Customize Your Spawners
In Survival
- Create a tempered egg by smelting an egg (or Attuned Egg)
- Create an infused egg (enchanted book could have any enchantment and the egg in the middle is a tempered egg)
- Left-Click a mob with the infused egg to get an Attuned Egg with the given mob
- Right-Click on a mob spawner with the Attuned Egg to change the mob it spawns!
As An Admin
- Look at a spawner and do the /set-mob <mob> command to change the mob it spawns
- Look at a spawner and do the /set-delay <delay> command to change the spawning delay
Current Features
- You can use silk-touch on a spawner to move it
- You can customize a spawner in survival
- You can customize a spawner as an admin
- Toggling spawners with redstone (VERY Experimental!)
- Crafting spawn eggs ('Attuned Eggs' also act as spawn eggs)
- Dungeon loot! (Tempered Eggs or Mystery Attuned Eggs)
- Auto-updating (thanks Gravity!)
A Note About Auto-Updates and Update Checking
Unless disabled, this plugin will check for updates on curseforge. It will look for the version of CraftBukkit that you are running and the version of LootPlus you are running, the plugin will then decide if you are running an outdated version of the plugin and you are running the correct version of CraftBukkit (to prevent version mismatches). I see none of this information, none of it is ever cached. If you wish to disable auto-updating set the config option "autoUpdate" to false. These updates depend upon curse, so if you see that there is a new update but the plugin did not detect it, most likely it is because of curse being slow to update all my project files, regardless, feel free to report it and I'll let you know what's wrong (because it may actually be a bug with my plugin)
A Note About Metrics Collection
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The version of Java the server is running
- Whether the server is in offline or online mode
- The plugin's version
- The server's minecraft version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The version of Metrics used
All this information goes directly to mcstats.org, but if you wish to disable it, either "opt-out" in the plugin metrics folder in your plugins folder, or go into the config for this plugin and set mcstatsDataCollection to false
Commands
- /set-mob <mob> <optional: delay> -command to change the mob spawner you're looking at spawns
- /set-delay <delay> -command to change the spawning delay of the mob spawner you're looking at
- /new-spawner <mob> <optional: delay> -command to create a mob spawner
- /give-spawner or /give-spawner <mob> <optional: player> -command to give you a spawner based on either the spawner you're looking at, or the input
Permission Nodes
- EnhancedSpawners.set-mob -For the /set-mob command
- EnhancedSpawners.set-delay -For the /set-delay command
- EnhancedSpawners.silkySpawners -For the ability to silk touch spawners
- EnhancedSpawners.new-spawner - For the /new-spawner command
- EnhancedSpawners.give-spawner - For the /give-spawner command
- EnhancedSpawners.canChangeSpawners - For the spawner change GUI
About the Config Options
- autoUpdater - dictates whether the plugin should auto-update
- mcstatsDataCollection - dictates whether the plugin will collect data for PluginMetrics
- mobBlacklist - dictates whether the plugin will use its internal blacklist for mobs
- compassCleaner - whether to reset compasses upon login (may break plugins which utilize compasses)
- spawnerFinderRadius - the radius at which a "spawner finder" attempts to look for spawners
- firstLoginMessage - whether the plugin will send a message to someone who logs in for the first time
- setToDefault - setting this to 'true' resets the config files
- changeSpawners - allows for players in survival to customize spawners
- silkTouchSpawners - allows for players to silk touch spawners to pick them up
- attunedEggsEqualSpawnEggs - allows Attuned Eggs to act like spawn eggs
- dungeonLoot - allows dungeon loot to spawn
- redstoneToggle(EXP) - allows for spawners to be toggled with redstone (VERY Experimental! Not recommended to use)
Changelog
Visit here
Planned Features
- Rewrite spawner mechanics (this'll be a toughie :P) to implement custom features (inlcuding a working ability to toggle spawners with redstone)
- More config options
- More permissions
Known Issues
- /new-spawner can replace blocks with a spawner instead of placing the spawner next to these blocks
- Shift-clicking eggs into furnaces can be a little bugged
Videos
Plugin Review by Theekshana:
Please Send Me Videos!
Servers Running This Plugin!
If your server is running this plugin please post the website/ip of it and its name!
Like This Plugin?
Click the donate button on the top right of this page to support me!
This Project's Open-Source!
Check it out on Github!
https://github.com/austinv11/Enhanced-Spawners
Please post suggestions and comments and post issues on my issue-tracker!
Can you add these mobs they are missing:
magma cube, pigman, cave spider, iron golem, horse, ocelot, mushroom cow, wither boss, enderdragon
not sure if u can add the witherboss and enderdragon or not
@austinv11
Thanks for fixing it! :)
@austinv11
Hey austinv11. I just ran into an issue with EnhancedSpawners. I created a ticket with my other account at the GitHub project page. Take a look at it here: https://github.com/austinv11/Enhanced-Spawners/issues/1
P.S: I setup a test server on my computer to test the new redstone feature, and it works! :)
@FlyingSpitball
Update released, just waiting on approval! Check the changelog to see the changes! Highlights: addition of the EnhancedSpawners.silkySpawners permission node, and addition of the VERY experimental ability to toggle a spawner (DO NOT USE, it most likely does not work and may cause errors)
And another note, if you stumble upon a bug, please open a ticket
@FlyingSpitball
Definitely, I'll see what I could do, my time is finally freeing up, so I could work on this plugin :)
Hi austinv11! I have been looking for ideas on how to make EnhancedSpawners better, and yesterday one of my players suggested me something: "You should make it so only donators can silk-touch spawners." Is it possible that you can add a permission node for silk-touching spawners? I'm not sure, but if it is, it would be great if you could add this in the next version.
@austinv11
Thanks!
@xSankari
Thanks! I had a little experience with lua and a tiny amount with Javascript, but I recommend checking this out to learn java and this for actual plugin making
@austinv11 Hey I love this plugin, I have been using it for around an hour on my closed server it is very cool! But where did you learn to code? As I have no experience and would like to try and code some of my own plugins, thanks!
I hope you guys enjoy this plugin! I've worked hard on it and will continue to do so, there is still a lot of optimizations, feature additions, etc that I wish to add! So stay tuned! (If you wish to see a feature implemented in this post a suggestion or submit a pull request on GitHub!)