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 May 8, 2013@CosmicVoyager Only one of those actions will be chosen at a time, so you need to set it up for both:
-
View User Profile
-
Send Message
Posted May 8, 2013Greetings,
I am setting enderdragon hit points and max hit points to 1000, but the dragon it spawng with 200 out of 1000 hit points, a partially filled health bar.
<entry action="set" sub="max_hp" value="1000" if_mob="ender_dragon"/>
<entry action="set" sub="hp" value="1000" if_mob="ender_dragon"/>
Help
-
View User Profile
-
Send Message
Posted May 6, 2013@Unhandstool
A link is given in the text above ;) Read carefully ^^
-
View User Profile
-
Send Message
Posted May 6, 2013@coldandtired
Extra Events? Where do I find that?
-
View User Profile
-
Send Message
Posted May 6, 2013@Unhandstool If it doesn't even generate a config it means you haven't installed Extra Events.
-
View User Profile
-
Send Message
Posted May 6, 2013@dexyh1234
Not a clean server no, But it won't show up in the plugins list. It won't even generate it's config file :S What do I do?
-
View User Profile
-
Send Message
Posted May 6, 2013@Unhandstool
Did you run it on a clean server? I would advice to test it first on a new world/server to get the hang of it.. It's pretty complex I think :|
-
View User Profile
-
Send Message
Posted May 6, 2013@Unhandstool It's a scripting plugin so without creating any scripts it won't do anything (and will disable itself).
See the tutorial to get started.
-
View User Profile
-
Send Message
Posted May 6, 2013So, I downloaded the .jar and put it into my plugins folder. after reloading the server, the plugin doesn't work. I tried creating the folder and the Config.yml manually and still it has no effect. Can anyone help me get this running?
-
View User Profile
-
Send Message
Posted May 6, 2013@CosmicVoyager Spawn reasons are here and death causes are here.
There is a spawn reason called breeding which you can use.
-
View User Profile
-
Send Message
Posted May 6, 2013@coldandtired
"@CosmicVoyager: Go if_spawn_reason="spawner_egg" would do it."
Is there a list of other causes of events including things such as causes of death?
What is the term for the cause of spawning being breedng animals?
Thanks
-
View User Profile
-
Send Message
Posted May 5, 2013@coldandtired
Thx :) I'll try it out!
Edit: Seems to work fine after a quick test :) thx a lot !!
-
View User Profile
-
Send Message
Posted May 5, 2013@dexyh1234 I put a temporary hack in the latest version (http://dev.bukkit.org/server-mods/mobs/files/132-1-5-2-b1/)
It isn't ideal yet as I want to expand it to include more options. For now you can do this:
Note that if you're using other actions, players are included in the group of mobs. Also, although it says all it will still respect the target_amount element (although it defaults to all the mobs in the area where other targets default to 1 mob).
-
View User Profile
-
Send Message
Posted May 5, 2013@CosmicVoyager if_spawn_reason="spawner_egg" would do it.
-
View User Profile
-
Send Message
Posted May 5, 2013Hello,
Setting suid and slime to not despawn so players could keep as pets caused an unforseen problem. The server is overrun with thousands of them.
Any idea how I could set only the ones from mob eggs to not despawn?
Thanks
-
View User Profile
-
Send Message
Posted May 5, 2013@dexyh1234 Not yet. I'll add it tonight though when my little boys are asleep and I can concentrate :)
-
View User Profile
-
Send Message
Posted May 5, 2013Did you yet figure out a way to despawn mobs from a specific area? :| I'm trying to despawn mobs and every time I try different events, it doesn't work, since I can't specify areas :(
Or should I put it on the request forum? :)
-
View User Profile
-
Send Message
Posted May 3, 2013The tutorial page is pretty nice :) Only the target system is still not fully explained I think. For instance with something you told me.. targets are not always the mob inside the event. It can be a lot of thinks, like coordinaten etc etc. As far as I know, it doesn't say anything about that inside the tuto :)
-
View User Profile
-
Send Message
Posted May 3, 2013Tutorial site updated with all (I hope) necessary information.
Have a read and please let me know which areas are lacking.
-
View User Profile
-
Send Message
Posted May 2, 2013@CosmicVoyager max_life is the amount of seconds a mob will live before being removed.