Static mobs - Stop mobs from despawning

Discussion in 'Archived: Plugin Requests' started by Alesana, May 23, 2011.

  1. Offline

    Alesana

    Hey guys, I'm looking for a plugin that will stop the selected mobs from despawning. I want some zombie and other mobs in a prison. Also, it's perfect to create a farm.

    I would like to be able to capture any mobs and place them into a farm or prison or into my donjon to create puzzle.

    Thanks!

    Bump!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  2. +1
    (sorry for the spam... but it's just that... a +1)
     
  3. Offline

    TheDaddyPeanut

    I also want this. Fullwall did stop and he has a MonsterTamer plugin which allows you to catch monsters and release them, i asked him to make monsters not despawn. Well, he stopped with developing, so maybe someone could pickup his work and continue with despawning in it?????????????
     
  4. Offline

    Alesana

    Last bump!
     
  5. Offline

    fullwall

    MonsterTamer stops mobs from despawning.
     
  6. Offline

    Alesana

    Really? I tried it few days ago and my mobs was despawning. I'll try it again ... :S
     
  7. Offline

    paste120

    My mobs still despawn as well "stop-despawning=true" isn't working, or thats what it says in the config file.
     
  8. Offline

    Alesana

    Same for me ... I'm still looking for a plugin that will stop selected mobs from despawning to place them into my prison, my puzzle dungeons and animals for my farm. =)
     
  9. Offline

    ThreeDGuy I steal plugins as my own

    Hey there you all
    If you want I might do this!
     
  10. Offline

    Alesana

    Can you do it please? :)
     
  11. Offline

    Zarius

    Would love to see a plugin for this :)
     
  12. Offline

    MineDev

    I already have something in the works for this, also you name the mobs and their name will be displayed over their heads.
     
    Alesana likes this.
  13. Offline

    Alesana

    Can't wait to see this!! Thank you!! :D
     
  14. Offline

    MineDev

    Your welcome, expect it tomorrow night!
     
  15. Offline

    ಠ_ಠ

    Hit me up with this amazing plugin when you're done? :D

    Thanks,
    Look of Disapproval.
     
  16. Offline

    TheDaddyPeanut

    Can you also reply to my post or something when the plugin is done? So I have a alert and then I can download & test it!
     
  17. Offline

    Denney

    So did anything happen with this? Curious if any plugins have been made.
     
  18. Offline

    CherryJimbo

    Like above. Did anything happen with this? Mob de-spawning is _exactly_ what I'm looking for.
     
  19. Offline

    alta189

    One of my other plugins took longer than expected to finish. I will post on this thread when I am finished
     
    CherryJimbo likes this.
  20. Offline

    CherryJimbo

    Awesome to hear. I look forward to it. :)
     
  21. Offline

    Denney

    Sweet. No problems. Just thought it may have been forgotten.
     
  22. Offline

    WinSock

    Problem with keeping mobs from despawning is it messes up the balance of mobs around multiple players. Keeping a whole mob type from despawning would kill the spawning rates of the other types as those despawn and the type that can't spawns. Suggestion is to only make certain entities to be able to not despawn. Like right click them with a "cage"(monster spawner) to make them not despawn ever.

    P.S. @fullwall the chunk unload isn't the only way minecraft despawns entites. There is a magic float believed to be 128 in the code that is the despawn distance.
     
  23. Offline

    Denney

    Even hitting them with a stick or food (or some configurable item) would be useful. We want to set-up some farms on our server but need to stop the animals from despawning. Right-clicking them would actually be perfect for us.
     
  24. Offline

    WinSock

    I'm trying to find this hard coded number in minecraft to see if i can change it with a plugin. If i find that it will take literally two minutes to make if i make it depend on my CrowdControl plugin.
     
  25. Offline

    CherryJimbo

    That's pretty much what we want. The ability to make certain entities not despawn by some how selecting them.
     
  26. Offline

    WinSock

  27. Offline

    Denney

    God I hate trying to work out Minecraft code. Lol. I'll take a look though and let you know if I find anything.
     
  28. Offline

    FrozenBrain

  29. Offline

    fullwall

  30. Offline

    WinSock

    No it won't, look at die() in Entity.java, it only calls projectile hit events no death events. Looks like i might have to pull request...
     

Share This Page