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 Feb 10, 2013@Xikage That's part of it, and is already added to the next version. I'll have a think about the best solution to the rest of the problem.
-
View User Profile
-
Send Message
Posted Feb 9, 2013Is there any way you could hook into the DiabloDrops api?
-
View User Profile
-
Send Message
Posted Feb 9, 2013@coldandtired
Maybe if there were a condition or option for repeating outcomes that checked if the target chunk was loaded before trying to spawn a mob there? That would fix the primary issue. The NPC thing isn't really a big deal otherwise.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Xikage This is an old problem that I never got around to solving. I couldn't think of a good way to differentiate them at the time and then got bogged down with backend stuff.
The issue is bigger than that as mobs in unloaded chunks don't exist, as far as CB is concerned. So I have to keep a list of them somewhere and check it when the chunk loads itself.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@CommanderGizmo 31.170.166.99 is what I see. However, that shows no account so there must be some sort of redirect going on with the name.
-
View User Profile
-
Send Message
Posted Feb 8, 2013I think I found part of the issue relating to my previous comment.
I believe it has to do with Mobs spawning mobs near Citizens NPCs. It will place mobs in unloaded chunks near the NPCs even though they aren't really players and then seems to lose track of them after that as there is no actual spawn event being triggered since the chunk isn't loaded. Then when someone enters the unloaded chunk there are sometimes thousands of mobs built up.
The solution would probably involve getting Mobs to recognize that NPCs aren't players.
-
View User Profile
-
Send Message
Posted Feb 7, 2013I found what I believe to be a somewhat minor bug with <set_max_life>. Mobs that are in unloaded chunks do not seem to despawn when their time expires and continue living forever.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@coldandtired If you can ping your web site (type ping coldandtired.binhoster.com) you'll get the IP which works for you.
-
View User Profile
-
Send Message
Posted Feb 7, 2013@Xikage It will be soon. Last night I solved the last big problem I had been struggling with (for weeks :() so it's full speed ahead now!
-
View User Profile
-
Send Message
Posted Feb 7, 2013@CommanderGizmo The site's IP? No idea, I'm afraid.
I'll try moving all the docs onto github with the source. Alternatively I can try and make them work here (BukkitDev doesn't allow much formatting so it's hard to represent lots of information cleanly).
-
View User Profile
-
Send Message
Posted Feb 5, 2013Any chance of the <area_mob_count> condition making a return soon? :D
-
View User Profile
-
Send Message
Posted Feb 3, 2013@coldandtired
Very strange. If you don't mind, what's your IP supposed to be? It could be that there's a bad DNS record floating around.
-
View User Profile
-
Send Message
Posted Feb 3, 2013@CommanderGizmo You're not the first to mention it although I have no idea what's causing it - http://www.downforeveryoneorjustme.com/coldandtired.binhoster.com.
I'll see if I can mirror it somewhere else.
-
View User Profile
-
Send Message
Posted Feb 3, 2013@coldandtired
Thanks for the fast response. I have checked out my config and done some tests. While I can get DNS resolution to your server's IP, and can ping binhoster.com, I get nothing back from coldandtired.binhoster.com using ping or HTTP on port 80.
A traceroute clearly shows I am hitting the internet on requests to your server, but dying out there somewhere.
You are sure it is up and running?
-
View User Profile
-
Send Message
Posted Feb 3, 2013@CommanderGizmo The site is working fine; you must have something blocking it.
The offline file is complete and up to date, as far as I can tell.
Console colour is an easy fix.
-
View User Profile
-
Send Message
Posted Feb 3, 2013It would seem that your site is down, and the offline copy is a partial backup of your site. In fact, the two may be related.
Not sure how to use this thing without any wiki, config page, or tutorial...
[EDIT] Also, I noticed that after changing the text color to red for your notice about being beta, this plugin forces the console color to white. I don't use white consoles. It burns my eyes.
-
View User Profile
-
Send Message
Posted Feb 2, 2013I would imagine you would have to do it passively since squids are not a hostile mob. maybe a lightning strike or.. when using the nearby config?
-
View User Profile
-
Send Message
Posted Feb 2, 2013I can't figure out how to make squids attack
-
View User Profile
-
Send Message
Posted Feb 2, 2013@tappestry Okay, fixed in Beta24.
-
View User Profile
-
Send Message
Posted Feb 2, 2013@tappestry Looking into this now.