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 Apr 20, 2012@bladedpenguin It's already possible to have a condition based on height, and I'll be adding ones for x and z as well.
This way you will be able to do x-pos: [above 50] (assuming your spawn is at 0).
That's a bit too complicated so I'll probably add a distance_from condition or something.
-
View User Profile
-
Send Message
Posted Apr 20, 2012Hey dev (coldandtired)...
think you can give me some pointers? I'm not exactly sure how bukkit's default spawn works... but I'm trying to make mobs spawn "kinda" like default, but more frequently and also with more health. However, I don't want the player to get crazy overrun.
The way I have it setup is like this: Autospawn with % chance to spawn near players. (players: [all players]). However, I have it set to range 5 for all axis because otherwise the mobs are still too few.
Right now my two problems that I'm not too sure how to solve are these: 1.) Mobs spawning can sometimes overrun player since there is no limit. How do I make a condition to say... not spawn if there are 5 or more mobs already around the player?
2.) Mobs underground spawn into walls... thus hearing a lot of random death sounds from being stuck in walls. I have the item drops condition set to "unless killed by player" to prevent this... but at the same time the world becomes too easy if they us branch mining (I have a world setup where gold and diamond is abundant).
-
View User Profile
-
Send Message
Posted Apr 19, 2012@coldandtired
That would be cool. How will that work?
-
View User Profile
-
Send Message
Posted Apr 19, 2012@bladedpenguin Not yet, but it will be sort of possible soon.
-
View User Profile
-
Send Message
Posted Apr 17, 2012Would it be possible to make the dmob heath increase with distance from spawn?
-
View User Profile
-
Send Message
Posted Apr 16, 2012I was continuing to work on the config and found a spacing issue and have just now gotten it to work! Thanks for the prompt reply!
-
View User Profile
-
Send Message
Posted Apr 16, 2012I have that already, if I'm not mistaken :) this was my config from that post: http://pastebin.com/xSaSG0Th
Else I don't get what you mean.
-
View User Profile
-
Send Message
Posted Apr 16, 2012@Malarionbwr Paste your config somewhere.
-
View User Profile
-
Send Message
Posted Apr 16, 2012@dexyh1234 The spawn_rules and burn_rules have the syntax spawn: yes |no unless condition_groups.
So for your example you'd have to change it to spawn: no and if to unless.
-
View User Profile
-
Send Message
Posted Apr 16, 2012Thanks for the quick awnser! The zombie is spawning now, but the spawn_event doesn't stop when a mob was already spawned although I said.. Spawn no, unless the world_mob_class_count is below 1. A second mob shouldn't spawn with this config right? (My config is the same as in my last post)
-
View User Profile
-
Send Message
Posted Apr 16, 2012While the plugin is marvelous I seem to be having issues with my custom drops not working for my giants. They keep on dropping only 3 exp and no items. Is this a bug or should I go over my config again?
-
View User Profile
-
Send Message
Posted Apr 16, 2012@Xikage You can add a condition to block spawning if it's too close to players.
-
View User Profile
-
Send Message
Posted Apr 16, 2012@dexyh1234 It should be zombie not Zombie.
-
View User Profile
-
Send Message
Posted Apr 16, 2012Sorry, but I can't find the edit button for my previous post. I saw something was wrong but the problem still occurs. My config is now: http://pastebin.com/xSaSG0Th
-
View User Profile
-
Send Message
Posted Apr 16, 2012I've started with this plugin again and I have a question. my config: http://pastebin.com/s2b3yh10
It says no mobs are found in my config.. What am I doing wrong now?
-
View User Profile
-
Send Message
Posted Apr 16, 2012Could you add a player_not_within condition? I want mobs to spawn near players, but not on top of them. It would be nice if I could use player_within and player_not_within to have mobs spawn near, but not TOO near, people.
-
View User Profile
-
Send Message
Posted Apr 15, 2012@coldandtired
EDIT: its working now ever since I put a rule in the config
-
View User Profile
-
Send Message
Posted Apr 15, 2012@BtBtDev Yes and yes.
-
View User Profile
-
Send Message
Posted Apr 15, 2012I'm not understanding how regions work. Are they the regions defined by WorldGuard?
Also... with no configuration mob spawning is default right?
Thank You :)
-
View User Profile
-
Send Message
Posted Apr 15, 2012I will try to make a condition that is less Dynamic. I guess asking the server to count how many enderdragons is in the world is not ideal.