Mobs
Anyone who has been active on the main forums in the last few days must surely have already heard the news.
I'm not going to comment on why and how, but the short version is that Bukkit is almost certainly not getting passed this.
Consequently, the future of BukkitDev is very uncertain. Even if the legal matters were resolved tomorrow there isn't really anybody left to deal with file submissions anyway. There's no indication about how long the site will stay up and what will happen to the files.
Anyway, while I will continue updating and developing my plugins you will need to look for updates somewhere else, namely the wiki. I will be updating this wiki in the next few days to facilitate better communication (forums, email, etc.) and adding any documentation that's missing. I will also, of course, be looking into porting the plugins over to whichever API emerges from the ashes!
If you're penniless or like Mobs but not that much I'm also partial to TF2 items. Send any you don't want my way! STEAM id: coldntired
If you don't know what TF2 is, then start playing! It's free and fun!
Anyway, while I will continue updating and developing my plugins you will need to look for updates somewhere else, namely the wiki. I will be updating this wiki in the next few days to facilitate better communication (forums, email, etc.) and adding any documentation that's missing. I will also, of course, be looking into porting the plugins over to whichever API emerges from the ashes!
Introduction
Mobs gives you the ability to control almost every aspect of the mobs on your server, and a few other things on top. The concept is simple - as your server is running, things are constantly happening. Players are mining, mobs are spawning, the sun is going down, it's starting to rain, etc. Behind the scenes, CraftBukkit is sending messages to all interested plugins about these events. Player John broke a block of stone in world at location 55, 23, 137; A sheep died in world at location 209, 77, 22, etc. There are dozens of events, and thousands of these messages are sent every minute. Most plugins listen for a few of these messages and act upon them. Mob-blocking plugins, for example, listen for new mobs spawning somwehere, and then look at the config to decide whether to allow or block the mob from spawning. Chat filtering plugins listen for the player is chatting messages and block/edit them according to the config. Mobs listens for most (eventually all) of the mob-related messages, and a few extra ones, and gives you the option to block, allow, or alter the effect of the event. However, it goes beyond that in that it allows you to use the event to perform one or more actions. So, while you may not want to interfere with creepers spawning, you can use this event to change the weather, set the time, drop an item somewhere, give someone some experience points, or as many of the dozens of possible actions that you want. Additionally, it's possible to use conditions to filter the events you act upon. Want to give creepers a 1 in 1000 chance of taking out half your house when it explodes? Not a problem (except for the house).Config.yml
checkfornewerversion - set to yes to allow the plugin to contact this site and see if there is a newer version available. Note that it onlys checks, and doesn't download anything. generatetemplates - set to yes to have the plugin create empty config files for every possible event. Alternatively, simply look up the names on the tutorial and create only the files you want. worldstoignore - a list of worlds in which the plugin will be effectively disabled, ignoring all events in those worlds. allow_debug - set to yes to enable other plugins to access the event API (for logging, debugging, etc.)Commands
There is one only command in the plugin, which is /reload_mobs, or /rm. The reloads the config without reloading the plugin itself. Users need the mobs.canreloadconfig permission, or to be an op.Update checking
If you like, you can set the plugin to check for any newer versions that get released. To do this use the checkfornewer_version option in the config file. This only works for release builds so you won't be bothered by any beta or dev builds. Note that no update will be downloaded even with this set.Tutorial
Start the tutorial here to read up on how the plugin works The tutorial for the old config can be downloaded from here for offline viewing.Updates
Updates for all my plugins will be announced via Twitter, which you can find here.Dependencies
Mobs has another plugin as a dependency called Extra Events. Read more about it here. Make sure you install Extra Events as well otherwise you will get errors on startup!Donate
Mobs takes a lot of time to maintain, so if your server is enriched by it and you have some spare donations please consider sharing!
If you're penniless or like Mobs but not that much I'm also partial to TF2 items. Send any you don't want my way! STEAM id: coldntired
If you don't know what TF2 is, then start playing! It's free and fun!
-
View User Profile
-
Send Message
Posted Jan 30, 2012hey cold, I wanted to let you know that I had to take out the plugin. I think I am having some conflicts with multiverse or towny or possibly Heroes. I also had to upgrade to the new bukkit build that is out, I think its R4, i really cant say, they released about 4 in the past 6 hours. IDK whats going on with them. I'm sure the coding is fine its just these other guys are not updating, whats worse is the 1818 build was removed from their available builds to download. I knew I should have saved it lol.
-
View User Profile
-
Send Message
Posted Jan 30, 2012I got rid of that section and it still drops the item...
It should go into the config.yml right? I'm not sure what the other .yml files are for but I've tried it with all of them.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@KubaBVB09 Percent doesn't work this way any more. If you want something to be 100% don't add a percent condition at all.
Currently, putting percent: [100] means that the condition will be true if the percent is exactly 100, which has the same chance as percent: [22], percent: [49], etc.
Percent is also reversed (i.e. it's the chance of failure not success) which is how random numbers work, so to have a 100% chance of doing something you need to put percent: [above 0].
-
View User Profile
-
Send Message
Posted Jan 29, 2012@morizuki Something like this is already planned, but I wanted to introduce the new config gradually.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@GarretSidzaka Doesn't look like it's Autocraft. What other plugins do you have installed?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@tappestry It was built with 1818 (1.1-R1).
I haven't used spawners but it shouldn't make a difference. I'll have a look tonight.
-
View User Profile
-
Send Message
Posted Jan 29, 2012if you can put a RegionMobs, this will be awesome.. different properties of mobs in different regions :)
-
View User Profile
-
Send Message
Posted Jan 29, 2012I put this in my config.yml yet Blaze's still drop blaze rods. What am I missing?
Blaze: death_rules: - action: replace_drops: yes will_drop: - item: names: [nothing] if: - condition_group: percent: [100]
-
View User Profile
-
Send Message
Posted Jan 29, 2012conflicting with our current plugins. our plugin is autocraft and it seems like its tring to kill a mob maybe? no configurational changes made yet. happened on b2 and b1: 2012-01-29 21:15:32 [SEVERE] Could not pass event org.bukkit.event.entity.EntityExplodeEvent to Mobs org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453) at net.minecraft.server.Explosion.a(Explosion.java:189) at net.minecraft.server.World.createExplosion(World.java:1529) at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:229) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:429) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:437) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:433) at com.orange451.AutoCraft.Torpedo.explode(Torpedo.java:53) at com.orange451.AutoCraft.Torpedo.move(Torpedo.java:84) at com.orange451.AutoCraft.main$ExecuteMove.run(main.java:229) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024) ... 15 more Caused by: java.lang.NullPointerException at me.coldandtired.mobs.Mobs_listener.onEntityExplode(Mobs_listener.java:1163) ... 20 more
-
View User Profile
-
Send Message
Posted Jan 29, 2012@KubaBVB09
you should put [nothing] in place of the item
-
View User Profile
-
Send Message
Posted Jan 29, 2012I cannot get this to work. Could someone help me on how I could make it so mobs do not drop anything?
-
View User Profile
-
Send Message
Posted Jan 29, 2012cold have you had any problems with getting mobs to spawn at all out of spawners? what version did you build the beta with?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@LanToaster
@tappestry Hopefully it's fixed in b2 :)
-
View User Profile
-
Send Message
Posted Jan 29, 20121.9 b2 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Jan 29, 20121818 is actually older build, currently 1830 is out I think but I dont find it very stable so I use 1818 untill everything is running smooth again. what I may do is purge all sheep and just have a different mob drop wool colors
-
View User Profile
-
Send Message
Posted Jan 29, 2012I think it was the last RB, got it as RB on Friday.
-
View User Profile
-
Send Message
Posted Jan 29, 2012@LanToaster
@tappestryThat is a very strange error indeed. Is 1818 the latest RB?
I'll look at it tonight and disable that event if I can't get it working.
-
View User Profile
-
Send Message
Posted Jan 29, 2012I get this Error with the Mobs Plugin:
Using Bukkit: 1818
18:45:39 [SEVERE] Could not pass event org.bukkit.event.entity.SheepRegrowWoolEvent to Mobs
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.EntitySheep.m_(EntitySheep.java:114)
at net.minecraft.server.EntityLiving.d(EntityLiving.java:944)
at net.minecraft.server.EntityAnimal.d(EntityAnimal.java:29)
at net.minecraft.server.EntitySheep.d(EntitySheep.java:48)
at net.minecraft.server.EntityLiving.y_(EntityLiving.java:339)
at net.minecraft.server.World.entityJoinedWorld(World.java:1256)
at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110)
at net.minecraft.server.World.playerJoinedWorld(World.java:1238)
at net.minecraft.server.World.tickEntities(World.java:1145)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 14 more
Caused by: java.lang.ClassCastException net.minecraft.server.EntitySheep cannot be cast to me.coldandtired.mobs5.Mobs_sheep
at me.coldandtired.mobs5.Mobs_listener.onSheepRegrowWool(Mobs_listener.java:872)
... 19 more
-
View User Profile
-
Send Message
Posted Jan 29, 2012Cold the only error I found when Installing it was the Sheep-eating-grow entity, but that may be because I will not update the bukkit from 1818 because of some incompatible issues Im having with some other plugins, but that was it! Awesome Job :D
-
View User Profile
-
Send Message
Posted Jan 29, 2012@coldandtired
asgkahglasjfhgf thanks