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!
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.can
reloadconfig 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 check
fornewer_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!
Won't run.
http://pastebin.com/dkyc6c7T
I found a bug... I use HeroChat and if I have your plugin the local chat got inactive after 5 phrases, example: I login then I talk 5 times in the local chat, after that I can't use the local chat again, only If I use the command /local Message, so I disabled your plugin and I'm waiting for a position =p, thank you very much =)
@mantegudo
That should do it. Make sure the name of your world is correct, and the spawn_interval in config.yml is set to 300 and the spawner_min_player_count is set correctly.
Your other request has been added and I'm testing it now.
Cannot get this plugin to work... I used to use Mob Spawner and was working fine, All I wanna do is to spawn 5 pigs every 5 minutes in a WorldGuard region called spawndeporco, with a shortcut called pig1
May u help me?
Thanks
Hey, can you check the mobs in the area and around it and if it matchs the mobs of the config area it won't spawn more mobs? Cause I'm suffering with it, I put 5 pigs to spawn every 5 minutes but it keeps spawing 5 pigs even when there are 5 pigs already spawned in the area, you could put a config area to check for the mobs so it won't spawn more! Thanks!
Version 1.2 is up.
Changes:
The Spawner module only supports one region per entry, but as a condition it can be a list of them. If you use it in the Spawner, don't add a base and range or it will overwrite the region.
Please note that if the region isn't rectangular there may be a few places where mobs can spawn outside the region. If this is unacceptable, also add a condition to the Spawns module to block this.
Also added a world.names condition (see above) to allow per-world outcomes.
@ronpaul2006 Did you try making the range smaller and watching the relevant blocks? Do you get any errors on startup in the console? Or when the spawner activates?
this is soo weird.... my whole stormworld is dirt so would have effect it at all. i just cant get it work :(((
@ronpaul2006 It works fine for me.
What this is telling the plugin to do is spawn a random number of powered creepers from 1 to 10 every interval, and for each one to spawn in a random location inside a 1000x1000 block square (ignoring the height).
This means that they are very likely spawning somewhere you can't see them.
I suggest that you reduce the range down to a much smaller number (3, for example), and make sure you're standing near the base block. When you're sure it's working you can increase the range or move the base.
I want powered creepers to but they just don't spawn here this is what my config looks like:
spawns:
- mobs:
- name: creeper
powered: yes
quantity:
- {min: 1, max: 10}
location:
world: stormworld
base: {x: 0, y: 120, z: 0}
range: {x: 500, y: 3, z: 500}
i put that in spawn.yml and thats it but did i do wrong @coldandtired
@Djrowling The range value is + and - from the base value. So a base.x of 3000 and a range.x of 1000 would be from 2000 to 4000.
A base.x of -1000 and a range.x of 2000 would be from -3000 to 1000.
A range.x of 0 would mean that whatever the base.x is would be used, with no deviation.
@Montpelier Do you mean, if you stop the plugin or the server, do the mobs stay in the world? If so, yes they do. This plugin simply listens for the spawn and death events and acts on conditions. Once the mob is in the world nothing happens to it until it dies.
Does this support persistence for passive mobs like vanilla? Or even all mobs?
@slimpyman Yes, plus what enchantments were on the item, and how many of the item were in the stack.
Does this plugin allow different drops based on what the user was holding when they killed? so a wood sword killing a zombie can have a different drop then a diamond sword killing the zombie?! a unsupported plugin called otherdrops had some kind of functionality like that
@dBi1K Yes, I will. It's an easy fix. I'll try and add it tonight along with WorldGuard regions support.
@Djrowling Put this is the spawner.yml file
The numbers in the quantity section mean that between 1 and 10 of them will spawn every interval, and the numbers in the range section mean that the area for possible spawning is 1000x6x1000 blocks centred on the block at 0-120-0. Change them to whatever you need.
I've seriously tried everything and cannot get this plugin to work i must be stoopid or something. All i want is Ghasts, Pigmen, and electrified creepers to spawn. Thank-you for making this plugin but its incredibly confusing.
@coldandtired
Thanks for the help earlier. My deaths.yml is working nicely now. I'm gonna add the econ support to the configuration tomorrow. That feature really adds a lot.
Are you planning multi world support? I'd love to control drops and experience on a per world basis!
@coldandtired
Thank you! Today I got feedback from the members: YAY I can finally find mobs :D