[Spawner] MetaSpawner

Discussion in 'Archived: Plugin Requests' started by sayhisam1, Aug 21, 2012.

  1. Offline

    sayhisam1

    Plugin category: Fun, rpg, ingame events

    Suggested name: MetaSpawner

    What I want:
    I was wondering if someone could perhaps make a plugin which utilizes the ability to change the meta data of mobs, so that it would be possible to choose where the mob spawns, and with what velocity, etc. This would be incredibly useful in servers so that people dont have to use mcedit filters or something of the sort to change the meta data of the spawner, and instead can do it ingame. Also, possible Gui support using spout would be nice, or a simple system to define where and with what the mobs spawn. (ie: A sign based system where you place the sign where you want mob to spawn and with velocity and such, and then link it to a spawner)

    Ideas for commands:
    /metaspawn help
    /metaspawn set <mob>
    /metaspawn link (Click on spawner and then the sign)

    Ideas for permissions:
    metaspawner.use -- Lets you use MetaSpawner
    metaspawner.set -- Lets you change the mob type
    metaspawner.link -- lets you link a spawner to a sign with meta info

    When I'd like it by: Whenever you can make it by. I am in no rush to get this plugin.

    Formatted :)

    Bump

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

    sayhisam1

    Bump Once Again
     
  3. Offline

    sayhisam1

    Bumpity Bump

    Bumping My Thread Once Again.

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

    bobacadodl

    Great Idea. I'll look into this to see if its possible :D I haven't heard of doing this sort of stuff with mcedit
     
  5. Offline

    sayhisam1

    Ok, thanks. :)
    Here is a nice video by sethbling about this:

    This video was made when 1.3 was a snapshot.
    For an example of a map using it, check out sethbling's TnT olympics, he uses it in a few of his events.
     
  6. Offline

    bobacadodl

    Argh. Can't figure this out :( Anyone else?
     
  7. Offline

    sayhisam1

    Thanks for trying :)
     
  8. Offline

    RingOfStorms

    Would take some work arounds, each spawner would have to hold the settings of what it spawns. When a spawner spawns, you would get that EntityType, then cancel the spawn. You would then go on and use the settings in the spawner to spawn in that EntityType with those settings. So you could say, hasVelocity: 10y, or maybe xOffeset: +20:

    These settings is where and how you would spawn in an entity.
     
  9. Offline

    bobacadodl

    True :p I really want to know how to do this the ACTUAL way though.

    codename_B You're online, maybe you can help?

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

    codename_B

    CreatureSpawnEvent SpawnReason.WHATEVER and get nearest spawner of the right type?
     
  11. Offline

    bobacadodl

  12. Offline

    RingOfStorms

    There is no way with the Bukkit API implementation for CreatureSpawners. If you search "Bukkit CreatureSpawner" in google and look at the docs there are no functions for that, that I can see.
     
  13. Offline

    codename_B

    import org.bukkit.block.CreatureSpawner;

    CreatureSpawner spawner = (CreatureSpawner) block.getState();
     
  14. Offline

    RingOfStorms

    But can you edit all of the meta data like the location, velocity, and such?
     
  15. Offline

    codename_B

    That's only applied AFTER spawning, dear boy.
     
  16. Offline

    RingOfStorms

    So the answer is no, which means the alternative of storing the settings is the best way...
     
  17. Offline

    sayhisam1

    WOW, a lot happened while I was offline lol
     
  18. Offline

    sayhisam1

    How is plugin development going?
     
  19. Offline

    sayhisam1

  20. Offline

    WarmakerT

    Hello!
     
  21. Offline

    breezeyboy

    Hello?

    Now lets not go offtopic :p
     
  22. Offline

    sayhisam1

    Bump.
    Is the development dead?
     
  23. Why you say?
    He can just be inactive and dealing with IRL things.
     

Share This Page