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 May 10, 2012@coldandtired
thanks for the sourcecode :D
-
View User Profile
-
Send Message
Posted May 9, 2012<<reply 697461="">>
Alright, i'm gonna test that version soon. (As soon as i figure out which cache the silverlight app is using.)
Meanwhile: Did you check into adding True Damage (armor ignoring) for mobs and ghast fireball explosion sizes? (I appreciated the ability in Monster Apocalypse to increase that, to make them more dangerous for regular blocks as well.) :)
-
View User Profile
-
Send Message
Posted May 9, 20121.2.5 b2dev is up - direct link
Plugin Changes
+ Re-enabled autospawning. It's a little complex so I'll be doing the tutorial for that tonight
+ Removed all old code so the old config is no longer recognized.
+ Updated the source code on Github
Config App changes
+ Added a lot of validation to keep bad inputs down
+ Moved a couple of things around
+ Finished the death messages part (they're still disabled in the plugin at the moment)
+ Added a couple of options
You'll need to recreate some of the config with the app (depending on what was in the old config). Click the about button to make sure the app is compatible with this plugin (clear your cache if it isn't).
-
View User Profile
-
Send Message
Posted May 9, 2012@naskapal The source is on Github - https://github.com/coldandtired/Mobs
However, that's the code for the old version. I'll be uploading the new code sometime this afternoon so I would would recommend waiting for that.
-
View User Profile
-
Send Message
Posted May 9, 2012hello, can i have the sourcecode for this plugin?
i want to make plugin like this, but i don't know where to start, since i'm very new to java
i promise i'll credit you if i publish plugin like this..
thanks (if i can't get it, it's okay, i still love your plugin, i'll use this in my server)
-
View User Profile
-
Send Message
Posted May 7, 2012@BEQOsNtDi6xRDGzqIAT7 Guaranteed :)
Each page used to have specific information but I got fed up with changing it when I changed the app so I made all links point to that example screen.
There's also a tutorial which I've started and will continue later tonight.
All will be explained (but probably not until after I've got it all working correctly with the plugin).
-
View User Profile
-
Send Message
Posted May 7, 2012So, given the complexity of this plugin... what are the odds of getting a good help system inbuild into the config program? :D (Something that actually explains what each function does instead of the current static "Yo, this colored field allows for this format of values" and provides examples.)
-
View User Profile
-
Send Message
Posted May 7, 2012@Reddeed It means you've set some mobs to safe and creepers to powered. Both can be adjusted in the mob properties section (the heart button).
-
View User Profile
-
Send Message
Posted May 6, 2012Hey, I'm back again with a new problem (Sorry!) But for some reason all of the hostile mobs are not attacking and all of the creepers are charged creepers, How do I fix this?
-
View User Profile
-
Send Message
Posted May 6, 2012@Reddeed Light level is a condition, which means that if it's present the light level of the current block will be checked and if it matches the condition (above 4, below 10, 5 to 7, etc.) it will return true.
Any outcomes that use this condition can therefore have different values (e.g. when a mob dies on a block with light level 8 it drops something different than if it died on a light level 7 block).
Currently the boxes in the config app will accept anything. I'm adding code to stop bad inputs (right at this moment actually :) ) from being allowed. If you click the help icon on most windows it shows what kind of inputs are allowed in each box.
-
View User Profile
-
Send Message
Posted May 6, 2012Or do I have to put in " 1 to 5 " would it work or would the amount box not register it? Oh, And I'm using the config program, I'm using the "End of YML" Thing :P
-
View User Profile
-
Send Message
Posted May 6, 2012Another question is, If I put the light level seven, Will mobs that are set to light level seven spawn below light level seven?
-
View User Profile
-
Send Message
Posted May 6, 2012@Reddeed It has to be 1 to 2 not 1-2. There's also a bug in the spawn times -> amount box which doesn't recognise 1 to 2.
-
View User Profile
-
Send Message
Posted May 6, 2012Urr...I seem to be getting an error after I load it 02:18 PM [SEVERE] java.lang.NumberFormatException: For input string: "1-2" 02:18 PM [SEVERE] at java.lang.NumberFormatException.forInputString(Unknown Source) 02:18 PM [SEVERE] at java.lang.Integer.parseInt(Unknown Source) 02:18 PM [SEVERE] at me.coldandtired.mobs.old.Utils.fill_int_properties(Utils.java:77) 02:18 PM [SEVERE] at me.coldandtired.mobs.data.Item.<init>(Item.java:29) 02:18 PM [SEVERE] at me.coldandtired.mobs.data.Drops.<init>(Drops.java:52) 02:18 PM [SEVERE] at me.coldandtired.mobs.data.Outcome.<init>(Outcome.java:62) 02:18 PM [SEVERE] at me.coldandtired.mobs.data.Creature_data.<init>(Creature_data.java:38) 02:18 PM [SEVERE] at me.coldandtired.mobs.Main.load_xml_config(Main.java:163) 02:18 PM [SEVERE] at me.coldandtired.mobs.Main.onEnable(Main.java:303) 02:18 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 02:18 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) 02:18 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 02:18 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) 02:18 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) 02:18 PM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371) 02:18 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358) 02:18 PM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) 02:18 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) 02:18 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted May 6, 2012Thanks!
-
View User Profile
-
Send Message
Posted May 6, 2012@Reddeed You're still using the old version. The latest version is incomplete and only for testing at the moment, but if you're happy to play around go for it! :)
-
View User Profile
-
Send Message
Posted May 6, 201202:10 PM [INFO] [Mobs] Loading Mobs v1.2.4 b4 02:10 PM [INFO] [Mobs] Enabling Mobs v1.2.4 b4 02:10 PM [INFO] [Mobs] No WorldGuard found! 02:10 PM [INFO] [Mobs] No mobs found in the config - stopping!
-
View User Profile
-
Send Message
Posted May 6, 2012@Reddeed Are you using the 1.2.5 b1dev version? What does your console log say when the plugin starts?
-
View User Profile
-
Send Message
Posted May 6, 2012Th ank's for the answer, I placed the Data.Mobs but the changes haven't come into effect. Why is that?
-
View User Profile
-
Send Message
Posted May 6, 2012@BEQOsNtDi6xRDGzqIAT7 Thanks. I found the bug.
Yes, it's disabled while I get the location part finished. It's pretty close so hopefully later tonight or tomorrow morning it will be done.