[INACTIVE][MECH] RedstoneMobSpawn 1.1 - Spawn Creatures with circuits! [617]

Discussion in 'Inactive/Unsupported Plugins' started by VicWhiten, Mar 24, 2011.

  1. Offline

    VicWhiten

    RedstoneMobSpawn
    Version: v1.1
    PERMISSIONS SUPPORT ADDED!
    Download and Source: https://github.com/VicWhiten/RedstoneMobSpawn
    Click the download link on github to download the jar

    This is the first plugin that I've put out in the open and advertised, and the first plugin I wrote that wasn't server specific for something we specifically needed. We wanted a way to control encounters with mobs more than just spawning in the darkness, but didn't want to have to have a moderator online to spawn them, so my idea was redstone. Think a Mob Spawner that you can hide and control. I hope you all like it!

    Features:
    • Allows the use of redstone circuits to spawn creatures and mobs
    • uses signs for spawning, no commands
    • Allows spawn location to be changed, not just on the sign
    • uses Permissions to limit griefing
    Changelog:

    Version 1.1
    • added permissions, either Op, GroupManager or Permissions
    • updated for Minecraft Beta 1.4
    Version 1.0
    • First Release! WOOOO
    Use:

    This plugin allows you to use redstone circuts to spawn creatures on your server. A monster is spawned by powering a sign with redstone in any way. The sign must be powered, must be a free standing sign (not on a wall), and must follow this syntax:

    I'm replacing the text sign stuff with pictures, just not now @ 5AM....
    Sign Syntax:
    ------------------------
    | MOBSPAWN |
    | [name of creature] |
    |<BlockFace> <distance>|
    | |
    ------------------------

    Where name of creature is whatever you want to spawn, BlockFace is a cardinal direction (I.E. north, east, south_west, north_west), and distance is the number of blocks in that direction you want the mob to spawn. If you don't provide a distance, it is assumed to be 1. If you completely omit the 3rd line, the creature will be spawned on the sign.

    EXAMPLES:
    ------------------------
    | MOBSPAWN |
    | zombie |
    | up 2 |
    | |
    ------------------------
    This will spawn a zombie 2 blocks above the sign, useful for putting signs under a block to hide them.

    ------------------------
    | MOBSPAWN |
    | pig |
    | north |
    | |
    ------------------------
    This will spawn a pig one block to the north of the sign


    ------------------------
    | MOBSPAWN |
    | creeper |
    | |
    | |
    ------------------------
    This will spawn a creeper on the sign. Hope you aren't nearby!

    Permissions:
    To use RedstoneMobSpawn, you must either
    1. Be an Op
    2. Have "redstonemobspawn.spawn" in your permissions, using either GroupManager or Permissions
    Help/Contact:

    Either respond here or email me at [email protected], and I'll try to get back to you ASAP!
     
  2. Offline

    uberh4x0r

    Yay, I'm getting the same error.
    Try this link instead: http://somelink check first post.
    This one should work - if not feel free to pm me :)
     
  3. Offline

    brinck9

    hey :) The mobs wont spawn for me, i am op and admin on the server :(
     
  4. Offline

    uberh4x0r

    Did you try to use the version I posted? Do you have any errors on the console?
     
  5. Offline

    phoenixstar

    ya still got the same error :/

    SEVERE] Could not pass event REDSTONE_CHANGE to RedstoneMobSpawn
     
  6. Offline

    VicWhiten

    I recompiled and uploaded to my github, so my link should be correct again. If your still getting the event passing error, please let me know and if you could, provide a list of what mods you use.
     
  7. Offline

    phoenixstar

    ya i still got it :/

    I even went so far as to remove the plugins one at a time until i got to this one to see and got the error every time... :/

    heres my plugins, but like i said i went down just your plugin and it still wouldnt work...

    permissions
    ecoCreature
    HomeX
    iConomy
    iConomyLand
    Lockette
    MinecartMania
    SpawnX
    WorldEdit
    PorteCoulissante
    RetractableBridge
    PlugMan
     
  8. Offline

    VicWhiten

    To those having the REDSTONE_CHANGE event error:

    Can you post here the text of your sign that is causing the error?
     
  9. Offline

    elitestryker

    @VicWhiten

    my sign combos that i have tried are
    |MOBSPAWN|
    |wolf|
    |south|
    ||

    |mobspawn|
    |wolf|
    |south|
    ||
    and
    |MOBSPAWN|
    |south|
    |wolf|
    ||
    just to make sure.
    The error I get is the same as the one posted on the first page.
     
  10. Offline

    VicWhiten

    Can you try it with a mob other than wolf? Maybe that is causing the problem...

    So i was testing to try and figure out whats going on, because I too was having the error (never had it before) I added a few log statements and testing it again, and its working fine. Maybe my compiler is acting strangly, but try it now! I uploaded this version to github.

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

    phoenixstar

    yeah it seems to work now thanks! :D
     
  12. Offline

    Thyraxxx

    I still have the error ... :(

    15:44:48 [SEVERE] Could not pass event REDSTONE_CHANGE to RedstoneMobSpawn
    java.lang.NoSuchMethodError: org.bukkit.World.spawnCreature(Lorg/bukkit/Location;Lorg/bukkit/entity/CreatureType;)Lorg/bukkit/entity/Creature;
    at com.bukkit.vicwhiten.redstonemobspawn.RedstoneMobSpawnBlockListener.spawnCreature(RedstoneMobSpawnBlockListener.java:103)
    at com.bukkit.vicwhiten.redstonemobspawn.RedstoneMobSpawnBlockListener.onBlockRedstoneChange(RedstoneMobSpawnBlockListener.java:77)
    at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.java:333)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:110)
    at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:40)
    at net.minecraft.server.BlockRedstoneWire.e(BlockRedstoneWire.java:196)
    at net.minecraft.server.Chunk.a(Chunk.java:307)
    at net.minecraft.server.World.setTypeId(World.java:235)
    at net.minecraft.server.World.e(World.java:294)
    at net.minecraft.server.ItemRedstone.a(ItemRedstone.java:49)
    at net.minecraft.server.ItemStack.a(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    my plugins are

    antibuild
    borderguard
    colorsheep
    ecocreature
    epicgates
    essentials
    essentials group manager
    guest prev
    Iconomy
    lampstone
    LWC
    mcmmo
    minecartmania
    portable torch
    sheepfeed
    speedsign
    towny
    world edit
    flatearth
    herochat
    flow control
     
  13. Offline

    elitestryker

    Mine is fine now, ty :) Im on build 612 with 17 other plugins running including xWarp, WorldEdit and WorldGuard, Multiverse, and TelePlusPlus

    And one more thing: are Spider Jockeys enabled? It would be awesome if they were/are, and if they are, what is the name to put on the sign?
     
  14. Offline

    VicWhiten

    These are the types that are supported:

    CHICKEN
    COW
    CREEPER
    GHAST
    GIANT
    MONSTER
    PIG
    PIG_ZOMBIE
    SHEEP
    SKELETON
    SLIME
    SPIDER
    SQUID
    ZOMBIE
    WOLF
     
  15. Offline

    Toni

    This sounds like a great plugin, I just wished it worked on my server. I've used redstone up to a sign (not on a wall) and it hasn't worked. I'm just not sure if it's me not formatting the sign right, or it's just permissions (hopefully not as I am an OP, and the permission node was added to my permissions file).

    Here's a pic:
    [​IMG]

    Screen was resized a bit too small, but here's exactly what I did:

    |MOBSPAWN|
    |zombie|
    |west|
    ||


    There isn't any errors in the console either...so I guess it's just not a serious thing.
     
  16. Offline

    elitestryker

    Hahahaah I can see your error from your screenshot (barely).

    The "| |" in the post are not meant to be in the text line itself, they are meant to represent the edges of the sign.
    In other words it should be

    MOBSPAWN (or mobspawn, case doesn't matter)
    zombie
    west
    [blank 4th line]

    No quotes or | are needed around the words, and the [ ] are not needed.
    Hope I helped ^-^
     
  17. Offline

    Toni

    Worked! Thanks a lot man!
     
  18. Offline

    Thyraxxx

    still no anwser for this error ?

    [SEVERE] Could not pass event REDSTONE_CHANGE to RedstoneMobSpawn
    java.lang.NoSuchMethodError: org.bukkit.World.spawnCreature(Lorg/bukkit/Location;Lorg/bukkit/entity/CreatureType;)Lorg/bukkit/entity/Creature;
    I realy cant wait to use this plugin
     
  19. Offline

    sampuig12

    A video would be good to show how to use it dosn't work with me but says enabled
     
  20. Offline

    kahlilnc

    SO I could have this underneathe the ground where no one could see it 2 blocks deep and I type in 2 up on third line?
     
  21. Offline

    Anthail

    Imagine a sign being two blocks under the ground. Like this:

    _
    |_|
    |_|
    [sign]

    Then the sign will need this text:

    The reason is that it will have to spawn on the third block, being the air-block.

    -------------

    I have a question of my own.

    When using this, me and my fellow players have been making rooms with these mobspawn-signs, and it's working alright. The problem however is that the mobs seem to disappear if the players aren't nearby. Let me explain that.. We have lots of sign hidden under the ground with redstone connected, all to the same button. When we press the button and enter the first room, it's all as intended. As we walk further, and reach the last rooms, there are less mobs. So it seems as if they are despawning. Does anyone else have this same problem? Is there a solution to it, or do we have to put individual pressureplates for each room?

    In advantage, thank you.
     
  22. Offline

    kahlilnc

    So the redstone has to have a redstone torch connected or a lever powering it.
     
  23. Offline

    Anthail

    Yes, of course, the sign will need a signal in, either it's from redstone or a lever/button, as shown on the picture. This spawns only 1 zombie, on the sandstone-block above the sign. To spawn one more, you have to disable the signal in, by disabling ALL redstone going in, then giving it another signal in.

    Hope this helps!
     

    Attached Files:

  24. Offline

    nemafow

    Love this plugin btw!

    Is there anyway to determine the size of a slime that is spawned with this?
     
  25. Offline

    beatcomet

    can't spawn zombie pigmen for some reason, it spawns any othe mob though
     
  26. Offline

    Kajiro

    Could you make it so that in permisions, normal players can only spawn X amount of animals per hour, like limit them from spawning like thosands of animals and laggin up the server. and im confused if you need to pull the lever on and off every time you wand a mob or if you leave it on will it spawn every cretin amount of time, <- if so then put a limit on that too?
     
  27. Offline

    proximo021

    zombie WORK :) Whrite pigzombie

    You can upgrade your plugin for a Spider jockey ? Its possible you think ?

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

    Marc23

    Hey, GREAT PLUGIN, Although what would be nice to have is if you could make it so it can spawn with server settings still set to monsters off spawn. That way you can have a small arena without lag. I have monsters turned off, but I think there is some way to overide it as I have seen before in the wolfpound plugin. Please see if you can do this. Great plugin again! Thanks.
     
  29. Offline

    Beans

    does it spawn ghast?
     
  30. Offline

    belfedia

    Working with CB 733 ? someone test it ?


    EDIT:

    Working good on CB 733 (nice plugin), thanks
     
  31. Offline

    spiderbiggen

    Could you edit the plugin in any way so that you can configure the time between the spawning from mobs on the signs so that you don't need to endlessly switch the lever
     

Share This Page