[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

    Dangirdas

    Can you please do so that we can choose that wolves die?
    Because people got rage on me when they lost them D:
     
  3. Offline

    Snookieboy

    Is this plugin still being developed? :( Error in 670 never fixed, and now broken in 677

    Please consider updating :(
     
  4. Offline

    xzKinGzxBuRnzx

    Could you please update to the latest build? 677. We receive these errors upon each startup and for the new build 677, the server just stops.

    I've attached the server log.
     

    Attached Files:

  5. Offline

    Trikor

    I see this has been updated from 0.5.7 to 0.5.8 What was changed? Does this remove wolves and can I make it not remove wolves?
     
  6. Offline

    Brad811

    I just tried it out on my own machine with craftbukkit 677, and I was able to spawn and tame wolves.

    Changes:
    - shouldn't spam console when starting up
    - added support for wolves
     
  7. Offline

    HadrienM

    Is it possible to make them "unspawnable" by the map/server (naturally) BUT to make them "spawnable" by command ?

    ex : on the server there is no mobs (removed every mob in config file), but i can spawn them with /spawnmob spider 1 or /spawnmob pig 1

    Thanks :)

    Edit : Anyone ? :p
     
  8. Offline

    Netto Hikari

    I disabled slimes and squids for one of my worlds and this plugin doesn't seem to prevent the mobs from spawning. It seems like it kills the mobs right after they spawn. My players now get killed by invisible slimes... -.-
     
  9. Offline

    xzKinGzxBuRnzx

    Newest bukkit build 684.

    when doing /bkill i get this. However /bkill mobs and /bkill animals does work.

    11:00:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bkill' in plugin bMobs v0.5.8
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:600)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:594)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    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)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at com.bradsproject.BradleyJewell.bMobs.bMobs.onCommand(bMobs.java:317)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    >
     
  10. Offline

    zarb

  11. Offline

    Lanuk

    This is probably the most stupid question ever, but how exactly do I disable mobs from spawning? I read the thing in the properties file but am still not sure how to do it. Do I just place a "#" in front of "wolf" to disable it?

    Also, does the plugin even support wolves? I know it says it there, but in this thread under the "What it supports:" section, it does not mention wolves.
     
  12. Offline

    Brad811

    Yup, that's exactly how it works! Yeah it supports wolves, I should update that... Haha
    Thanks for pointing that out!
     
  13. Offline

    Camilop15

    i have an issue: all people on server can use the /bkill comands i have permissions 2.7 and the default group have no acces to:
    • bmobs.bkill
    • bmobs.reload
    any way to fix this?
     
  14. Offline

    Ch3st3r

    Works on 733 !
     
  15. Offline

    unusualbob

    Don't think its a big deal as the plugin works, but you've got the:
    Code:
    Could not pass even ENTITY_TARGET to bMobs
    null pointer exception again.
     
  16. Offline

    kyrrill

    we have that issue too, i tried to add "-bmobs.kill" but people can still use commands...
     
  17. Offline

    Brad811

    What permissions systems are people using these days?
     
  18. Offline

    kyrrill

    We are using Essentials GroupManager
     
  19. Offline

    Plague

    no CB number = CB #1
    inactive
     
  20. download not working :/
     
  21. Offline

    denace

    @Brad811 Deactivating slimes doesn't work correctly. My players get killed by invisible (and immortal) slimes.
     
  22. Offline

    Brad811

    How would I recreate this problem? How were these slimes spawned?
     
  23. Offline

    denace

    I had deactivated slimes in the properties-file. Ingame i red that a player was killed by a slime (HeroicDeath). So i moved to this place and was attacked by them. They aren't moving and making no sounds.

    Edit: There are no errors in the console, everything else seems to work fine. I deactivated the Ghasts too, without any problems.
     
  24. Offline

    mjhasbach

    No more ghasts in my Nether. Works great. Thanks.
     
  25. Offline

    EpicATrain

    Any chance you can have the server kill a specific type of mob? For example, sometimes we get over run with chickens. I would love to be able to do: /bkill chicken and have them all die at once.
     
  26. Offline

    Brad811

    That's an interesting idea! Maybe I'll try that out.
     
  27. Offline

    EpicATrain

    Ah Thank You! That's what I thought this plugin did. lol
     
  28. Offline

    Brad811

    There ya go, added. Now version 0.6.
     
  29. Offline

    EpicATrain

    Can you add the ability of a radius? For example, if I have a ton of animals in one area, I would like to get in the middle and type something like /bkill animals 15

    15 being a radius of 15 blocks.
     
  30. Offline

    Brad811

    Major update!
    1. Now uses yml file
    2. You can control whether a monster is able to attack you or not
    3. You can control the probability of a monster successfully spawning
    4. You can control monster and animal health
    Try it out!
     
  31. Offline

    Sparky20

    Could you add an option for whether the mob burns in sunlight?
     

Share This Page