Inactive [EDIT] MonsterBox v0.6 - Change any Placed Monster Spawner's Type [1.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Tux2, Jun 5, 2011.

  1. Offline

    Tux2

    MonsterBox - Change any Placed Monster Spawner's Type:
    Version: v0.6


    You can now set spawners by right clicking them with eggs! Also, mob spawners can drop their corresponding egg for later setting!

    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 Register
    [​IMG]
    [​IMG]
    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 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
    1. Look at monster spawner. (Through glass is just fine)
    2. Type in /mbox set <creaturetype>
    Command-less Method
    1. Hit monster spawner with a gold sword
    2. Select the new mob that you want it to spawn
    Command-less Method (using eggs)

    1. Hit monster spawner with a gold sword
    2. Select the new mob that you want it to spawn
    To get which monster a spawner spawns:

    Command Method
    1. Look at monster spawner. (Through glass is just fine)
    2. Type in /mbox get
    Command-less Method

    1. Hit monster spawner with a gold sword
    2. The current mob is at the top of the selection window.
    Features:
    • Right click a spawner with an egg to change the type commandlessly
    • Spawners can drop an egg corresponding to the type of spawner you broke
    • Spout enabled GUI. Just hit the monster spawner with a gold sword! (configurable)
    • Completely command-less mode of operation with the new Spout gui!
    • 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 CreatureBox (versions 0.7.7c and below) (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 (Permissions support. If permissions is not installed it defaults to OPs only)
    • Dropped monster spawners retain their mob type.
    • Scroll over a monster spawner in your quickbar to quickly figure out it's type.
    • 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)
    • iConomy ALL ECONOMY systems supported via the Register plugin
    Permission Nodes:
    • monsterbox.set - the ability to set the type of monster spawner
    • monsterbox.eggset - the ability to set the type of mob spawner using eggs
    • 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.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 need the node monsterbox.set permission as well in order to set the spawner)
    • monsterbox.spawn.[monstertype] - The ability for the player to change a monster spawner to [monstertype]. (The player will need the node monsterbox.set permission as well in order to set the spawner)
    • monsterbox.eggspawn.* - The ability for the player to change a monster spawner to any monster type using eggs. (The player will need the node monsterbox.eggset permission as well in order to set the spawner)
    • monsterbox.eggspawn.[monstertype] - The ability for the player to change a monster spawner to [monstertype] using an egg. (The player will need the node monsterbox.eggset permission as well in order to set the spawner)
    • 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.
    Download MonsterBox v0.6
    Download MonsterBox v0.5
    Download MonsterBox v0.4
    Download MonsterBox v0.3 (bukkit versions 1060 and below)
    Source Code

    ToDo:
    • Right click a monster spawner to get what type of mob it spawns (commandless).
    • Noteblock like monster 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)
    Plugin Not working correctly?
    For me to diagnose the issue properly please provide me with the following information:
    Code:
    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.6
    • Added ability for mob spawners to drop an egg for the corresponding type of mob that they are. (Replaces old mob_spawner types method)
    • Added ability for mob spawners to be set by right clicking with an egg. One time use in survival, unlimited use in creative mode. (also to replace the old way for trading set mob spawners.)
    • Removed the message "You are now holding a pig spawner" whenever you flip over a mob spawner in your inventory
    • Updated event handling.
    Version 0.5
    • Added new mobs
    • Made it so that I don't have to do as much updating every time new mobs are added to Minecraft. Should auto sense the new mobs and allow you to change the mob spawner to them without me having to release a new version.
    • Mob Spawners with mobs not added will drop a pig spawner instead of erroring out now.
    • Tweaked Spout GUI slightly.
    Version 0.4
    • Added an option where you can set each mob to have a different price via the prices.ini file.
    • Changed all internal damage IDs to reflect default bukkit still keeping backward compatibility with spawners still in inventory.
    • Added a new OPTIONAL Spout GUI. (I spent several hours tracking down and resolving any and all bugs that presented themselves when running it without Spout, and I can guarantee that it WILL run without it.)
    • New COMMANDLESS options via SPOUT: Hit the monster spawner with a gold sword (configurable) to open up the gui.
    • Added alternate way to open the GUI via command: /mbox set.
    • When the client and/or server does not have spout installed /mbox set now shows a list of all the possible mob types.
    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
     
    ACStache and BlackDeath like this.
  2. Offline

    FOOD

    is it possible to make them spawn giants? that would be sweet i want to make a giant party room :p
     
  3. Offline

    dilo

    for some reason when i right click on it and run it with jdk java run time it will not open what is happening
     
  4. Offline

    Kazaam

    Great plugin, thanks !

    But is there a way to choose the mob type without the rules spawning and without command?

    For exemple, it would be cool to choose the mob type by changing the block type under the spawner. Sand will spawn spider, cobble skeleton, wood Zombie etc... With a permission for each mob type too to prevent the Ghast spawning in world :)
     
  5. Offline

    Tux2

    At the moment, no, I've tried, but there are no rules in minecraft for giant spawners. Since so many people are asking for managed spawners though I guess I'll do them though. Look for it in an update. ;)

    This file isn't supposed to be run directly by the JDK java run time. It is a plugin that is supposed to be put in your plugins folder and run by a bukkit server.

    Hmm... noteblock like spawner? Cool idea! Although to reduce overhead it will probably only check the type of block underneath it only when placed. Permission nodes for different types of monsters? ;) Look for that in the next version.
     
  6. Offline

    Kazaam

    Hum if I understood (I'm French ^^), for technical reason the block type under the MobSpawner is checked only when the player places the MobSpawner, isn't it?
    So maybe you can make a check when a Block is broken, if a MobSpawner was placed on this block, the spawner will be dropped too. In this way you force the player to replace the MobSpawner and remake the block type check :)
    I hope you'll understand :p
     
  7. Offline

    Tux2

    Well, this is still all just an idea. I might change my mind on how it will work when I actually do it. I will definitely consider your ideas though and explain exactly how it works once it is finished.
     
  8. Offline

    Kazaam

    Great news, thanks for answering ! :)
     
  9. Offline

    dilo

    ok that is for a server how can i do it for one of my personal games
     
  10. Offline

    Tux2

  11. Offline

    Joy

    Request:

    Is it possible to someone make their spawnrate configurable? That would be great.
     
  12. Offline

    Tux2

    Not yet, but I just added it to the todo list. :) (seems enough people are asking for it)
     
  13. Offline

    Colby l

    I've been waiting for a long time for someone to create this and it finally comes out.
    Thank you this is a great plugin
     
  14. Offline

    GROMkill

    This isn't working for me. It only spawns the client-side pigs, even after I set it to spawn Zombies.
     
  15. Offline

    Tux2

    Did you get any errors in the console?
    Is the area away from the sun?
    what version is craftbukkit?
    Operating system?
    Java version?
    Other plugins installed:

    Please fill out the above information as completely as you can and I will see about getting it fixed.
     
  16. Offline

    ACStache

    I've noticed this as well, but then again the conditions were wrong for zombies to spawn. pigs spawns are a bug of MC unfortunately :(

    Although, when I made it night time, zombies starting coming for my brains! /runaway!
     
  17. Offline

    Happyghast

    One of the more useful plugins I have, I don't like to spawn items so I used this to make a mobtrap, so I don't lose my items while getting some stuff from hostiles.
    Nice work! [diamond]
     
  18. Offline

    Dillon Austin

    I cant get it to spawn "monsters" aka steves
    plz help
     
  19. Offline

    Tux2


     
  20. Offline

    Tux2

    @Liquid_Ice Version 0.2 can now drop spawners! Sorry for the delay, but I've been working on a few other plugins as well. I've also added a slew of other features to go along with the dropped monster spawners. Enjoy!
     
  21. Offline

    Minecrafter9001

    The spawner always looks like a pig spawner, even though mine spawns creepers.
    If you need this: CB Version: 953 (?) (Server IS for MC 1.7.2) OS: Windows Vista

    EDIT: I tried stopping/resetting my server, it still looks like a pig spawner.

    Friendly Creeper spawner :)

    It works even though it looks like a pig spawner

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  22. Offline

    theblacktroll

    When i try to get the spawner or place it, it says i dont have permission to use this command. So where is the folder to give myself permission?
     
  23. Offline

    Tux2

    Correct, that is a known multiplayer bug as naturally occuring monster spawners in dungeons also have a spinning pig in them. That's why I also added the command to get the type of a monster spawner, as well as letting you know what type of spawner you placed or broke.

    If you have the permissions plugin installed give yourself the correct permissions nodes. If you don't have permissions installed you need to be an op.
     
  24. Offline

    Shouou

    Can only get Ghast, PigZombie, Skeleton, Creeper, Zombie, & Squid to spawn.

    Chicken, Sheep, Wolf, Pig, Cow will not.

    My Spawners are in 5x5 flat area underground stone floor and 3 blocks to ceiling. (oh and in the dark).


    Ah I have worked it out, they need to be in sunlight to spawn.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    theblacktroll

    I checked and I am a op ( I also don't have permissions just group manager ) but know its saying there is an internal error
     
  26. Offline

    Tux2

    Hmm, sounds like it might be something with your configuration, if you could provide me with the following information I'll see what I can do to get it fixed for you.

    Code:
    Version of Craftbukkit:
    Version of java:
    OS:
    Other plugins installed:
    Output of console (If there are any error messages):
    MonsterBox configuration file:
    
     
  27. Offline

    MafyaKingpin

    Hmm, I'll check my server log for issues, but I had this plugin working, spawning PigZombies all over the place but then after a few reloads I went away and came back (all the PigZombies had unloaded when I wasn't around) and they wouldn't spawn anything anymore. :(
     
  28. Offline

    Tux2

    I would check one thing as well: Make sure that the lighting around the spawner is the correct lighting to spawn PigZombies, as that is the most common case for it not spawning a monster.
     
  29. Offline

    MafyaKingpin

    Well Pig Zombies were spawning before with the same lighting, also I checked the Minecraft Wiki and it said for Pig Zombies to spawn any light level will work. Aso, it isn't working for any mob type. Tried wolves, zombies, skeletons, etc. ... Nothing :/

    ***EDIT*** Looks like it might be a problem from something else cause no mobs or animals are spawning ANYWHERE. :S The confusing part is I hadn't changed any of the settings between when they were spawning and when they disappeared.
     
  30. Offline

    Faewild

    I know this will seem like a stupid question but... I've never had to install a mod like this before? And I'm not really sure what to do. Like... What's the .yml file and where do I put it?...
     
  31. Offline

    Tux2

    This plugin does not use a yml file. All you have to do is put it in your plugins folder on your bukkit server and it is available to OPs unless the permissions plugin is installed. Please note that this is not a client mod. If you have any other questions feel free to PM me.
     

Share This Page