Mobs

logo

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

check_for_newer_version - 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.
generate_templates - 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.
worlds_to_ignore - 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_reload_config 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_for_newer_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!

alt text

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!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of SXRWahrheit SXRWahrheit Jul 18, 2014 at 19:50 UTC - 0 likes

    @coldandtired: Go

    Neat! Just wanted to check in and make sure that you're okay. :)

    http://summaxr.com/newgtop.gif
    I run http://summaxr.com and our Minecraft server at mc.summaxr.com - feel free to visit.

  • Avatar of coldandtired coldandtired Jul 18, 2014 at 15:12 UTC - 0 likes

    @SXRWahrheit: Go Sorry, was on holiday in the wilderness this week and Internet access was sketchy.

    Before I left I had targeting, variables, and conditions finished. These are the things common to everything else.

    Right now I'm re-familiarizing myself with the code and if all goes well I'll start fleshing out the events. Most events are practically identical so not too hard.

    I've also written the first post at blog.sylian.eu and will try to get the next ones (regarding the finished parts) up soon.

    alt text

  • Avatar of SXRWahrheit SXRWahrheit Jul 14, 2014 at 17:28 UTC - 0 likes

    Do you maybe have a timeline yet? I'm working on creating my own development schedule. :)

  • Avatar of SXRWahrheit SXRWahrheit Jul 07, 2014 at 20:14 UTC - 0 likes

    @coldandtired: Go

    You could do a Tumblr so people can reblog you. I think you can even make Wordpress push to Tumblr if you want to keep using WP. :)

    HMU on Steam and I'll let you know where I'm at on my end.

  • Avatar of coldandtired coldandtired Jul 05, 2014 at 20:03 UTC - 0 likes

    @SXRWahrheit: Go Ticking along. I've designed a very nice recursive action/condition system, which is a thing of beauty ;)

    I wanted to explain it in more detail than here so I decided to add a blog to the site. Consequently I had to do some research about which software I wanted, themes, etc. Finally realized I was happy enough with Wordpress and a default theme and that I had wasted two days :(

    So at the moment I'm typing up a post about the action system and finishing implementing the new targeting/variables system. These are the most difficult and fundamental to the plugin so everything else is pretty easy by comparison.

  • Avatar of SXRWahrheit SXRWahrheit Jul 05, 2014 at 17:10 UTC - 0 likes

    How's progress going on the rewrite? :)

  • Avatar of xyZenTV xyZenTV Jun 27, 2014 at 18:54 UTC - 0 likes

    @Gowdsta712: Go It's looking for an area defined in the config of ExtraEvents. If you don't have ExtraEvents, you'll need to download and configure it Here

    Last edited Jun 27, 2014 by xyZenTV
  • Avatar of Gowdsta712 Gowdsta712 Jun 19, 2014 at 01:19 UTC - 0 likes

    Hey, its been a while, and I am having a crack at this again to make gang hideouts lol. I am currently using the "player_enters_area" event, but am unsure with how to actually use it! the file reads "<event if_area="ga1" action="spawn" sub="mob" mob="skeleton" mob_name="Bandit" amount="1" target="block" x="737" y="65" z="-455" />" at the moment, but I am unsure with how to use the "if_area" condition. The reason why the answer to the condition is "ga1", is because that is the name of the worldguard region that I would like to make into a gang area.

    So, my question is, is the "if_area" condition asking for the name of a worldguard region, or something else? If it is looking for something else, what is it? Coordinates? I have no clue.

  • Avatar of SXRWahrheit SXRWahrheit May 25, 2014 at 23:02 UTC - 0 likes

    @coldandtired: Go

    Nope, nothing except the skulls bit. I suspect it has something to do with our testing before, that they only worked on linked events. I'd rather not make linked events for all of them. :)

  • Avatar of Trouvo Trouvo May 25, 2014 at 15:25 UTC - 0 likes

    any possibility of getting that mobs! config generator again?

Facts

Date created
Dec 20, 2011
Categories
Last update
Mar 08, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Mobs
Downloads
49,274
Recent files

Authors