Spawner

Creeper Spawner 2

This plugin allows you to set mob spawner types and optionally gather mob spawners with a Silk Touch enchanted tool.

Download Latest File

Features

  • You can change the type of spawner you are looking at or holding by using /spawner <EntityType>. For example /spawner creeper will change the spawner to a creeper spawner.
  • It will tell you what kind of spawner you interact with or type /spawner while looking at it.
  • Command to give yourself or another player a spawner of a given type.
  • /spawner list and /spawner help commands that display the contents of text files so you can customize them to your liking.
  • This plugin may be able to replace other plugins that store mob spawner types as the item durability. It will also attempt to remove the Silk Touch enchant from the spawner that some plugins add otherwise players can use them as a Silk Touch enchanted tool.
  • Config option to prevent players from making spawners of bad entities.
  • Config option to prevent explosions from destroying spawners.
  • Config file to change the language.

This plugin may use various bits of code I found on the Bukkit forums.

Spawner


Entities

You can make spawners any of the entity names listed here. Generally you would use the name that appears inside the quotes in the brackets. For example PigZombie will work while PIG_ZOMBIE will not.

The config.yml file has a section for bad_entities where you can list entities you don't want players to be able to use.


Commands

/spawner <entity>
Switch the spawner you're looking at or holding to the given mob entity type.

/spawner give <entity> [player]
Give a spawner to yourself or another player.

/spawner list
Display the contents of the spawner/list.txt file.

/spawner help
Display the contents of the spawner/help.txt file.

/spawner reload
Reload the plugin. Useful if you make changes to any of the files.


Permissions

spawner.*
Gives all Spawner permissions.
Default: op

spawner.reload
Gives access to use /spawner reload to reload the plugin.
Default: op

spawner.set.<entity>
Gives access to use /spawner <entity>
Use spawner.set.* to allow all spawner entity types.
Default: op

spawner.get
Gives access to right-click a spawner or use /spawner to get the spawner entity type.
Default: op

spawner.break.<entity>
Allows players to break spawners as normal.
Use spawner.break.* to allow all spawner entity types.
Default: op

spawner.mine.<entity>
Allows players to mine spawners with a silk touch enchanted tool.
Use spawner.mine.* to allow all spawner entity types.
Default: op

spawner.give.<entity>
Gives access to use /spawner give <entity>
Use spawner.give.* to allow all spawner entity types.
Default: op

spawner.give.others.<entity>
Gives access to use /spawner give <entity> <player>
Use spawner.give.others.* to allow all spawner entity types.
This can also be run from console.
Default: op

spawner.help
Gives access to use /spawner help
Default: op

spawner.list
Gives access to use /spawner list
Default: op


Tips

  • Make sure you aren't looking at a spawner when you're trying to change the spawner you're holding.
  • It can also change an entire stack of spawners you're holding.
  • You may wish to add EnderDragon and WitherBoss to the list of bad_entities in the config.yml.
  • If you try to update the plugin with a plugin manager without restarting the server you may run into issues (such as duplicate spawner drops).


TODO

If they are crossed out it means they are finished and will be in the next release.

  • Add remove entities within a given radius.
  • Fix deprecated code. (partially done)
  • Add limiting of max creatures spawned by spawners.
  • Add amount parameter.
  • Add ability to limit the number of spawners a player can give/change.
  • Add baby spawners.
  • Armor possible?


Creating a Spawner From Another Plugin

Spawner config.yml

Source

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ryvix ryvix Apr 20, 2014 at 02:01 UTC - 0 likes

    @RAFA_GATO_FOFO: Go

    There isn't currently a permission node to place spawners. I could add one but if you dont give them permission to mine them then they can't mine them in the first place. So the solution should be to not give them spawners if you don't want them to use them. However I know there are certain plugins which give permissions to a selected area so it might be useful to have a place permission.

  • Avatar of RAFA_GATO_FOFO RAFA_GATO_FOFO Apr 20, 2014 at 01:34 UTC - 0 likes

    @ryvix: Go

    What's the permission node to PLACE spawners?

  • Avatar of awesomedude183 awesomedude183 Apr 15, 2014 at 02:04 UTC - 0 likes

    @ryvix: Go

    Thanks if you could add it in

  • Avatar of ryvix ryvix Apr 14, 2014 at 23:22 UTC - 0 likes

    @awesomedude183: Go

    The names are set in the code using the entity types and there isn't a way to customize them. I could look into adding this into the language file though.

  • Avatar of awesomedude183 awesomedude183 Apr 14, 2014 at 22:50 UTC - 0 likes

    How can I change the spawner name?

    Instead of lets say Zombie Spawner I want to make it yellow

  • Avatar of ryvix ryvix Apr 14, 2014 at 13:33 UTC - 0 likes

    @TheCoolGuy123_5_Minecraft_: Go

    That happens if they are in creative mode.

  • Avatar of TheCoolGuy123_5_Minecraft_ TheCoolGuy123_5_Minecraft_ Apr 14, 2014 at 11:25 UTC - 0 likes

    Sometimes when people buy spawners from a spawner shop I made, the spawners in their inventory random just glitch out and get deleted. It's annoying.

    JACK

  • Avatar of ryvix ryvix Apr 09, 2014 at 03:03 UTC - 0 likes

    @Appleguy1999: Go

    Sorry, I just realized that I completely misread your message before. Wither skeletons should show up if you put skeleton spawners in the nether.

  • Avatar of ryvix ryvix Mar 31, 2014 at 21:33 UTC - 0 likes

    @Appleguy1999: Go

    I believe so. I think it was WitherBoss

    Check the Entities section above for more info.

  • Avatar of Appleguy1999 Appleguy1999 Mar 31, 2014 at 21:26 UTC - 0 likes

    Is there anyway to spawn Wither Skeletons with the plugin?

What do you want added next?

  1. Choices:

  1. Results
  2. 3 comments

Facts

Date created
Dec 03, 2012
Categories
Last update
May 16, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
Spawner
Downloads
39,917
Recent files

Authors