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 Jan 24, 2012@GarretSidzaka It's probably caused by having a base.y of 120 and a range.y of 115, which effectively means a minimum y of 5 and maximum of 235.
I'm not sure what the state of heights over 128 is at the moment.
-
View User Profile
-
Send Message
Posted Jan 24, 2012@tappestry No. The shortcut is to be able to do /spawn_mob <shortcut>, in order to test the config or just use it manually instead of relying on the scheduler.
-
View User Profile
-
Send Message
Posted Jan 24, 2012im getting that error and i cant get anything to work. here is my configs! oh great mob-master can you correct them
spawner_list: - spawn_event: mobs_to_spawn: names: [ghast, giant] quantities: [1, 2 to 3] where_to_spawn: world: MineSworn4 base: {x: 0, y: 120, z: 0} range: {x: 4000, y: 60, z: 4000} shortcut: g - spawn_event: mobs_to_spawn: names: [pig_zombie, blaze, cave_spider, mushroomcow, silverfish, snowman, magmacube, skeleton, zombie] quantities: [3, 5 to 7] where_to_spawn: world: my_world base: {x: 0, y: 120, z: 0} range: {x: 4000, y: 115, z: 4000} shortcut: m - spawn_event: mobs_to_spawn: names: [creeper] quantities: [1, 2 to 3] variant: powered where_to_spawn: world: my_world base: {x: 0, y: 120, z: 0} range: {x: 4000, y: 115, z: 4000} shortcut: c
spawns_list: - names: [pig_zombie, blaze, cave_spider, mushroomcow, silverfish, snowman, magmacube, skeleton, zombie, ghast, creeper, giant] conditions: - percent: 95 world_types: [normal, nether]
deaths_list: - names: [giant] drop_chances: - percent: 100 drops: - names: [diamond,iron_ingot] quantities: [1]
burn_mobs: - {world: MineSworn4, burn_type: never} - {world: Skylands, burn_type: never} spawns_type: allow
-
View User Profile
-
Send Message
Posted Jan 24, 20122012-01-24 01:16:17 [WARNING] Task of 'Mobs' generated an exception java.lang.NullPointerException at me.coldandtired.mobs.Loc.get_location(Loc.java:56) at me.coldandtired.mobs.Mob_spawner.spawn_mobs(Mob_spawner.java:67) at me.coldandtired.mobs.Mob_spawner.run(Mob_spawner.java:81) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Jan 23, 2012hey cold if you are on I had a question? I am going to use a general spawner coding here, if I place the shortcut as C, I can set a mobspawner item to C and then it will spawn whatever C is right?
-
View User Profile
-
Send Message
Posted Jan 22, 2012@coldandtired
I want to control what mobs spawns in the world, as in: where they spawn, what conditions are required (powered vs. unpowered creeper, if rain is needed to spawn, etc.), and the chance to spawn over other mobs. I looked through your help files but without a template to follow (as well as how you set up the YML hierarchy), I am just stabbing in the dark with the config. I have seen so many different examples here that others have posted that I do not know what is right and wrong. Please help me clarify this.
-
View User Profile
-
Send Message
Posted Jan 22, 2012@dexyh1234 It's not quite right - check here for comparison.
-
View User Profile
-
Send Message
Posted Jan 22, 2012@coldandtired
I think so: http://pastebin.com/qTh1hp4b
-
View User Profile
-
Send Message
Posted Jan 22, 2012@dexyh1234 It looks okay. Is the indentation correct?
-
View User Profile
-
Send Message
Posted Jan 22, 2012@Nuinethir That config is very wrong if you're using the spawns file. What do you want to do?
-
View User Profile
-
Send Message
Posted Jan 22, 2012@tappestry The dash shows it's an entry in a list. Unfortunately, when you ask a YAML file to get the entries in a list, it's not intelligent enough to recognise a single value and return that, so even if there is only one entry it needs to use the list notation.
TF2 = Team Fortress 2. Give it a try if you want a break from Minecraft (it's free!) :)
-
View User Profile
-
Send Message
Posted Jan 22, 2012Ok, I tried that, but my console still says my spawner.yml is empty. I didn't change anything else since the last post. I do get serveral more errors now though. Spout isn't really coöperating either.
-
View User Profile
-
Send Message
Posted Jan 22, 2012@dexyh1234 The top level node of the spawner.yml file should be spawner_lists, not spawns_lists.
-
View User Profile
-
Send Message
Posted Jan 22, 2012I still can't get it to work. Right now I have in my spawner.yml:
spawns_list:
- spawn_event:
mobs_to_spawn:
names: [pig]
quantities: [100]
where_to_spawn:
world: World
base: {x: 1284, y: 67, z: 43}
range: {x: 10, y: 3, z: 10}
and in my spawns.yml
spawns_list:
- names: [pig]
conditions:
- percent: 100
biomes: [Plains, River, Forest, Desert]
player_within: {x: 50, y: 50, z: 50}
My console is saying that my spawner.yml is empty. Can you tell me why? For some reason I have the feeling it's blocking pig spawns in the biomes I wrote in the spawns.yml. I have no idea though how I would need to change it so that they only spawn in those biomes.
Again, thx in advance!
-
View User Profile
-
Send Message
Posted Jan 21, 2012@coldandtired:
Can you please take a look at my spawns.yml config and tell me why the default mob spawns are overriding this file? I am guessing that I set this up correctly; the setup pages you have are pretty vague, so I am taking this off of other examples I found.
Pastebin here: http:pastebin.com/87R6SQHp
-
View User Profile
-
Send Message
Posted Jan 21, 2012@coldandtired
That is fantastic. How does a dash cause so much headache!!! I love you coldandtired best mod ever and if I knew what TF2 was Id give you all my items lol
-
View User Profile
-
Send Message
Posted Jan 21, 2012@tappestry It needs to be - outcome.
-
View User Profile
-
Send Message
Posted Jan 21, 2012Got this right now and still dropping blaze rods. Config, spawner and spawn are left blank.
-
View User Profile
-
Send Message
Posted Jan 21, 2012@tappestry The values need to be in the list format, which means surrounding them with [] (except percent)
-
View User Profile
-
Send Message
Posted Jan 21, 2012the other files are blank, but I think that is correct if I want to use just the regular spawn intervals I assumed?