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 Sep 23, 2012@CosmicVoyager You need a conditional outcome (top-left section) which has a thundering condition and a powered property (heart icon).
-
View User Profile
-
Send Message
Posted Sep 23, 2012@boblehest It has to check to determine which blocks are safe for the mob to spawn on. It's a major bottleneck that I'm trying to optimize for the next version but I doubt I could do anything to make it smooth enough with such a large area.
-
View User Profile
-
Send Message
Posted Sep 23, 2012I am trying to figure out how to make some powered creepers spawn when it is thundering, please.
-
View User Profile
-
Send Message
Posted Sep 23, 2012coldandtired: Thanks for replying. :) Didn't know the plugin had to actively check the chunks. :/
-
View User Profile
-
Send Message
Posted Sep 23, 2012Hi, Can you help me please? I need to suppress completely spawning of some mobs, and replace them with other types.
I was able to suppress desired types. But I need completely overwrite spawning properties of some mobs. Enable just autospawn, and disable natural one, or be able to configure natural spawning to my taste.
Regarding wolves I need to enable spawning in all biomes just near player, only during minecraft time (night), make these wolves aggressive, stronger.
I was able to do all this, but unfortunately, either the wolves are spawning during both night and day, or no wolves at all. When there was spawning, during the day the volves were vanilla ones. I also need to make the night ones dissapear in the morning.
I think I have tried almost every combination of settings in config generator (especially fallthrough, plugin load behaviour, outcomes), was trying hard maybe six hours with this, changing just one value at the time, but I was not able to find the setting. The outcomes were working, but I need to disable spawning wolves and some other entities during minecraft day. Could you please help me with it?
Maybe I just do not understand correctly the event system under the hood.
According to BukkitGui I am using version Mobs 1.3.1 b3. Bukkit version is 1.3.2 dev 2366. Here is link to my data.mobsThank you very much.
-
View User Profile
-
Send Message
Posted Sep 23, 2012@watdidyusaey Why didn't you make a ticket then?
YAML doesn't 'just work', it works because I spent dozens of hours adding code to try and cope with the multiple ways it breaks.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@coldandtired
At least yaml works, I'm still having issues with the xml configuration because no matter what I put it doesn't flipping work.
Its still telling me it can't read the config, its been like this for months!
And to make matters worse, I can't troubleshoot the file because I have no idea what any of this is saying.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Xikage Major elements missing are the autospawns and loading/saving mobs when the plugin starts.
Most of the code needed for the first is already done (as autospawns aren't much more than the spawn_mob action with a timer attached) and the code for the second is pretty much clear in my mind so they are relatively easy to add.
The other areas somewhat lacking are logging/debugging and any global options.
For now, I'm more interested in reports of what does work properly, or what works but can be improved, or any errors seen. When nothing happens it's probably because it isn't done yet rather than a bug.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@coldandtired
Awesome! Thanks coldandtired.
Are autospawns working yet in the alpha version? I don't see those in the example config so I assume not.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@BadHaders Not quite sure how it's down to me that you can't manage to install Silverlight.
I take it from your comment that you're offering to deal with the 5-10 PMs I got every day concerning YAML mistakes?
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Xikage I'll be uploading it in the next few minutes. It's still very much Alpha, but mainly because nothing is complete. Most of the plugin works fine but needs to have stuff added (conditions work, for example, but I've only implemented one or two for testing. Most properties work but not all of the events to react to them are in yet).
Done! See the updated description above for links.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@IDragonfire The attributes were really for me, as that config was supposed to go from the app to the plugin without being seen.
The new version uses elements more, and mainly unique ones.
Personally, I use Geany for editing XML and YAML files.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@BadHaders
From what I understand YAML is not even a realistic option for the level of complexity the re-done plugin will support.
-
View User Profile
-
Send Message
Posted Sep 22, 2012I'm seconding the YAML being better. It's simple, and takes about 2 minutes to do. As for this XML thing, it's absolute shit, silverlight won't even install. I'd much rather get 10 errors before fixing it than having to use this. We should be able to use YAML if we want, i find it hella lot easier.
-
View User Profile
-
Send Message
Posted Sep 22, 2012Any chance we'll get to play with the new version this weekend?
-
View User Profile
-
Send Message
Posted Sep 21, 2012@boblehest
XML, YAML .. all the same xD Use a beautifier if you can't read it, e.g. http://xmlbeautifier.com/
@coldandtired One improvment ... please use less attributes, and more tags/enitity ...
e.g.
instead of
-
View User Profile
-
Send Message
Posted Sep 21, 2012@boblehest YAML is a horrible choice for a complicated config, and it was never intended for this. Almost no-one using Bukkit understands it, so even if the same amount of people understand XML as YAML, XML is a better choice.
YAML has an illogical syntax that trips up many users, and spits out incredibly unhelpful error messages. It's also a pain in the arse for the dev to work with, so generally it has no use for plugins.
Your server froze because you set such a large area. Consequently, the plugin needed to check up to 165,888,000,000 blocks.
-
View User Profile
-
Send Message
Posted Sep 21, 2012@BadHaders Yes you can. Use a spawn_reason condition to block spawning from natural cause.
-
View User Profile
-
Send Message
Posted Sep 21, 2012First off, what was wrong with YAML? Really preferred it to the new xml which appears really unorganized when trying to write simple configs.
I tried to use it to spawn an ender dragon (max 1) in a pretty large area (about 9000x9000), but my server crashed (more specifically: froze) after about 1 minute without anyone being near the area (and with debug output on the plugin still didn't mention anything happening).
tl;dr: Seems to have caused the first and only crash of my server with a really simple config.
Config File
-
View User Profile
-
Send Message
Posted Sep 21, 2012Can i use this plugin to prevent natural spawning of mobs in one world? By natural i mean in caves, and outside at night etc. I want to still have mobs spawning from Spawners, and Plugins. Thanks :)