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 12, 20121.5.1 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Jan 12, 2012@jpmiii I tested your config and it works fine. The error is that you got the name of your world wrong.
It should be rpg-b and not rgb-b.
It made a lot of spiders very quickly :)
-
View User Profile
-
Send Message
Posted Jan 12, 2012@jpmiii I'm looking into this tonight as it it used to work and now doesn't so I must have accidentally done something :(
-
View User Profile
-
Send Message
Posted Jan 12, 2012You work is greatly appreciated. I find it hard to believe there's not several plugins like this, or more people working on this one. It's exactly what I need. Once it works as planned you will be hailed as a genius. But...
with this yml:
I get this:
-
View User Profile
-
Send Message
Posted Jan 12, 2012@CrashVegas I thought I had added a range for money drops but it seems that was the one I missed :) Quantities, sizes, enchantment levels, etc. all have a possible range for both conditions and drops.
I'll fix the money one for the next version.
As for the messages idea, I think it's possible and I'll try and work out the best way of doing it.
-
View User Profile
-
Send Message
Posted Jan 12, 2012Thanks for your help @coldandtired, I have the money issue sorted now.
I have some feature requests. First I'd love to have a range for the money drops. Second, I'd like to see an optional, customizable chat message to the player who made the kill announcing drops. For example, something like:
You could then spit the messages out with every percent check or concatenate the successful messages together like so:
Skeleton died, you looted 13 coins. You found a diamond sword!
Allowing for color codes in the messages (simulated with bold in the above example) would make them aesthetically pleasing and easy to spot the drops.
I'm not sure how feasible any of this is. Thoughts?
-
View User Profile
-
Send Message
Posted Jan 12, 2012@Naruchico It should be this
But it seems there is a problem with minus numbers which I'll look at tonight.
-
View User Profile
-
Send Message
Posted Jan 11, 2012@jpmiii
getting the same thing as him with this config
-
View User Profile
-
Send Message
Posted Jan 11, 2012@CrashVegas It should be money: 10
Looks like that was one of the things I missed :)
-
View User Profile
-
Send Message
Posted Jan 11, 2012Hi coldandtired, great work on this. Thank you.
Using 1.5, and I'm having problems getting mobs to drop currency on death. Here's my simple deaths.yml, which I borrowed mostly from your deaths.yml example here. There's no config entry for money there so I just added a previous example with the new syntax.
I'm using BOSEconomy (and Vault). Am I doing something horribly wrong here?
-
View User Profile
-
Send Message
Posted Jan 11, 20121,5 is up - direct link
There are a lot of changes in this version, but it was necessary to standardise the configs and make them a bit clearer to read. See the small examples in the other pages for a clue.
The main changes are
Because this is quite a big change you can PM me your old working configs and I'll convert them if you can't get them to work.
-
View User Profile
-
Send Message
Posted Jan 11, 2012@Nuinethir It's possible, although it would need a complicated config. I forgot about spawn chances so I'll add those now.
There's a very big update coming tonight (with a few breaking changes) so I wouldn't do too much on it now.
-
View User Profile
-
Send Message
Posted Jan 11, 2012@Naruchico You don't really need to use the commands; it's supposed to be done automatically.
The commands are just a way to override the automatic functions for testing.
-
View User Profile
-
Send Message
Posted Jan 11, 2012This isn't working for me.
When I try a command it says "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
using this spawner.yml
I get this...
or this...
-
View User Profile
-
Send Message
Posted Jan 11, 2012@coldandtired
I am having some difficulty understanding the way to write a spawns.yml file. Basically, I want to have all mobs except EnderDragons and Villagers on a global spawn list for my world (Nether and End is disabled). I also want to set certain mobs to specific biomes. Lastly, I want to set a percentage-based chance to spawn.
I don't mind doing extra configuration for each biome to really tweak how spawns work, as I really want to control drops in my world through this plugin (i.e. players have to go to the desert if they want to get blaze rods from blazes).
For example: Player is in a swamp biome. Silverfish have a 5% chance to spawn, where if it fails to spawn, it will just spawn mobs from a "global spawn" list. These can spawn only during the day.
Another example: Player is in a tundra biome. Normal wolves can spawn with global spawns, but only at a 5% chance. At night, angry wolves have a 15% chance to spawn with global spawns.
Is this at all possible with your plugin? Thanks!
-
View User Profile
-
Send Message
Posted Jan 11, 2012@Naruchico
Permissions are actually very easy to write. Take the time like I just did and it is pretty simple. One headache now will save you many in the future. ;)
-
View User Profile
-
Send Message
Posted Jan 11, 2012default OP permissions...it wont lemme do any commands without getting a permissions plugin, already got enough trouble understand this plugin to even begin to understand writing permissions
-
View User Profile
-
Send Message
Posted Jan 10, 2012@FiddyCraft It's already included in the next version, I'm just cleaning it up and testing it before release.
-
View User Profile
-
Send Message
Posted Jan 9, 2012I would also like mobs that can spawn on blocks >_> VERY MUCH
-
View User Profile
-
Send Message
Posted Jan 8, 2012Hi, is this multiworlds compatible? Looked over the description and a few comments and couldn't find any mention of it. Thanks!