[MECH] bMobs v1.1 - Complete creature control [766]

Discussion in 'Inactive/Unsupported Plugins' started by Brad811, Feb 12, 2011.

  1. Offline

    Brad811

    bMobs (v1.1)
    Download: bMobs.zip
    If you like the work I've done, or would like to see more features and improvements, please consider donating!

    NOTE: This plugin does not cause more mobs to spawn than the default spawn rate.

    Features:
    • configure creature health, probability of spawning, whether they can attack, and whether they burn in sunlight
    • destroy any unwanted mobs every few seconds
    • destroy any unwanted mobs upon targeting the player
    • destroy any unwanted mobs upon spawning
    • kill all of any mob type on command
    • see how many mobs are killed when this command is called
    • configurable via "bMobs.yml" file
    • supports: creeper, skeleton, spider, zombie, ghast, giant, pigzombie, slime, chicken, cow, sheep, pig, squid, wolf
    • multiple world support
    • change properties without restarting server
    Well I enjoyed making bFlight so much, I decided to make another plugin.


    This is another plugin I've wanted for myself for a while and haven't seen a simple solution for.

    Try it out!

    Usage:
    Run the server with the plugin installed. Edit the included bMobs.yml as you see fit.

    Commands:
    • /bkill animals - kills all anmials in your current world
    • /bkill monsters - kills all monsters in your current world
    • /bkill all - kills all anmials and monsters in your current world
    • /bkill [animal or monster type] - kills all living entities of this type
    • /bmobsreload - will reload your properties file and apply any changes, and add any worlds not listed in it (you will need to run this after starting your server if you have multiple worlds)
    Permissions: (not required if Permissions is not installed)

    • bmobs.bkill
    • bmobs.reload
    Example bMobs.yml file:

    Code:
    ##
    # Example bMobs.yml
    ##
    worlds:
        world:
            skeleton:
                enabled: true
                aggressive: true
                health: 2
            zombie:
                enabled: true
                probability: 0.5
                aggressive: false
                burn: false
                health: 10
            spider:
                enabled: true
                probability: 0.2
                burn: true
                health: 10
            creeper:
                enabled: false
            sheep:
                enabled: false
    
    ##
    #   [mob type]:
    #       enabled: [true/false]
    #       probability: [0.0-1.0]
    #       aggressive: [true/false]
    #      burn: [true/false]
    #       health: [0-200]
    ##
    May add more functionality in the future if there is interest!


    Version History:
    1.1
    • Added burn control
    • Added kill count when using /bkill command
    1.0

    • You can now control which mobs can attack, their probability of successfully spawning, and edit their health!
    • Now uses yml file
    0.6

    • Added ability to kill one mob type. Example: /bkill cow
    0.5

    • Added multi-world support!
    • Added ability to change and apply settings without restarting the server
    0.4

    • Added /bkill command
    • Animals can now be controlled as well
    0.3

    • Added spawn listener (may not work on older builds!)
    0.2

    • Now kills all mobs not on the allowed list in all worlds every few seconds, as well as any mobs that target a player that are not on the allowed list.
    • List of monsters now includes: creeper, skeleton, spider, zombie, ghast, giant, pigzombie, slime
     
  2. Offline

    NFFPokemon

    will this make drops laying around everywhere?
     
  3. Offline

    Brad811

    No, this shouldn't leave items all over the ground.
     
  4. Offline

    jaybud4

  5. Offline

    Brad811

    Holy heck, haha

    Right now the plugin just applies the same rules across all worlds on the server. I'll probably add support for rules specific to each world.

    So yes, it will take care of your ghast problem, haha, as long as its fine that it'll remove them on all worlds.
     
  6. Offline

    CoteRL

    This doesn't seem to kill Ghasts or Slimes on my server, which are the same two mobs that world edit's /butcher command don't kill either.
     
  7. Offline

    jaybud4

    Confirmed. Those ghasts are sticking around.
     
  8. Offline

    Nomadikhan

    I'd read elseware that craftbukkit or something doesn't see ghast/slimes as mobs, could that possibly be why?
     
  9. Offline

    Brad811

    Really? I haven't had this problem. I'll look into it some more. What plugins are y'all running?
     
  10. Offline

    jaybud4

    I'm willing to bet I can replicate it with just MultiVerse, Permissions, and this plugin... let me set up my local install...

    EDIT: Yep.
    Start server, go to Nether, ghast bombards me and does not vanish.
    Only running Permissions, MultiVerse, bMobs, CB 325
    Code:
    # List of monsters that will not be removed (start line with # to disable)
    #creeper
    skeleton
    spider
    zombie
    #ghast
    #giant
    pigzombie
    #slime
    
    Unless your comment there is misleading and you actually mean the opposite of what it reads there...
     
  11. Offline

    Vuviboy

    This Plugin disables all my other plugins and turns my server off :/ maybe im not installing it properly.
    please help me
     
  12. Offline

    Brad811

    Ah, found the problem. The way I was grabbing worlds was causing problems.
    I believe the new version fixes this. I hope, haha. I tested it with your configuration and it seemed to work.
    --- merged: Feb 14, 2011 11:41 PM ---
    ...wow. Well, first, how did you install it?
     
  13. Offline

    jaybud4

    Any ETA on this version? My entire server population combined can't fight off that many ghasts :p
     
  14. Offline

    Brad811

    Haha oh it's up now, sorry. Let me know if it still doesn't work!
    --- merged: Feb 15, 2011 12:46 AM ---
    Oh and while testing, my nether world spawn point was under a lava flow. Made things a little more difficult, haha
     
  15. Offline

    CoteRL

    New version works like a charm!
     
  16. Offline

    jaybud4

    fwiw, standard practice is to update the version number when you upload a new version :p
    0.2.1 or so would be good so people know there's a new version after 0.2 without having to read through the thread.
     
  17. Offline

    Vuviboy

    Thanks a lot, minecraft is down at the moment so i can't try out this plugin, but when i do i will tell you :D
    --- merged: Feb 15, 2011 2:02 AM ---
    I'm sorry but the plugin is still not working :( i got this message on terminal when i joined the server.
    i joined it for a sec and it killed me and turned the server off
    Screen shot 2011-02-14 at 8.55.54 PM.png
     
  18. Offline

    jaybud4

    Just got around to testing the new version on my live server, and it works perfectly. The Nether is just so much more livable without 200 ghasts breathing down your neck. Cheers.
     
  19. Offline

    Brad811

    Hm, I could not recreate this error, even after installing all the plugins I saw on your screenshot (Cleaner, ClothColor, General, iChat, Permissions, SpawnControl, TreeHugger, WarnFreeze, Warp, WorldEdit). I thought maybe it wasn't playing nice with another plugin. Have you tried running the plugin again since then?
     
  20. Offline

    Vuviboy

    no i will try it now
    --- merged: Feb 16, 2011 1:46 AM ---
    still doesn't work :(
     
  21. Offline

    Brad811

    Hm, well if anyone else is having this error or has some insight as to why Vuviboy might be having trouble, let me know!
    --- merged: Feb 17, 2011 10:17 PM ---
    Just added a spawn listener!
    ...works for me but let me know how much damage that does haha.
    --- merged: Feb 19, 2011 12:29 AM ---
    Just updated to version 0.5 with multi-world support!
     
  22. Offline

    jaybud4

    After upgrading to 0.5, it is throwing NPEs at bMobsEntityListener.onCreatureSpawn (line 38) every time a creature spawns. CB 339
    Code:
    # List of creatures that will not be removed (start line with # to disable)
    world:Hub
    #creeper
    skeleton
    #spider
    zombie
    #ghast
    #giant
    pigzombie
    slime
    chicken
    cow
    sheep
    pig
    squid
    world:Nether
    #creeper
    skeleton
    #spider
    zombie
    #ghast
    #giant
    pigzombie
    slime
    chicken
    cow
    sheep
    pig
    squid
     
  23. Offline

    forgottenkane

    Would be much more useful if you could make this compatible with WorldGuard and set regions where you don't want any mobs to spawn.
     
  24. Offline

    Brad811

    Does using the command "/bmobsreload" fix this?
    --- merged: Feb 19, 2011 7:38 AM ---
    There, I just updated to version 0.5.1, hopefully that fixes the problem. If not, lemme know.
     
  25. Offline

    TheDaddyPeanut

    I am getting this error:

    CB version: 2011-02-19 09:27:42 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-405-gf77e79e-b323 (MC: 1.2_01)

    (sorry idk how i can see it >.>)


    So please help me, im getting sick of mobs in every world. I've created worlds for my friends but mobs spawn there, the server.properties file does not have effect on it. Also their health won't get refill.
    So i have to find some plugins who fix that, and this one is neccesary for that.
     
  26. Offline

    Brad811

    Hm looking at your error and build number I'm guessing your version of craftbukkit is slightly outdated. Try updating and see if that works for you!
     
  27. Offline

    TheDaddyPeanut

    How to update without losing all stuff??
    Just downloaded 2 weeks ago... and that was the newest version...
     
  28. Offline

    Brad811

    If you go here: http://wiki.bukkit.org/Main_Page in the red box near the bottom you can download the latest .jar file. Just stop your server, replace your current craftbukkit.jar with that one (you'll need to rename it) and restart your server.
     
  29. Offline

    TheDaddyPeanut

    Okay works, thank you!!!!

    Do you know any ways to set ''health-respawn'' on multi worlds?
    (like in peacefull)
     
  30. Offline

    supersmcow

    its not creating the properties files, everything and all the commands work though
     

Share This Page