MonsterBox
Updated for 1.8.1! Now with guardians, endermites and bunnies!
MonsterBox will change the type of any monster spawner that you are looking at with the command /mbox set <creaturetype>. Some valid creature types are wolf, pigzombie, creeper. Capitalization does not matter. To change the options, just open settings.ini located in the plugins/MonsterBox folder. For economy support please download and install Vault
Now supports setting mob spawners through eggs and having mob spawners drop eggs upon breaking (both support permissions for specific mobs)
Please Note: For all of you having problems getting monsters to spawn: This only "sets" the type of monster spawner and lets minecraft do the spawning. It will not spawn certain types of monsters (like Giants or Steves) because the spawn rate and spawn conditions for a monster spawner of that type is not defined in the minecraft code.
To use:
To set a monster spawner:
Command Method
- Look at monster spawner. (Through glass is just fine)
- Type in /mbox set <creaturetype>
Command-less Method (Using Spout)
- Hit monster spawner with a gold sword
- Select the new mob that you want it to spawn
Command-less Method (Using Eggs)
- Right click the mob spawner with the type of egg you want it to be
To get which monster a spawner spawns:
Command Method
- Look at monster spawner. (Through glass is just fine)
- Type in /mbox get
Command-less Method (Using Spout)
- Hit monster spawner with a gold sword
- The type of spawner is at the top of the selection window
Features:
- NEW! Placed mob spawners do not spawn anything until set
- NEW! Set prices for setting a spawner via egg
- NEW! Optional feature to have mob spawners only drop if you use a tool with silktouch on it.
- NEW! Integrated egg spawning restriction built in! Deny them the right to spawn mobs while still having the right to set the spawner types!
- Change the type of mob spawner using eggs! (Permissions support for each mob type) Also, please note that changing mob spawners through eggs doesn't have a cost associated with it.
- Mob spawners can drop their corresponding spawn egg (permissions support for each mob type) so that you can set them upon placement again.
- Spout enabled GUI. Just hit the monster spawner with a gold sword! (configurable)
- Completely command-less mode of operation with the new Spout gui or with eggs!
- Spout is 100% optional on both server and client.
- Option to assign a price to every monster, not just a group price for setting the type of monster a mob spawner will spawn.
- Compatible with your existing monster spawner drops from all versions of CreatureBox (Don't run both at once! They will conflict) for an easy transition.
- Can change the type of monster spawner to any creature that minecraft natively supports.
- Admins can restrict what mobs a player can set a monster spawner to spawn using permissions.
- Monster spawners can drop monster spawners (With or without silk touch tools, depending on config) (Permissions support. If permissions is not installed it defaults to OPs only)
- Find out which type of monster spawner you are looking at.
- Restrict users from placing mob spawners using permissions. (if permissions is not installed it defaults to OPs only)
- Permissions (Both bukkit superperms and the older permissions system) support (if permissions is not installed it defaults to OPs only)
- ALL ECONOMY systems supported via the Vault plugin
Permission Nodes:
- monsterbox.set - the ability to set the type of monster spawner
- monsterbox.eggset - the ability to set the type of monster spawner using eggs
- monsterbox.eggthrowmessage - Should this group see a message whenever they try to spawn a mob use a banned egg?
- monsterbox.eggthrow.[monstertype] - the ability to spawn that mob using an egg
- monsterbox.view - be able to use the /mbox get command
- monsterbox.free - if iConomy is enabled this node lets this group/user use the command for free
- monsterbox.freeegg - if iConomy is enabled this node lets this group/user set spawners using eggs for free
- monsterbox.drops - the ability for the player to recieve a drop from breaking spawners
- monsterbox.place - the ability to place any spawner
- monsterbox.spawn.* - The ability for the player to change a monster spawner to any monster type. (The player will also need the node monsterbox.set in order to access the option)
- monsterbox.spawn.[monstertype] - The ability for the player to change a monster spawner to [monstertype]. (The player will also need the node monsterbox.set in order to access the option)
- monsterbox.eggspawn.* - The ability for the player to change a monster spawner to any monster type using eggs. (The player will also need the node monsterbox.eggset in order to access the option)
- monsterbox.eggspawn.[monstertype] - The ability for the player to change a monster spawner to [monstertype] using eggs. (The player will also need the node monsterbox.eggset in order to access the option)
- monsterbox.dropegg.* - The ability for the player to receive an egg drop of any spawner's mob type when breaking the spawner.
- monsterbox.dropegg.[monstertype] - The ability for the player to receive an egg drop of [monstertype] when breaking those spawners.
List of Mobs that are verified to spawn (others might, I just haven't tested):
- Ghast
- PigZombie
- Wolf
- Pig
- Skeleton
- Creeper
- Zombie
- Sheep (at least in 1.7, not sure about 1.6.6)
- Cow (1.7+)
- Chicken (1.7+)
- Cave Spider (1.8+)
- Enderman (1.8+)
- Silverfish (1.8+)
- Giant (1.8+)
- Ender Dragon (1.0.1)
- Mushroom Cow (1.0.1)
- Villager (1.0.1)
- Blaze (1.0.1)
- IronGolem (1.2.3)
A Cool Video I Found of a Map Created With the Aid of My Plugin
Plugin Not working correctly?
For me to diagnose the issue properly please provide me with the following information:
Description of issue and how to reproduce: Version of Craftbukkit: Version of java: OS: Other plugins installed: Output of console (If there are any error messages): MonsterBox configuration file:
Changelog:
Version 0.3
- Added new mob types (cave spiders, enderman, silverfish)
- Added Bukkit SuperPerms support
- Now supports all economy plugins via the Register plugin!
- Added a little fix for bug in craftbukkit build 1240
- Doing the /mbox command by itself now lists out all the possible mob types you can choose from. (Auto generated from your version of bukkit)
Version 0.2
- Added permission nodes for each animal spawn type
- Monster Spawners can now drop spawners (permissions support)
- You can now view a monster spawner's current mob either in inventory by selecting it, or on the ground via command.
- Dropped Monster Spawners retain their mob type.
- Restrict Monster Spawner placing via permissions.
Version 0.1
- First release
@wvenderbush
Oops, my bad, I had a rouge line in there that was messing things up. The new version: 0.7.2 works, I tested it myself: http://dev.bukkit.org/server-mods/monsterbox/files/7-v0-7-2/ (the other one was a quick, untested fix, which I rarely do...)
@Tux2
I just tried it and it still didn't work (I was op)
I right clicked the spawner with the ocelot egg, but nothing.
@Tux2
On my server, Spawn Eggs can be crafted. But, I don't want people just walking around making really good spawners randomly (even if they can craft the egg)
I want people to really think about it (and get charged for having the privilege of getting unlimited of a certain creature without having to craft tons and tons of eggs, but instead just set the spawner)
Thanks!
@wvenderbush
The main purpose behind setting spawners with eggs is to make it so that monster spawners can be broken and reset easily. If you want to charge players to set mob spawners via eggs then just sell the eggs themselves since the egg gets used up upon setting the spawner. Is there a specific reason why you want to charge for setting mob spawners with eggs?
@wvenderbush
Ah, thanks for the bug report, I found the problem and fixed it! You can find the bug fix release: 0.7.1 here before it is approved: http://dev.bukkit.org/server-mods/monsterbox/files/6-v0-7-1/
@Tux2
I can't get Ocelot spawners working (as in, they can't be set with eggs!)
I tried the node monsterbox.eggspawn.ocelot and .ozelot but neither worked... (even when i was an OP, ocelot eggs didn't work to change the spawner)
Also, will it ever be possible to have iConomy charge money for changing the spawner with an egg or is it not possible?
Thanks!
@UnitedFactions
The only difference with eggs between 0.6 and 0.7 is not anything any of your regular users will even notice, unless you want to allow them to use their eggs to spawn the mobs themselves and not just set the monster spawners. Even with that you can allow them to spawn specific mobs by just allowing the specific permission.
@lawliet555
It should respect worldguard regions, as my plugin should be called after it. Might want to try it though. Also, I don't use the enchanting thing to attach values to spawners, that is the purpose of the spawn eggs now. I found that it didn't work in the beta build I was working with at the time so I just did the egg thing. As far as going back to the damage data in spawners I will have to seriously think about that and see if bukkit continues to keep it in.
Another question does Monster Box respect World Guard regions. The spawner plugin I was using before did not so it was possible to dupe spawner's by breaking them in protected regions that the player did not have access to.
@Tux2 Hi I used version 0.6, what is exactly different somethign with eggs I heard? I don't really understand the big difference is there anything I have to change / pay attention too / teach my users?
Are you utilising the system of attacking silk touch damage values to the spawner's and if so do you plan to go back to using the data values on spawner's now that Bukkit has re added that feature back?
BUKKIT-329: MobSpawner should retains durability/data values.
Thanks for the update :)
@UnitedFactions
Yes, it has vault support instead of register now. http://dev.bukkit.org/server-mods/monsterbox/files/5-v0-7/ The file hasn't been approved yet but you can get to it from that link.
@Tux2 Is there vault support now, second bukkitdev still shows old links where can I check your updates? :)
@snowy007
That bug is fixed in the latest version of MonsterBox.
@UnitedFactions
Yup, just got done ironing out the bugs so that I could release what I had. There are a few features that didn't make it into this release that I wanted, but I'll release them later. Enjoy your ocelot and IronGolem spawners!
any news on update??
Monsterbox is giving me an error every time on startup ever since i updated every plugin to the new 1.2.3 update. Only monsterbox and the showcase plugin give an error. All the other plugins start up fine.
I did however needed to update to a dev version of craftbukkit because spout wouldn't work with the R-2 beta version of craftbukkit.
Version of CraftBukkit:
1.2.3-R0.3 #2083 (a development build because the latest spout wouldn't work with the beta build.)
Version of java:
jdk1.7.0_02 (64 bit)
OS:
Windows 7 Professional
Other plugins installed:
ancientgates, backup, bluetelepads, breport, commandbook, commandhelper, craftbukkituptodate, dynmap, hawkeye, heroicdeath, lagmeter, lockette, mcdocs, mobdisguise, multiverse, neopaintingswitch, nocheat, openinv, pail, pailplus, permissionsbukkit, portallink, setxp, showcase, simplejail, simpleprefix, spectate, spout, tips, vanishnopacket, worldedit, worldguard, worldinventories, xauth.
Console output:
2012-03-18 22:04:50 [SEVERE] Error occurred while enabling MonsterBox v0.6 (Is it up to date?)
java.lang.NoClassDefFoundError org/bukkit/event/Event$Type
at tux2.MonsterBox.MonsterBox.onEnable(MonsterBox.java:162)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.ClassNotFoundException org.bukkit.event.Event$Type
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more
Config file:
#This is the main MonsterBos config file
#
# useiConomy: Charge to change monster spawner type using your economy system
useEconomy = false
# price: The price to change monster spawner type
price = 0.0
# separateprices: If you want separate prices for all the different types of mobs
# set this to true.
separateprices = false
# changetool is the tool that opens up the spout gui for changing the monster spawner.
changetool = 283
# buttonwidth changes the width of the buttons in the spoutcraft gui, just in case the
# text doesn't fit for you.
buttonwidth = 100
#Do not change anything below this line unless you know what you are doing!
version = 0.4
Last plugin on my server to be updated. Hopefully it won't be long :)
@morshu9001
Yes, it will still spawn zombies. In the video in the description the guy used monsterbox to set the spawners and then load it into a vanilla server.