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 Nov 14, 2013 at 13:55 UTC - 0 likes

    @Cubanrevel: Go

    I personally cannot say since I haven't touched Bukkit or Minecraft for months but I would only guess so as long as Bukkit doesn't change their API. Only way to find out for sure is to give it a shot.

  • Avatar of Cubanrevel Cubanrevel Nov 12, 2013 at 01:41 UTC - 0 likes

    does this plugin still work on 1.6.4 and 1.7.2
    Thank you

    https://minestatus.net/95398-xxblitzcraftxx/image/original.png

    Cuban Survival Land

  • Avatar of ryvix ryvix Oct 24, 2013 at 11:38 UTC - 0 likes

    @ria80: Go

    This functionality already exists. You can set spawners in your hand to a set type or give someone a specific type of spawner (check commands section above). If you don't want people to break spawners then deny them the break permission or don't give it to them in the first place.

    @vvv16: Go

    People have asked this before but I have said no because there are other plugins to control ownership of specific blocks. However, maybe some day.

  • Avatar of ria80 ria80 Oct 24, 2013 at 08:34 UTC - 0 likes

    Hello, I thought to a thing, is that it would be possible to add to your plugin, function, can only drop spawners I asked myself, not the spawners that it found in the wilderness ?

    thanks advance sorry for my bad english.

  • Avatar of vvv16 vvv16 Oct 20, 2013 at 07:00 UTC - 0 likes

    Can You do That only spawner's owners are able to break their spawner ? Sorry for my bad English...

  • Avatar of ryvix ryvix Oct 03, 2013 at 15:20 UTC - 0 likes

    @Trolltheking: Go

    I don't believe so. You can try to remove it from the bad entities list and see if it has changed though. There likely are other plugins that would allow you to accomplish whatever it is you're trying to do though.

  • Avatar of Trolltheking Trolltheking Oct 03, 2013 at 15:13 UTC - 0 likes

    Is it possible to spawn items?

  • Avatar of ryvix ryvix Sep 29, 2013 at 14:29 UTC - 0 likes

    @tango9999: Go

    Is there a particular problem you're having?

  • Avatar of tango9999 tango9999 Sep 29, 2013 at 13:36 UTC - 1 like

    PLEASE UPDATE THIS!

  • Avatar of Gioking017 Gioking017 Sep 24, 2013 at 02:56 UTC - 0 likes

    Hey, I have something you can maybe add. Can you make it where it is compatible with Essentials and can be sold Example:

    (Buying with Essentials Sign) [Buy] 1 CreeperSpawner $5000

    This would be pretty nice to do. I can really use it.

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