[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

    Reslip

    This plugin has woked well on my server but i have updated bukkit to [602].
    Can you plz update the plugin. :)
     
  3. Offline

    ioScream

    yeah, for sure.. time to update :)
     
  4. Offline

    Manji

    since b617 solved some plugin usage bugs, could you update to 617 instead of 602?
     
  5. Offline

    Strongit

    Confirmed, this plugin doesn't work with version 617. Errors spam the console and mobs still show up.
     
  6. Offline

    MadManMarkAu

    I agree with the sentiments expressed in this thread lately. Is there any possibility you could update this plugin to b617jnks? Or perhaps, release the source code?

    EDIT: Nevermind, I wrote my own with the same functionality. I needed it quickly.
     
  7. Offline

    Håkon bergset

    can you update it to craftbukkit 612 because it is the last recomended build
     
  8. Offline

    brinck9

    Yes please can you update it i realy need it :) Doese anyone know another mod that is like this because i dont want zombies but i dont want health reg either :)
     
  9. Offline

    MadManMarkAu

    Brinck, I quickly threw together something until bMobs comes back. Supports b617jnks.

    https://github.com/downloads/MadManMarkAu/MobNerf/MobNerf.jar

    Just put in plugins directory, restart server to create config file, then edit "MobNerf/config.yml" :)

    I'll delete this post once bMobs is back up and running.
     
    o0AzzA0o and Strongit like this.
  10. Offline

    mrgreaper

    thank you !
     
  11. Offline

    brinck9

    Thanks alot man :)
     
  12. Offline

    o0AzzA0o

    Your ........ great

    cant you make a fulltime plugin like this.... something this simple is missing.
     
  13. Offline

    MadManMarkAu

    I'd prefer Brad811 to continue with the development of bMobs because I think it's better than my plugin. This is mostly to just tide people over until bMobs is updated. Can't have creepers blowing up all over the place when you're trying to draw Mario characters will wool blocks, heh.
     
  14. Offline

    ettore85a

    MAdManMarkAu... Your plugin MobNerf not work good...

    I'm walking near bedrock and anyone hit me... i'm dead! I have the plugin HeroicDeath:

    ettore85a has been killed from an angry Slime

    Slime?? i have disabled the slime... :confused:...

    Slime are present but are invisible....
     
  15. Wait.. so slimes are still inworld?
     
  16. Offline

    Brad811

    There's a quick fix, that should at least fix the WORLD_LOADED problem
     
  17. Offline

    imaxorz

    2011-04-06 14:59:31 [SEVERE] Could not pass event CREATURE_SPAWN to bMobs
    java.lang.NullPointerException

    I'm getting the error above when in the nether.
     
  18. Offline

    Brad811

    Does it give a line number for the error?
     
  19. Offline

    imaxorz

    2011-04-06 14:56:59 [INFO] imaxorz used a portal and generated an exit portal.
    2011-04-06 14:56:59 [SEVERE] Could not pass event CREATURE_SPAWN to bMobs
    java.lang.NullPointerException
    at com.bradsproject.BradleyJewell.bMobs.bMobsEntityListener.onCreatureSpawn(bMobsEntityListener.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:435)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
    at net.minecraft.server.World.a(World.java:1582)
    at net.minecraft.server.Chunk.d(Chunk.java:470)
    at net.minecraft.server.ChunkProviderServer.c(ChunkProviderServer.java:75)
    at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
    at net.minecraft.server.PlayerManager.a(PlayerManager.java:76)
    at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:180)
    at com.earth2me.essentials.User.teleportToNow(User.java:592)
    at com.earth2me.essentials.EssentialsPlayerListener.onPlayerMove(EssentialsPlayerListener.java:115)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:205)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    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)

    Is that more helpful? As you see it happens as soon as I got into nether.
     
  20. Offline

    DiscipleGeek

    Does the latest version of bMobs allow wolves to spawn? I recreated the bMobs.properties file and it doesn't list it in there... Want to make sure that I'm not searching for wolves in vain.
     
  21. Offline

    Swoosh Bear

    Hey, I'm having a little trouble with my bMobs. It's nothing major but a little annoying. When I start up my server I get this:
    Code:
    bMobs got world:world
    bMobs could not process one of your worlds properly! Check that your properties file is properly formatted.
    bMobs version 0.5.7 is enabled!
    In my properties file, I have two worlds configured, world, which is the one that loaded correctly, and netherworld, which is the one that didn't load properly. when I go to the netherworld, I don't see ghasts, which is good, but when I walk near the pigmen, they disapear.

    Here is my properties file. I'm not sure what I did wrong in it.
    Code:
    # List of creatures that will not be removed (start line with # to disable)
    world:world
    creeper
    skeleton
    spider
    zombie
    #ghast
    giant
    pigzombie
    #slime
    chicken
    cow
    sheep
    pig
    squid
    world:netherworld
    #creeper
    #skeleton
    #spider
    #zombie
    #ghast
    #giant
    pigzombie
    #slime
    #chicken
    #cow
    #sheep
    #pig
    #squid
    
    
    Running CB 617 and bMobs 0.5.7
    Any help?
     
  22. Offline

    mudzereli

    can anyone tell me if this works for wolves?
     
  23. Offline

    Swoosh Bear

    I don't think it does yet. There is no option in the properties for wolves.
     
  24. Offline

    jessenic

    2011-04-09 14:57:54 [INFO] bMobs processing world: Nether
    2011-04-09 14:57:54 [INFO] bMobs could not access a world yet! It may still be loading.
    2011-04-09 14:57:54 [SEVERE] Nag author: 'Brad811' of 'bMobs' about the following: onWorldLoad has been replaced with a new signature, (WorldLoadEvent)
     
  25. Offline

    Netto Hikari

    Just add "wolf" to your config file and it will work.
     
  26. Offline

    denace

    Im running CB 617 and bMobs 0.5.7 and invisible slimes kill me. I know that because of HeroicDeath.
    When i disable bMobs i can see the slimes.
     
  27. Offline

    Snookieboy

    Bukkit 670 with BMobs:

    07:07:08 [SEVERE] Could not pass event CREATURE_SPAWN to bMobs
    java.lang.NullPointerException
    at com.bradsproject.BradleyJewell.bMobs.bMobsEntityListener.onCreatureSpawn(bMobsEntityListener.java:37)
    at org.bukkit.plugin.java.JavaPluginLoader$48.execute(JavaPluginLoader.java:494)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)


    Still seems to work, but errors like that flood the console on first load :(
     
  28. Offline

    xorvious

    If we do get something working that can kill/control mobs, is there a way to run the command not being logged in? I would like to be able to run a script that regularly kills all mobs of a type in a particular world, something like "bkill mobname targetworld". This way I would be able to keep the ghasts from getting as out of control as they are now. Thanks
     
  29. Offline

    Brad811

  30. Thank you so much for this wonderful plugin. My server was hosting a big party for my best friend and we were all doing activities with our wolves. When I was making the house in which you would tame your wolves I summoned 500 wolves instead of 50. The server had such terrible lag I couldn't get many of my plugins to works. After a bit of searching I found this plugin and then all my problems were solved. [cake]
     
  31. Offline

    Brad811

    I'm glad it helped! Thank you for sharing!
     

Share This Page