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 Nov 10, 2012I've run into a problem with repeating outcomes and I'm not sure if it's a bug or something I'm doing wrong.
For example, in my config I have it set to spawn 1 giant every 60 seconds around 2 players. However, it seems to spawn Giants constantly rather than every 60 seconds. I usually see them spawning with other groups of mobs such as zombies, which spawn every 6 seconds, and the giants pile up pretty quickly after a minute when there should only be a couple of them.
Here's my config: http://pastebin.com/zpvQVSvp
On a different note, could you add an action for turning on/off Endermen taking damage from water?
Thanks for all your help!
-
View User Profile
-
Send Message
Posted Nov 9, 2012I noticed there is a dependency for terrain controls in the plug-in.yml guessing this is for custom biomes. does this currently work in the latest beta. cause my custom biome says Plains when i press f3 in minecraft. but my ocean mobs spawn there.
So can u currently use custom biome names in my config?
-
View User Profile
-
Send Message
Posted Nov 8, 2012@crowbars82
No, I have in fact encountered sieges in 1.3.2, I was trying to build an iron golem farm, and a bunch of zombies spawned in it, clogging up the system (even though the floor was completely lit and whatnot. My understanding, (supported also by my experience) is that they do not happen with villages with populations<20
-
View User Profile
-
Send Message
Posted Nov 8, 2012Ahoy! Hope all is well. Been playing about with some of the features, having a few problems with set_max_life, set_can_burn and light_level however: http://pastebin.com/SJskTV3E
I understand that finding a 'good place' for the mob to spawn would probably take up more calculation time, but a lot of the zombies are getting stuck in walls so I'm surrounded by the constant sounds of zombie pain and death. Could a method exist to tell mobs that they are only allowed to spawn apon certain materials like Stone with Air above them? (Although that is kinda going against what I said about more calculation I suppose, but not at much if you get me) Also this: http://www.minecraftwiki.net/wiki/Siege but I'm fairly certain that this page is void and Notch decided to not put this in the game. I could be wrong.
-
View User Profile
-
Send Message
Posted Nov 8, 2012@CommanderGizmo As far as I can tell, there's no siege event in Bukkit. I don't really play Minecraft myself, how does the siege work?
-
View User Profile
-
Send Message
Posted Nov 8, 2012@Archonea The basics have been there since Beta1 but I haven't put them all together yet. It's definitely something I want to do and will be in there soon (probably the version after next).
-
View User Profile
-
Send Message
Posted Nov 8, 2012@Beatkidz I see that now. There should also be issues when the wolf is tamed, and things like sheep wool and spider eyes, all of which have separate skins. I'll fix it.
This time round, I don't check the surrounding area for safe blocks (as it's quite expensive). I do pick the next air block available if the mob is set to spawn inside a wall though.
You can use the skylight condition to only allow above ground spawning.
-
View User Profile
-
Send Message
Posted Nov 7, 2012It would be nice to see zombie sieges as a separate event in 1.4.
-
View User Profile
-
Send Message
Posted Nov 7, 2012Is there any capacity or plans for spawning mobs with potion effects?
-
View User Profile
-
Send Message
Posted Nov 7, 2012Beta14 - Wolf skins are now working but as soon as they aggro a player they turn back to default skin
Also getting some kind of spawn above ground action would be great xD
-
View User Profile
-
Send Message
Posted Nov 7, 2012@Beatkidz Must be another plugin conflicting. What ones connected to mobs do you have installed?
-
View User Profile
-
Send Message
Posted Nov 7, 2012@Archonea Being stable doesn't really matter to plugin devs. What matters is the API, and currently the API for 1.4.x is not complete.
What this means is that even if I upgrade, without the API the new features can't be implemented anyway, plus there could always be new bugs introduced.
There are no new builds because the code is frozen due to Mojang messing up 1.4 and needing multiple fixes (today was 1.4.4).
-
View User Profile
-
Send Message
Posted Nov 7, 2012Any indication on when 1.4 mobs will be supported, or at the very least spawning skeletons/pigzombies in 1.4 with their weapons in their hands?
As far as I can tell, the current build of CB is pretty stable, there have been no significant issues reported or new builds created in like 5 days.
-
View User Profile
-
Send Message
Posted Nov 7, 2012Tested Skeleton attack again and got nothing. still hits 4 damage all the time no matter wat i set it to.
-
View User Profile
-
Send Message
Posted Nov 7, 2012@crowbars82 Always appreciated <3
Questions are fine - they help me remember whatever it is I wrote and often show me that it could be done in a more intuitive way.
The way I originally planned the autospawning was like a shotgun. Pick an area, blast it with mobs, and then use conditions to filter out which ones shouldn't be allowed.
Not sure if I've moved across the old standing_on condition yet, as that would help.
-
View User Profile
-
Send Message
Posted Nov 6, 2012Odyssey... Lol!
Yeah was a bit, and I don't doubt I'll be asking more questions about Bessy and Woolly. Consider yourself $15 better off! Just got back from work so gonna try this out immediately. Not even gonna take a dump.
Edit: Yep. This is fun. I've already got a fresh barrel of questions ready to launch at you, but I'm gonna chill out for a bit. That world_mob_count has sorted SO much out already. I will see if I can work out how to get certain mobs to spawn on different Y-levels tomorrow... when did it get to 3am?! There are simply never enough hours in a day!
-
View User Profile
-
Send Message
Posted Nov 6, 2012Beta 14 is up (link on other page).
Fixed a bug with world_mob_count (see crowbars82's odyssey below for details).
-
View User Profile
-
Send Message
Posted Nov 6, 2012@coldandtired
I'm afraid I still have not obtained any cigars. I did try re-arranging a few things, but to no avail. The error appears when the timer is reached again.
http://pastebin.com/Jy6vAnq7
Thanks for your help, I've learnt lots of new things today, especially putting a <value>value</value> in there which I didn't realise needed to be there. In regards to your tutorials: You've got all the events, actions and conditions on separate pages but if you had examples on how to use each one specifically would be radical. I've been trying to refer to the other sections (Bessy the Cow & Woolly the Sheep) but still in the dark unfortunately. I understand if you're working on all this though, and what you have so far is very ace. Excuse me for the persistent hounding, I'm just a bit excited about this plugin, the potential it has! Gotta go to work now but I'll check in later on :)
-
View User Profile
-
Send Message
Posted Nov 6, 2012@crowbars82 You're so close! :)
That should do it. To be honest, I didn't test world_mob_count much as it's based on chunk_mob_count.
If the above doesn't work then I'll look at the code later tonight.
You could also add another condition group (exactly the same as you already had) to the spawns event.
-
View User Profile
-
Send Message
Posted Nov 6, 2012@coldandtired
I'm really very sorry. I can't for the life of me see how this is going wrong. I moved the conditions outside of the actions, I've tried changing the zombie:custom to zombie:timer, I've put in various <world>world</world>s and taken them out... ...but still every time the timer reaches 5, the error dumps (at bottom of pastebin submission)
http://pastebin.com/5ML05zYy
The only thing I can guess at is that the world_mob_counter doesn't like the words 'below 5', but I'm sure that's the right way to write a condition! Please sir, what am I missing?