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 Feb 7, 2012can we maybe get an exp override for our harder mobs :)
-
View User Profile
-
Send Message
Posted Feb 7, 20121.9 b12 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Feb 7, 2012@t7seven7t If you're using auto_spawn it defaults to spawning every 60 seconds. Either add conditions to block certain spawns or increase the spawn_interval to a much higher number.
-
View User Profile
-
Send Message
Posted Feb 7, 2012@MysticRealms Just realised I'd only fixed that error for zombies (it's connected to burning) and not skeletons as well :(
I'll upload a fix in a few minutes.
-
View User Profile
-
Send Message
Posted Feb 6, 2012Okay so I finally found a time to do some live troubleshooting with finally getting around to updating the config. After a bit of troubleshooting I managed to get zombies and blazes in and working. Next was skeletons! I began my standard process of posting the entire section, then slowly removing things until it loaded successfully. For skeletons however, I reduced to the following:
and still got: http://pastebin.com/HY94hxVq version: b11
Edit: Just thought I'd mention that the errors occur when they try to spawn naturally as well. As soon as they spawn, they disappear and the errors are thrown.
I hope I didn't overlook something stupid again. Unfortunately it's difficult for me to do extensive testing because I have to do to it on the live server and thus doing it when lots of people are on is troublesome >.<
I can't wait to finally be done with this conversion. You better never change the format ever again! This is torture! :) Haha, I'm just kidding :P
-
View User Profile
-
Send Message
Posted Feb 6, 2012@t7seven7t
Look into adding a world count condition. It's in the documentation.
-
View User Profile
-
Send Message
Posted Feb 6, 2012I have a problem with this plugin spawning excessive amounts of mobs, like 40k+ with only a few players on the server. Yet when this plugin is removed only 1500 mobs are spawned.
-
View User Profile
-
Send Message
Posted Feb 6, 2012@Mastermat666 You're using quite an old version of Mobs so you should try updating and see if the problem still exists.
I would also recommend that you do the opposite and disable creeper protection in SafeCreeper and let Mobs handle it, as it does it much more efficiently.
-
View User Profile
-
Send Message
Posted Feb 6, 2012Hi,
I'd like to know if it'd be possible to have an option to disable the plugin on certain mobs. For example, I use the plugin SafeCreepers to cancel the creeper's explosion block damage. But each time a creeper blows up, Mobs throws a ton of error messages.
-
View User Profile
-
Send Message
Posted Feb 6, 2012@gummby8 Yes. Mobs spawned by the plugin can have different stats to other mobs.
-
View User Profile
-
Send Message
Posted Feb 6, 2012I am looking for a mod that will allow me to customize HP/dmg for only certain mobs that are spawned
I want to use it as a sort of "boss" creator for dungeons, so if I want a zombie that will do 10 HP of dmg and have 200HP. but I don't want every zombie in existence to be that strong.
Will mobs do this?
-
View User Profile
-
Send Message
Posted Feb 6, 20121.9 b11 is up - direct link
Changes
-
View User Profile
-
Send Message
Posted Feb 6, 2012@N0sferat0 I would be very surprised if Mobs was doing that all on its own :)
Can you confirm with the latest update (b11) and post your whole config file if the problem is still there?
-
View User Profile
-
Send Message
Posted Feb 6, 2012@coldandtired
thanks boss.
yaml = facepalm
-
View User Profile
-
Send Message
Posted Feb 6, 2012general: hp: [350] safe: no destroy_blocks: no create_portal: no auto_spawn: - spawn_event: quantities: [1] where_to_spawn: - location: worlds: [moria, ground_zero] spawn_rules: spawn: no unless: - condition_group: game_times: [above 23000] percent: [1] death_rules:spawn 5 enderdragons and many more creatures at world x=0 y=0 in just a few seconds and kept spawning mobs until it couldnt spawn more? so many mistakes in my tagging?-
View User Profile
-
Send Message
Posted Feb 6, 2012@GarretSidzaka Your auto_spawns aren't indented properly. It must be
-
View User Profile
-
Send Message
Posted Feb 6, 2012ok i got this: 2012-02-06 02:37:34 [INFO] [Mobs] Loading Mobs v1.9 b10. 2012-02-06 02:37:34 [SEVERE] java.lang.NullPointerException 2012-02-06 02:37:34 [SEVERE] at me.coldandtired.mobs.Auto_spawn.<init>(Auto_spawn.java:27) 2012-02-06 02:37:34 [SEVERE] at me.coldandtired.mobs.Main.setup_spawns(Main.java:355) 2012-02-06 02:37:34 [SEVERE] at me.coldandtired.mobs.Main.onEnable(Main.java:105) 2012-02-06 02:37:34 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) 2012-02-06 02:37:34 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) 2012-02-06 02:37:34 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) 2012-02-06 02:37:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) 2012-02-06 02:37:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) 2012-02-06 02:37:34 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) 2012-02-06 02:37:34 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) 2012-02-06 02:37:34 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) 2012-02-06 02:37:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) 2012-02-06 02:37:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 2012-02-06 02:37:34 [SEVERE] Error occurred while enabling Mobs v1.9 b10 (Is it up to date?): null java.lang.NullPointerException at me.coldandtired.mobs.Main.onEnable(Main.java:117) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
using this:
-
View User Profile
-
Send Message
Posted Feb 6, 2012@watdidyusaey Should be, it hasn't changed for a while. This should do what you want
-
View User Profile
-
Send Message
Posted Feb 6, 2012@MysticRealms You have no spawn_rules there. It needs to look like this:
The unless key is connected to the spawn key, and both must be inside a spawn_rules block.
If the spawn_rules block is inside a spawn_event, it will apply to the mobs spawned by that event only. If the spawn_rules is inside the mob block it will apply to all mobs of that type, no matter how they spawn.
-
View User Profile
-
Send Message
Posted Feb 6, 2012@gabizou That error is telling me there is a mistake in the world and/or region name. Are you sure they are spelled correctly (case is important) and that region exists in that world?