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 Jul 19, 2012does this work per worlds?
-
View User Profile
-
Send Message
Posted Jul 19, 2012ok ignore my last post, it has nothing to do with operating systems:
I did everything, first I got the same errors:
Error occurred while enabling Mobs v1.2.5 b35dev (Is it up to date?) java.lang.NullPointerException at me.coldandtired.mobs.L.log(L.java:343) at me.coldandtired.mobs.Main.load_xml_config(Main.java:246) at me.coldandtired.mobs.Main.onEnable(Main.java:486) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at net.skycraftmc.PluginManager.PluginManagerPlugin.onCommand(PluginManagerPlugin.java:131) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:550) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:546) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:620) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:589) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:464) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
20:42:57 [INFO] [Mobs] Enabling Mobs v1.2.5 b35dev 20:42:57 [INFO] [Mobs]
---20:42:57 [INFO] [Mobs] Autospawning mobs 20:42:57 [INFO] [Mobs]---20:42:57 [INFO] [Mobs] Bad XML formatting somewhere in the config file! 20:42:57 [SEVERE] java.lang.NullPointerException 20:42:57 [SEVERE] at me.coldandtired.mobs.L.log(L.java:343) 20:42:57 [SEVERE] at me.coldandtired.mobs.data.Autospawn_location.<init>(Autospawn_location.java:55) 20:42:57 [SEVERE] at me.coldandtired.mobs.data.Autospawn.<init>(Autospawn.java:45) 20:42:57 [SEVERE] at me.coldandtired.mobs.Main.load_xml_config(Main.java:141) 20:42:57 [SEVERE] at me.coldandtired.mobs.Main.onEnable(Main.java:486) 20:42:57 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 20:42:57 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) 20:42:57 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 20:42:57 [SEVERE] at net.skycraftmc.PluginManager.PluginManagerPlugin.onCommand(PluginManagerPlugin.java:168) 20:42:57 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 20:42:57 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 20:42:57 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:550) 20:42:57 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:822) 20:42:57 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:782) 20:42:57 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:765) 20:42:57 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106) 20:42:57 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 20:42:57 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 20:42:57 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:114) 20:42:57 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172) 20:42:57 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 20:42:57 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572) 20:42:57 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:464) 20:42:57 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 20:42:57 [WARNING] [Mobs] There was no data file found! StoppingThen I removed logging and forced spawning in the config. I tried regions, its broken, I tried x y z ranges, its broken. I ignored 17 of my 25 worlds, to the point where the entire dialogue stretched and I couldn't press "OK", its broken. I tried spawning cavespiders in a "mobstest" region with a hundred precent change to drop fire charges, spawn 3 every ten minutes, and other simple stuff. I added nothing complicated. At this point I rather deal with the old config with text (because its concrete than punctual) than the UI because it stretches to the point where I can't press anymore buttons. My biggest issue with the silverlight system is that you simply can't "default" a configuration on a dialogue. Some options are "either or" and confuse the hell out of me. Usually when you don't want to use/care about a feature you leave it blank. IE, If I wanted cavespiders to only spawn in the "TEST1" region, what do I do? I put the region in the region box, the world in the world box, but what do I do with the "AND/OR" button and the "ALL OVER/NEAR PLAYERS" button? Its confusing because I don't understand what those buttons are asking me to do when I have no other option to tie those options to. With most of my worlds disabled, spawning on xyz coordinates with ranges, a simple cavespider with fire drop charges, forced spawning, turned off logger, I get:
21:02:04 [SEVERE] java.lang.NullPointerException 21:02:04 [SEVERE] at me.coldandtired.mobs.data.Creature_data.<init>(Creature_data.java:57) 21:02:04 [SEVERE] at me.coldandtired.mobs.Main.load_xml_config(Main.java:185) 21:02:04 [SEVERE] at me.coldandtired.mobs.Main.onEnable(Main.java:486) 21:02:04 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 21:02:04 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) 21:02:04 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 21:02:04 [SEVERE] at net.skycraftmc.PluginManager.PluginManagerPlugin.onCommand(PluginManagerPlugin.java:168) 21:02:04 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 21:02:04 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 21:02:04 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:550) 21:02:04 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:822) 21:02:04 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:782) 21:02:04 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:765) 21:02:04 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106) 21:02:04 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 21:02:04 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 21:02:04 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:114) 21:02:04 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172) 21:02:04 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 21:02:04 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572) 21:02:04 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:464) 21:02:04 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
and now I also get this:
java.lang.NullPointerException at me.coldandtired.mobs.L.log(L.java:343) at me.coldandtired.mobs.Main.load_xml_config(Main.java:246) at me.coldandtired.mobs.Main.onEnable(Main.java:486) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at net.skycraftmc.PluginManager.PluginManagerPlugin.onCommand(PluginManagerPlugin.java:168) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:550) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:822) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:782) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:765) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:114) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:464) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Jul 19, 2012Is anyone else having the issue I'm having :/
I get errors no matter what I do
-
View User Profile
-
Send Message
Posted Jul 19, 2012I'm still getting that message, am I doing something wrong?
-
View User Profile
-
Send Message
Posted Jul 19, 2012Does this overwrite the generic vanilla health system for mobs even if you don't use any of the tools to modify mob properties?
I ask because I want to use this to modify mob spawn rates but I use plugins that rely on the vanilla mob health which would break if this plugin used it's own health system.
-
View User Profile
-
Send Message
Posted Jul 19, 2012Does Loot drop with Enderdragons not work? Wait, put something at 0% and it actually dropped . Does it work backwards, to where 99% = 1% drop chance, and 80% = 20% drop chance?
-
View User Profile
-
Send Message
Posted Jul 19, 2012@coldandtired
What a shame :( Yes I'm sure it'd put load on and maybe need to run in it's own thread. Guess I stick with MobBountyReloaded and try to cobble something togethor with Skript or VariableTriggers.
-
View User Profile
-
Send Message
Posted Jul 19, 2012b35dev is up - direct link
Fixed the NPE watdidyusaey was getting.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Server5000 Doesn't work that way. All (or pretty much all) 32-bit programs work fine on 64-bit machines.
Silverlight works with most browser and OS combinations.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@watdidyusaey Found and fixed :)
-
View User Profile
-
Send Message
Posted Jul 19, 2012I have a 64 bit pc so that might just be the reason it doesnt work for me cuz silver light is for 32 bit. Let me know if im wrong.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@confuz3d
Yes you can thats what the plugin can do mainly there a little subtraction sign that disables the mob from spawning. Although there may still be a couple after the mob is disabled
-
View User Profile
-
Send Message
Posted Jul 19, 2012@coldandtired
Thanks I greatly appreciate it.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@watdidyusaey I picked the images to keep the window size down, and also to make it easier for admins who don't read English so well.
The next version is much more verbose though, with far less on each page and bigger descriptions.
For spawn limiting, you need conditions. There is a region_mob_count, a chunk_mob_count, and a world_mob_count. Each of them can count the same type of mob, all mobs, or a specific type of mob in the region/chunk/world, and as many of them as needed can be combined.
-
View User Profile
-
Send Message
Posted Jul 19, 2012At first, the new config generator made me a bit frustrated in terms of how user unfriendly it is, but after reading the wiki and understanding how each menu works, I got the logic behind what everything does. Perhaps it would make users feel a bit more comfortable using the GUI if you made some of your giant buttons have text labels on them, underneath and not on hover.
Any input on mob limiting per chunk or per area? I have over 200 regions that need to be filled with different mobs that spawn every 2 minutes, how would I manage this properly by having them stop spawning if there are too many mobs? I remember seeing the chunk limiting somewhere, but I can't recall where I found it..
-
View User Profile
-
Send Message
Posted Jul 19, 2012@surfarcher Not at the moment, although it's possible to cheat a bit and accomplish much the same thing.
Those suggestions have crossed my mind before but the problem is that they are quite expensive for the server so I haven't been in much of a hurry to implement them.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@watdidyusaey Still looking at this one. It's on the list for tonight.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@sheepwool7 Life would be so boring that way! ;)
The next version is much more future-proof than the current one, but more importantly the app is becoming quicker and quicker to create a config (once you know what you're doing), and will allow me to either add a converter or template sections to make life easier.
-
View User Profile
-
Send Message
Posted Jul 19, 2012Just found this while researching plugins for building dungeons... Does it have any event-drive spawning? I can't figure that out from the pages or forums and I've spent a while looking.
I'd like to be able to spawn based on a square being entered, door opened, lever flipped or chest opened (I can think of a few other events too).
-
View User Profile
-
Send Message
Posted Jul 18, 2012So any input on my issue?