BurningMobs
Burning Mobs
This is an updated version of the original BurningMobs plugin by MCSpazzy. It allows you to set whether hostile mobs burn in sunlight, on a per-species basis.
Currently affected mobs
- Zombies
- Skeletons
- Creepers
- Spiders
- Endermen
Modify the entries in the configuration file to set which mobs should burn and which shouldn't.
Permissions
The only permission available at the moment is burningmobs.* This grants access to the burnmobs command.
Updates
Most Bukkit updates will not affect this plugin's actions, so the most recent BurningMobs update should function on Bukkit versions later than the one it was built for. However, if an issue does occur, let me know and I will update ASAP.
I've found a site for uploading the source code that doesn't need me to register: http://www27.zippyshare.com/v/83010958/file.html Feel free to take a look. I use Netbeans, so if you use it as well you can simply open the project.
Have you managed to track down the burning bug yet?
May be worth in the least showing McSpazzy the source as he offered to help (unless you have and he's clueless too :P).
I can add it if necessary, but I didn't see the need, as they are hardly ever exposed to sunlight (like Chaznuts said).
@pisti01
Slimes shouldn't be at ground-level though? Unless they spawn in a giant-drop cavern seen from ground level where the sun can be seen from inside, I really don't see the need.
Please make slimes to burnable!
@Meindratheal
Cool, cool! Keep me posted! :)
Any luck with finding what's causing the off-time and night burning bug? It's a little annoying :P
I'll look into this. Good job that NoLagg checks for errors in my code :D It could easily be solved by making the plugin use synchronous tasks instead of asynchronous, but this will slow the server down. I'll see if I can find an easier way to do this without using the main thread any more than I need to.
@Meindratheal
Errorlicious! Don't really notice any problems in game (besides the 30 second delay thing and occasional night burning), but here's the error I've been getting in console.
http://pastie.org/4070820
@Meindratheal No worries. If you ever need a hand with it just lemme know.
Well, I wasn't able to upload the source yet, and I don't have it with me at the moment. I hoestly have no idea how to do it within BukkitDev, so I'll just upload it to some file-sharing site when I next have it. I'm kinda stupid sometimes *facepalm*
@McSpazzy All thanks to your original mod :) I started by just fixing it for my server, then decided to put it up for other people to download.
Pew pew! Nice work keeping this alive =D
I'm not sure of the 'proper' way of doing this (I'm relatively new to BukkitDev), so I've just uploaded the source as another file, like the actual release builds. Sorry it took so long, I have to rely on public internet to upload these things, and we've just had a few days of bank holiday, which meant a longer delay.
I'll upload it when I next get the chance
@Meindratheal
I thought you could upload the source to dev.bukkit?
I don't know how much help I'd be to look. Maybe if you do release the source you can ask for someone to take a look in the forum?
Something I do notice (or did on the previous version, as I haven't tested this one out yet) is that spiders/creepers start burning later into the day, maybe 30 seconds, than skeletons/zombies/etc burn (the mobs that already burn with vanilla MC). This could be why Hanfox noticed that they stopped burning later, maybe 30 seconds.. could you have the time setup off a bit? Seems to make sense, but I'm not sure if you've noticed this problem yourself.
Hope it's not too much of a headache! Thanks for the updates and feedback. Keep it up! :)
I'm not sure what could cause it. There are two key components:
So you can see why I'm slightly confused :P If you want, I can probably upload the source somewhere, so people can take a look and see what they can find.
Wow, totally forgot about the bug, not traveled very far in my world to notice it. :P
It's hard for me to justify that it's broken as I use a custom version of bukkit that allows Modloader mods to work.
But, if you go creative and just fly around just after it goes night things like creepers or spiders may be burning.
See: http://han.avata.co.uk/other-mc/burningmobs-creepers-burn.png
I personally believe there's a chance it has something to do with things that are just on the edge of the distance of the server, but I don't see why that would matter.
As an extra note they generally won't stop burning until they're dead or find water.
EDIT: Just noticed a spider stopped burning once it was 100% dark (no horizon glow) whereas the normal burning mobs (skellies, zombies) had started to spawn for the night a good 30 seconds beforehand.
@Meindratheal
Every once in a while, I notice a spider burning at night.. Not sure what causes it, but it does happen for me occasionally as well..
Thanks for fixing the endermen thing as well! Will grab the new version when you upload it! I'll let you know if I find any more bugs. Keep up the awesome work!
@Chaznuts I've fixed the endermen problem, so that should be sorted. Also, I use ProperTime on my server, and I've had no problems. That's why I'm confused about the problems some people are having.
@Meindratheal
I'll be happy to test it for you if I see an update!
By the way, I was planning on using the plugin ProperTime and saw that Handox is having trouble with a day-time altering plugin (possibly). Once I get to adding it, I'll let you know if I have a problem with that (although I'm not planning on changing how long the days last, but can test it out if you would like).