Spawner

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

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.
  • Command to remove entities in a given radius with /spawner remove <EntityType> [radius]
  • This plugin will 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.
  • Luck option to give a chance to not drop the spawner and break like normal (disabled by default).
  • Frequency option for each creature type to give a chance to not spawn.
  • Prevents renaming spawners on an anvil.
  • Config option to prevent players from making spawners of bad entities.
  • Config option to prevent explosions from destroying spawners.
  • Config option to drop spawners from explosions.
  • Config file to change the language.
  • Config option to use creature aliases so you can just use horse instead of EntityHorse.
  • Permissions to disable eggs.
  • Configure drops.
  • Permission to allow changing spawners of specific types to other types.

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

 

Videos

Thanks to @shop1126 for this video which showcases some of the plugin's features.

 

Installation

  • Drop the plugin into your plugins folder like any other plugin.
  • Restart the server.
  • If you are updating from an older version you must either delete your language.yml file or update it with the new entries or you will get errors.
  • Make sure to configure it to your liking by editing the config.yml.
  • Type /spawner reload to reload any changes you make to the language.yml or config.yml files.
  • If you want players to be able to break spawners add permission for spawner.break.<entity>
  • If you want players to be able to mine spawners with a silk touch enchanted tool add permission for spawner.mine.<entity>
  • If you want players to be able to place spawners add permission for spawner.place.<entity>
  • If you want players to be able to change spawners add permission for spawner.change.<entity>
  • <entity> in the above points can be any entity type (all lowercase) or all to indicate all entities. For example spawner.place.all will allow players to place any spawner type.

 

Supported Server Versions

Below you will see a list of Spawner versions and Spigot release versions. Each version of Spawner released after 2.8 supports all listed versions of Spigot since Spawner 2.8.

For example Spawner 2.8.2 will run on a Spigot 1.10 server as well as a Spigot 1.12 server but it will not run on a Spigot 1.12.1 server. You have to get Spawner 2.8.3 if you want it to run on a Spigot 1.12.1 server.

If you don't have one of these versions of Spigot the plugin will disable itself because it won't necessarily operate properly.

If you're running a newer version than the listed versions please request an update.

Spawner 2.8
1.10-R0.1-SNAPSHOT
1.10.2-R0.1-SNAPSHOT
1.11-R0.1-SNAPSHOT
1.11.1-R0.1-SNAPSHOT
1.11.2-R0.1-SNAPSHOT

Spawner 2.8.2
1.12-R0.1-SNAPSHOT

Spawner 2.8.3
1.12.1-R0.1-SNAPSHOT
1.12.2-R0.1-SNAPSHOT

 

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 remove <entity> [radius]
Removes entities of the specified type within a given radius.

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

 

Permissions

spawner.all
Gives all Spawner permissions.
Default: op

spawner.player

Gives the following permissions:

spawner.change.all: false
spawner.eggs.all: false
spawner.anvil.eggs: false
spawner.anvil.spawners: false
spawner.remove: false
spawner.reload: false
spawner.set.all: false
spawner.give.all: false
spawner.giveothers.all: false
spawner.nosilk.all: false
spawner.get: true
spawner.break.all: true
spawner.mine.all: true
spawner.place.all: true
spawner.list: true
spawner.help: true

Default: false

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.all 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.change.<entity>
Allows players to change a spawners entity type.
Use spawner.change.all to allow all spawner entity types.
Default: op

spawner.break.<entity>
Allows players to break spawners as normal.
Use spawner.break.all 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.all to allow all spawner entity types.
Default: op

spawner.place.<entity>
Allows players to place spawners.
Use spawner.place.all to allow all spawner entity types.
Default: op

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

spawner.nosilk.<entity>
Allows mining spawners without using silk touch.
Use spawner.nosilk.all to allow all spawner entity types.
Default: op

spawner.giveothers.<entity>
Gives access to use /spawner give <entity> <player>
Use spawner.giveothers.all 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

spawner.remove
Gives access to use /spawner remove <entity> [radius]
Default: op

spawner.eggs.<entity>
Allows using eggs on spawners to change their entity type.
Use spawner.eggs.all to allow all entity types.
Default: op

spawner.anvil.eggs
Allows using anvils to rename spawner eggs.
default: op

spawner.anvil.spawners
Allows using anvils to rename spawners.
Default: op

 

Note: In Spawner v1.9 some of the permissions changed from ending with .* to .all

 

Tips

  • Edit your config.yml and do /spawner reload to reload the changes.
  • 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.
  • 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).
  • The config.yml file has a section for valid_entities where you can list entities you want players to be able to use.

 

TODO

I created a Spawner 3.0 TODO List here.

Check the issues for a list of TODO items.

 

Metrics

This plugin collects anonymous statistics about your server so that I can better understand how people are using the plugin. As of Spawner v2.8 it sends these stats to bStats.org where it's publicly available (previously it used mcstats.org). These statistics include:

  • Your server's randomly generated UUID
  • The amount of players on your server
  • The online mode of your server
  • The bukkit version of your server
  • The java version of your system (e.g. Java 8)
  • The name of your OS (e.g. Windows)
  • The version of your OS
  • The architecture of your OS (e.g. amd64)
  • The system cores of your OS (e.g. 8)
  • bStats-supported plugins
  • Plugin version of bStats-supported plugins

bStats has little effect on your server's performance and the data sent is completely anonymous so please consider leaving it enabled as it is useful for me to see these statistics. However, if you would like to opt out of this anonymous statistics collection process then you can disable it by editing the file /plugins/bStats/config.yml and setting enabled to false.

 

EntityTypes and Item Durabilities

Creating a Spawner From Another Plugin

Default config.yml - 1.10 - 1.11 - 1.12

Default language.yml - 1.10 - 1.11 - 1.12

Source

Report Issues

Discord

 

Donations

If you like this plugin please consider donating towards its development. This will encourage me to work on it more. Your donation is very much appreciated!

PayPal: You can find a donate link on the top-right of the page.
Bitcoin: 13Ypntcsv33jb9voWpkAUFZAAMzWAgEjqT


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    48042
  • Created
    Dec 3, 2012
  • Last Released File
    Sep 18, 2017
  • Total Downloads
    122,620
  • License

Categories

Members

Recent Files

Bukkit