Plugin category: Fun Suggested name: Frostbite What I want: Id like it so when this plugin is in the server that there is no sun!!!! every time it is close enough to be day it resets to pure night. I also want it so there is random frostbite periods every 20 mins in the server, Every player experiences frostbite. What happens? well a Message broadcasts to the server "[Warning] Temperature dropping!!! Get to shelter immediately!" <-- This message will pop up 3 mins before the 20 min mark when frostbite is supposed to happen. Then when frostbite hits i want every player to hear a noise you can chose the sound Please chose something scary. Then when frostbite hits i want every players food levels to start dropping faster than it should so they lose a half a food bar every 5 seconds, then i want them to lose half a heart every 10 seconds no matter if their food is all the way up. but it stops when they're at 1 heart left!! the frostbite lasts for 30 seconds. I don't know if this is possible to make but id like to see it be made Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin. When I'd like it by: Today.
@CheifKeef The first part can be done with this: /gamerule doDaylightCycle false and then this: /time set 18000 It is difficult to code what a 'shelter' is, and players being players, they will try and exploit this.
@pie_flavor yes might be but he are talking about protecting player from frostbite . so I thought it was an shield
I'm not sure how I can detect a 'Shelter' Other than that. I guess I can make it. Maybe I can detect if the player is near a fireplace or something ? Or maybe check his Light Level?? What Do you think, Fireplace will be harder than Light level. Please inform me and then ill be ready to make it.
@CheifKeef Torches are too easy, a player could just carry like a stack around with them and just light up the area they're in. imho it should be like within a 4 block radius of 2 blocks of fire.
So, You want a frostbite to happen at a RANDOM rate. It should warn you 3 minuted before and it lasts for 20 mins. Can you tell me what should be the chance of it happening each second? EDIT: 70% done. Now its time for the fire detection.
Yes i want it to happen randomly and don't make it last 20 mins make it last maybe 5-7 mins and the chance of happening each second? I don't know About each second maybe like 15% or something like that
@CheifKeef @_Error It's a good thing to use the barrel method. Every so often, like 2 minutes or so, it will test for a 1/x chance, and after x tries it is forced automatically. The counter is reset whenever it happens.
Oh wow i don't want it to be that close apart i want it to happen maybe 2 times 1 minecraft day, whatever you think is the best way to do it
Minecraft 20 minutes? EDIT: Done I'll make the configs and tweak it a little, Remove the debug messages then post it
http://dev.bukkit.org/bukkit-plugins/frost_bite/ I think it deserved to be uploaded to the bukkit. However I think there's 1 bug that it does not stop at the 1 heart, I think sometimes. Don't only thank me, say thanks to @BurnyDaKath who helped me with the detection of the fire I had issues with that. I did not implement the always night thing. You can do what @pie_flavor said. If you have issues with it I will add it in the next update. EDIT: Sorry forgot the scary noise. Will be fixed in the next update.
No problem, Im working on adding language support for like 10 plugins. Keep yourself updated, As I said, There's a bug that you loose hunger if you're close to the fireplace, And you wont when far away. Ill fix that in the next update, Maybe tmrow or after tmrow.