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

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

  1. Offline


    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.

    • 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!

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

    • /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:

    # Example bMobs.yml
                enabled: true
                aggressive: true
                health: 2
                enabled: true
                probability: 0.5
                aggressive: false
                burn: false
                health: 10
                enabled: true
                probability: 0.2
                burn: true
                health: 10
                enabled: false
                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:
    • Added burn control
    • Added kill count when using /bkill command

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

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

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

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

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

    • 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


    i need it, too :(
  3. Offline


    the website you uploaded it is a bit fail i can't find the download
  4. Offline


    Your domain expired Brad, download is unavailable. Got any mirrors up?
  5. Offline


    need this version. pls update download link
  6. Offline


    If it's open source there's tons of free hosting sites like github, google code, sourceforge, etc
  7. Offline


    Manji and Flamingsword like this.
  8. Offline


    but my problem is, it doesn't work on 556 :-(
  9. Offline


    Thanks a lot jessenic, works perfectly for me on #556.
  10. Offline


    Hey guys, try out the link, it should be back up.
  11. Offline


    I still can't get this to work on squids. They spawn like crazy on my water filled map, causing lag of 30+ seconds that gets worse and worse :'(
  12. Offline


    This is a problem with craftbukkit not the plugin. There is no squid entity to stop it from spawning. Should be fixed in craftbukkit soon.
  13. Hi @Brad811, an error occurs on my bukkit console if you go above build #560 - is this something you could assist with please ??

    >22:29:00 [SEVERE] WORLD_LOADED loading bMobs v0.5.6 (Is it up to date?)
    java.lang.NoSuchFieldError: WORLD_LOADED
    at com.bradsproject.BradleyJewell.bMobs.bMobs.onEnable(bMobs.java:46)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
  14. Offline


    I think you're right...I downloaded a newer (non-recommended) bukkit, and it appears the problem is fixed!
  15. Offline


    What version? I tried the newest one and I keep getting this error:
  16. Offline


    Thank you!

    Really needed this to get rid of the invincible slime infestation in our underground tunnels! >.<
  17. Offline


    Works flawlessly, but you have to specify EVERY worlds you own and remove squid everywhere. Doing so, no errors.
  18. Offline


    Brad, can you please post links to previous version of the plugin? Because i'm still on 493 and need bmobs to work :)
  19. Offline



    I have encountered a "small" problem : like ManBearWaffle, I've got some spam from the plugin bmobs v0.5.6

    Here comes a sample of what I get:
    2011-03-25 17:13:34 [SEVERE] Could not pass event CREATURE_SPAWN to bMobs
    java.lang.NoSuchMethodError: org.bukkit.event.entity.CreatureSpawnEvent.getCreatureType()Lorg/bukkit/entity/CreatureType;
        at com.bradsproject.BradleyJewell.bMobs.bMobsEntityListener.onCreatureSpawn(bMobsEntityListener.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:349)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.World.a(World.java:750)
        at net.minecraft.server.EntitySlime.C(SourceFile:100)
        at net.minecraft.server.EntityLiving.H(EntityLiving.java:194)
        at net.minecraft.server.Entity.f_(Entity.java:165)
        at net.minecraft.server.EntityLiving.f_(EntityLiving.java:230)
        at net.minecraft.server.EntitySlime.f_(SourceFile:48)
        at net.minecraft.server.World.a(World.java:1011)
        at net.minecraft.server.WorldServer.a(WorldServer.java:53)
        at net.minecraft.server.World.f(World.java:993)
        at net.minecraft.server.World.d(World.java:970)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:354)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    and even if the plugin completes its mission, it "floods" the server log (40 MB of server log is quickly reached).

    My server configuration (from the beginning of the log):
     minecraft server version Beta 1.3 on 25565, offline mode
    Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
    1 world : "Olivier"
    [Permissions] version [2.5.4] (Phoenix) was Initialized.
    [LimitSpawnsLite] version 1.01 by lonelydime is enabled!
    BorderGuard Lite (Square) version 2.2 is enabled!
     MyHome 1.9.3 enabled
    DropBonus v2.3  has been enabled.
    Tombstone v.1.08 is enabled.
    HigherExplosives 1.4 primed and ready
    [HeroicDeath] enabled.
    creaturebox version 0.5 is enabled!
    bMobs version 0.5.6 is enabled!
    The bMobs.properties content:
    # List of creatures that will not be removed (start line with # to disable)
    Thanks in advance.

    Well, please accept my excuses... I "just" had a file problem : even if I pasted the craftbukkit v556, it kept the v493 one...

    Here comes the new sample :
    2011-03-25 17:44:27 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    2011-03-25 17:44:27 [INFO] Preparing level "Olivier"
    2011-03-25 17:44:27 [INFO] Preparing start region
    2011-03-25 17:44:28 [INFO] [Permissions] version [2.5.4] (Phoenix) was Initialized.
    2011-03-25 17:44:28 [INFO] [LimitSpawnsLite] version 1.01 by lonelydime is enabled!
    2011-03-25 17:44:28 [INFO] BorderGuard Lite (Square) version 2.2 is enabled!
    2011-03-25 17:44:29 [INFO] [MYHOME]: 2 homes loaded
    2011-03-25 17:44:29 [INFO] [MYHOME] Permissions enabled using: Permissions v2.5.4
    2011-03-25 17:44:29 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    2011-03-25 17:44:29 [INFO] [MYHOME] MyHome 1.9.3 enabled
    2011-03-25 17:44:29 [INFO] DropBonus v2.3  has been enabled.
    2011-03-25 17:44:29 [INFO] Tombstone v.1.08 is enabled.
    2011-03-25 17:44:29 [INFO] [Permissions] version [2.5.4] (Phoenix)  loaded
    2011-03-25 17:44:29 [INFO] [Tombstone] Using Permissions 2.5 (2.5.4) for permissions
    2011-03-25 17:44:29 [INFO] HigherExplosives 1.4 primed and ready
    2011-03-25 17:44:29 [INFO] [HeroicDeath] enabled.
    2011-03-25 17:44:29 [INFO] creaturebox version 0.5 activated permissions.
    2011-03-25 17:44:29 [INFO] creaturebox version 0.5 is enabled!
    2011-03-25 17:44:29 [INFO] bMobs version 0.5.6 is enabled!
    2011-03-25 17:44:29 [INFO] Done (0,255s)! For help, type "help" or "?"
    2011-03-25 17:44:41 [INFO] 143 recipes
    2011-03-25 17:44:41 [INFO] Lars [/] logged in with entity id 162
    2011-03-25 17:45:16 [SEVERE] Could not pass event CREATURE_SPAWN to creaturebox
    java.lang.NoSuchMethodError: org.bukkit.event.entity.CreatureSpawnEvent.getMobType()Lorg/bukkit/entity/MobType;
        at lodran.creaturebox.creatureboxEntityListener.onCreatureSpawn(creatureboxEntityListener.java:46)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:386)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.World.a(World.java:756)
        at net.minecraft.server.SpawnerCreature.a(SourceFile:134)
        at net.minecraft.server.World.g(World.java:1418)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    This time, it only happened when a player is connected, after some chunk loading, especialy the ones where slimes were usually spawning.

    *have seen that's no more Bradley's code but Lodran's*
    bmods : OK;
    creaturebox : new version of creaturebox
    => It runs perfectly.
  20. Offline


  21. Offline


  22. Offline


    Teh commands for this produce an error, CB556 try it u will see.
  23. Offline


    Awesome plugin. I have no problem, but I'm not usually up to date.

    EDIT: Nevermind... lagging and losing items.
  24. Offline


    To resolve the problem about the CREATURE_SPAWN TO bMobs error spam, just issue a /bmobsreload after you boot up the server. It will duplicate server entries in your config file, but seems to be working. Its a bad work around, since you can't do a /bmobsreload automatically after you boot up your server (doesn't work from console).
  25. Offline


    Squids don't seem to be disappearing in my world. No errors or anything, just .. zip.

    # List of creatures that will not be removed (start line with # to disable)
  26. Offline


    See previous posts... CB 556 has a bug that prevents squids from being modified. Downloading version (non-recommended) 557 fixes this issue. Downloading the very latest CB breaks plugins, so it's not advised to update past that until a new recommended build is released (which should be any day now, it's been two weeks or so since the last one)
  27. Offline


    thanks, I apparently can't read :(
  28. Is the plugin author likely to update for #602 ?
  29. Offline


    i hope so to i really REALLY hate those bloody ghasts...
  30. Offline


    does not work with CB602
  31. Offline


    frozen twinki:we know
    anyway this is the error message from the log...

    2011-03-31 12:10:25 [SEVERE] WORLD_LOADED loading bMobs v0.5.6 (Is it up to date?)
    java.lang.NoSuchFieldError: WORLD_LOADED
    at com.bradsproject.BradleyJewell.bMobs.bMobs.onEnable(bMobs.java:46)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:263)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:224)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:380)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

Share This Page