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 Aug 11, 2012@dexyh1234 I had a quick try before but I couldn't get it to work properly.
The problem is that there are no such things as SpiderJockeys in Minecraft, they're just Skeletons floating above Spiders. This means that it's very hard to detect them spawning and adjust for them.
-
View User Profile
-
Send Message
Posted Aug 11, 2012Is it possible to spawn spiderjockeys? I can't find the option, but I might be overlooking it
-
View User Profile
-
Send Message
Posted Aug 10, 2012I try to spawn extra mobs in certain biomes but they aren't spawning when i add a biome. I have tried multiple settings but it doesn't seem to be working at all.
Here is my config for snowman that i tried to spawn in ice_plains in my main world. But it doesn't spawn anything http://pastebin.com/vZ128yHG
And all default drops are completely broken for me. They only drop things when you add xx drop like drop air and then add to defaults then it work but if you leave out any of the item drops configs then nothing will drop. All my mobs aren't dropping anything now. Like if you add this it does spawn the defaults but without it it drops nothing.
Also have to mention that i'm using TerrainControl what have custom biomes but ice_plains is default anyway. And if i leave out the biome all works fine.
-
View User Profile
-
Send Message
Posted Aug 10, 2012I made a new config which only affects monsters' health and damage in a single specified world. Still, no monsters ever drop any loot in any world. Here's the config:
Config
-
View User Profile
-
Send Message
Posted Aug 9, 2012@coldandtired
How can I solve that problem?
Ah and another thing, can you add in the autospawn part, a default option, because I don't know how many and how often mobs appears in vanilla minecraft...
-
View User Profile
-
Send Message
Posted Aug 9, 2012@Cecelo126 Safe only works on mobs that are normally hostile, so setting safe: no won't really do anything.
Safe: yes will stop zombies, skeletons, etc, from targeting players, and creepers from exploding.
I'll look at the snowman thing tomorrow.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@CountIgor Can you post your config somewhere? I don't think anything changed regarding conditions recently (I even checked that the new lunar phases conditions worked yesterday).
-
View User Profile
-
Send Message
Posted Aug 9, 2012@Xikage I think I know how to fix this. I'll give it a go tomorrow.
At least I'm getting a hard time about something I can improve, rather than the dozens of malformed YAML files I was being sent before :)
People think the permissions configs are complicated, but they are just lists, usually two levels deep. The Mobs config is 7 or 8 levels deep I think, and looks far more like an untidy tree.
The difference between version one and two of the config (it's currently version three) was that I added 'title nodes' to make the file more readable. Unfortunately, this means the indentation became more complicated, so the number of complaints and errors didn't really change.
YAML uses the hyphen to separate objects in a list, so it looks like this:
players:
- John
- Richard
- Bob
But it can also do this
players
- name: John
age: 20
job: builder
- age: 40
name: Richard
job: doctor
- job: teacher
age: 33
name: Bob
The order of the keys doesn't matter as it's the hyphen that tells the parser where one object finishes and another starts. With all the mob property values it seemed most admins couldn't reliably format the file. So I changed it to this:
players:
- player:
name: John
age: 20
job: builder
- player:
name: Richard
...
Multiply that by drops, exp, conditions, etc. and the config became pretty unpleasant. None of it is necessary for the plugin because the parser already knew what each player object was.
From early examination, I would say the new config (four) is still easier to write by hand than the equivalent YAML, even without any app.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@keenerb If you get them to tell you what file types are allowed I can add them. I made it a custom type to stop users accidentally loading the wrong files.
-
View User Profile
-
Send Message
Posted Aug 9, 2012Starting the server I got this: Error
If I set Safe?:NO the mob will or not attack the players?
Can you please add an option to change the damage of Snowmen? By default they do 0 damage...
-
View User Profile
-
Send Message
Posted Aug 9, 2012I've been using this plugin to avoid drop lag from mob traps on my server, but since 1.3 came out, my conditions won't work. Whatever condition I select, the drop event happens regardless of the situation - if the condition is met and also if it is not. I really hope this can be fixed. 'Mobs' is an awesome plugin =)
-
View User Profile
-
Send Message
Posted Aug 9, 2012This is the best plugin for mobs, period.
I am using a lot of conditions probably more than I should be, but I have a really complicated mob table thanks to you! :D I'll keep playing around and report back as usual, thank you for this awesome work!
-
View User Profile
-
Send Message
Posted Aug 9, 2012It is laggy only at the 30 second intervals. The server will freeze for a couple seconds at each interval and then throw a Can't Keep Up error, even when using only one autospawn. If I don't use any autospawns but use the other features there is no lag at all.
Also, thanks for all your hard work. People seem to have been giving you a pretty hard time lately, but I personally think the silverlight app is really nice. It takes just as much effort to drag and drop a file on FTP than it does to right-click and open a YAML file in a text editor. I just want to help get the lag issues sorted out so I can keep using this awesome plugin.
-
View User Profile
-
Send Message
Posted Aug 9, 2012Sorry, coldandtired, I've tried to get the hang of your xml file, but it's just too much hassle.
Neither of the two hosting providers I use for my servers even recognize the config file as an editable plugin config, which means I can't use my phone/tablet for tweaking settings (which is my primary server admin device.) And even on my desktop I have to ftp in, download the file, load it into Silverlight, tweak it, export it, FTP it back up to the host.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@Xikage If it's spawning 1 mob every 30 seconds, is it laggy the whole time or only at 30 second intervals (or whatever the autospawn interval is set to)?
-
View User Profile
-
Send Message
Posted Aug 9, 2012@GrnEyedDvl It's a text file and can be edited in any text editor.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@ElectricFlux This is the reason I don't spend more time on documentation. Many people are sadly too ignorant or lazy to read even the bare minimum.
None of the commands worked? There's only one, which is very clearly documented a short distance above this post. Of course, being too lazy to read the wiki you will have no clue what the command means anyway.
"I looked up the tutorial on your wiki only to find I needed to setup an entire log file just to get the plugin working. There was no information whatsoever about what to do if you only wanted to spawn mobs."
Setup a log file? Assuming you mean config file, how is this different than any other plugin? Maybe I should release an idiot's version for users like you, with only one setting 'spawn_mobs?: yes'. That should cut down about 10,000 lines of code. I assume that Minecraft magically knows exactly how many mobs, which type, and where and when to spawn them?
"At the very least you should have a default data file"
Tell me the defaults and I'll make one. The logical meaning of default is that nothing is changed, which is exactly how it works already.
-
View User Profile
-
Send Message
Posted Aug 8, 2012@confuz3d
I've been using Near Player with 15,15,15 minimum and 80,100,80 maximum
-
View User Profile
-
Send Message
Posted Aug 8, 2012@ElectricFlux
The fact you don't understand how the plugin works doesn't mean people shouldn't try it.
@Xikage
This happenned to me when using wrong coords in the auto spawn options, what did you put in here?
-
View User Profile
-
Send Message
Posted Aug 8, 2012I did some testing and the horrendous lag only occurs if I use any auto-spawns. Modifying normal mob properties and using conditions works fine, but if I add a single auto-spawn the server becomes extremely laggy and unstable, even if it's only spawning like 1 mob every 30 seconds.