Plugin category: not sure Suggested name: Lamp Flicker What I want: Right clicking a redstone lamp will change it into a flickering redstone lamp. A config file will determine the frequency of OFF and ON states. The config file will will have a line that will say: ON: <LowerValue> <HigherValue> The values you put would be used to generate a random number between the LowerValue and HigherValue that the lamp would stay on for (number of ticks, or seconds depending on what you think would be best). The second line would be: OFF: <LowerValue> <HigherValue> ...and would function the same as above but instead for the off state of the lamp. Each time the state would change it would generate a new number for the delay (in the range specified in the config) till the next state change. Additionally it might be cool to have the lamp in the ON state provide power to nearby redstone. Then it could power a modded juke box that plays the florescent buzz sound. This is optional. My vision is to use this in a horror SCiFi map. This should create some nice ambiance. Ideas for commands: No commands needed for this plugin unless you would prefer to use a command to change a lamp to a flicker lamp by looking at and running that command. Ideas for permissions: lampflicker.create By default only ops can create. When I'd like it by: At your leisure. Edit1: Updated it with the range idea I mentioned below.
The flickering would cause the Minecraft client to recheck the lighting for every time the state changes, causing fairly large fps lag!
Thanks for the reply. ya, I figured as much. I wasn't planning using too many and they would tend to be used in small confined areas. perhaps the config file should have a range for each ON/OFF state. Like: ON: 3-7 OFF: 5-10 (above #'s are in seconds would obviously be large if it used ticks)
LOL. Ya, I want it to look like in the movies where you are walking through a damaged spaceship hallway and lights are flickering on and off to create a more tense and scary atmosphere.
antikx You can still do some magic with this with redstone. Now, of course, I don't know how to do random delays between the redstone power being sent, but I'm sure Google knows.
Ya, thank you. There is some stuff out there... like this: The problem is that it will take up a lot of room and will be quite challenging to get this circuit to all the locations where these lamps will be located.
This doesnt create random delays. It is possible to make random delays with redstone, but it will take quite alot of room.
Here is a test: http://www.4shared.com/get/n1WWBfN1/FlickeringLamps.html If you need more plugins for your next project pm me =)
Thank you! I will give it a try tonight. Appreciate the help! Hello. I'm struggling to get it to work. Could you kindly walk me through what I should be doing? I figured out that it requires vault. Is there anything else I need? I've tried putting a redstone torch on all six sides of the lamp, I've tried wiring it up to active red stone powder. Hmmmm... I hope I'm not missing something obvious EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ohh sorry i forgot to tell you how it's works =S First you need permission: FlickeringLamps.create And a stone in your hand (changeable in the config) Right click on a redstone lamp with the stone and it will flick. Currently only works with redstone,so it's power the redstones around it in 4 direction.
Ya1 it works! thanks. Good job. As an added bonus you can put one drop of redstone on the other side to power on something else when the light goes on. cool!