StreetLights
Please update from 1.1.x! The /sl remove command isn't save! It allows you to remove other peopel's streetlights. It's fixed in 1.1.2
General
Always wanted to get working streetlights in your server? Now you can! Pick the lights you want to light up at night and presto! They will light up when it rains or when it's night.
By default the blocks will be Redstonelamp (offstate) at day and Redstonelamp (onstate) at night. The time they will be on is from 13000 till 0. These can all be changed in the config.yml (Version 1.0.2) To add multiple set of items to switch from just add a new line with two materials. (Please note that you shoudln't use duplicate materials)
Installation
Pretty straight forward here: Place the jar file in your plugin directory and you're good to go.
OP's have all permissions by default but if you want players to control the lights as well please give them permissions:
- streetlights.* (Everything EXCEPT: streetlights.admin)
- streetlights.admin (Allows the removal of other's streetlights)
- streetlights.create (Allows to create new streetlights)
- streetlights.remove (Allows to remove new streetlights)
- streetlights.save (Allows user to save the list with lights)
- streetlights.list (Allows user to view coordinate list of lights)
- streetlights.clear (Allows user to clear all the lights)
- streetlights.reload (Allows user to reload the config file)
- streetlights.info (Displays info about the clicked streetlight)
How to use
Create a Redstone lamp and use "/sl create" command. Then rightclick the blocks you want to light up at night (Redstone Lamps by default). When you're finished adding the lamps type "/sl create" again. If you wish to manualy save you can use "/sl save". (The list will automaticly save after every placed or removed streetlight). You "/sl remove" to remove streetlights from the list :)
Bugs
- Natural rain sometime doesn't trigger the lights.
- You cannot use REDSTONE_TORCH_OFF.
Can we see it in action?
I've created this timelaps on my server which shows the streetlights going on and off.
http:www.youtube.com/watch?v=EL7MQ2d-H40&feature=youtu.be
Source Code?
The sourcecode is available from GitHub: https://github.com/Koozza/StreetLight
User Videos
Some of the users made video's of the plugin. Here's some of them:
WoopaGaming (English)
MineraftBukkit (German)
TheBukkitTutorialsHD (German)
MinecraftPommes (German)
victormac737 (Spanish)
Special Thanks
Special thanks go to Craftiii4 for helping me with the REDSTONE_LAMP_ON state :)
-
View User Profile
-
Send Message
Posted May 21, 2012This is so much buggy! I had to set it up many times to make it working! Now, i have like 5 streetlights at my server, but some still keep somehow disappearing from the list. Also, the /sl update command simply doesn't work...
-
View User Profile
-
Send Message
Posted May 21, 2012I have this:
What can i do?
-
View User Profile
-
Send Message
Posted May 20, 2012@thijsd
Oh wow. I guess I should read more...
Thanks
-
View User Profile
-
Send Message
Posted May 20, 2012@xdeathoreox
The commands currently are "/sl edit start" and "/sl edit stop" that's why you are getting an error ;)
-
View User Profile
-
Send Message
Posted May 19, 2012http://dev.bukkit.org/paste/bko2wjg36czyrd0l/
iSafe is the thing that tells you what command is being executed.
-
View User Profile
-
Send Message
Posted May 19, 2012@calaham
Currently working on 2 addons :P
-
View User Profile
-
Send Message
Posted May 19, 2012thijsd since you have some coding experience, if you fixed the bug with streetlight maybe you could find a way to open Irondoors with an item? Or some other way to open them without redstone need. Looks crappy to have the floor full of redston circuits, all addons that do this are inactive by now.
or are you already working on something?
-
View User Profile
-
Send Message
Posted May 18, 2012@yurikoma
Didn't know it gave you so much errors :O Please PM them to me so i can fix them ASAP ;)
@Vauff
You should be able to just change GLOWSTONE in your config file to something else. About the particles I'm not really sure but ill try to look in to it for version 1.1 ;)
-
View User Profile
-
Send Message
Posted May 17, 2012@thijsd
so where are we supposed to report errors?
anyway, love the plugin, love the idea, but im gonna take it off of my server untill it stops spamming me with error messages like not being able to handle chunk_load or block_physics, but ill keep checkign back.
-
View User Profile
-
Send Message
Posted May 17, 2012@thijsd
I just came to think about something can bukkit plugins turn off particles on certain items? If so for torches you could have the particles taken off and remove the light it gives off. For redstone torches just a simple on and off. Is it possible to set the streetlights from doing off redstone lamp to on redstone lamp instead of glowstone? Not sure if this in config.
-
View User Profile
-
Send Message
Posted May 16, 2012@AJBill
You can only select blocks that are in your Config.yml (it gets created when you start the plugin for the first time :))
-
View User Profile
-
Send Message
Posted May 16, 2012@AJBill
1.0.6 seems to only work with Redstone Lamps ( http://www.minecraftwiki.net/wiki/Redstone_Lamp ) I seem to remember a previous version that had support for Glowstone.
-
View User Profile
-
Send Message
Posted May 16, 2012Hi,
Could anyone help me? I've typed /sl edit start and right clicked a few glowstones, then set it to night, then set it to day and they don't go 'off'. Do I have to use redstone lamps?
Alistair
-
View User Profile
-
Send Message
Posted May 16, 2012For turning off and on complex machines i use light detector http://dev.bukkit.org/server-mods/lightdetector/ . For decorative night time lighting that i do not want a crap load of redstone rigging being out in the open i use StreetLights.
-
View User Profile
-
Send Message
Posted May 16, 2012Okay /sl on and /sl off works. But it when I use /sl on the light from my friend goes also on. So every player must have an own list of redstone lamps. If not the command is useless.
-
View User Profile
-
Send Message
Posted May 16, 2012Bugs:
Requests:
-
View User Profile
-
Send Message
Posted May 16, 2012@thijsd I think he means a second option so...that all redstonelamps turn on in the night and all torches turn off in the day. At the moment you can only change all of one block kind to another block kind.
-
View User Profile
-
Send Message
Posted May 15, 2012For the bug light not always going on and off might just be because when chunk is unloaded stuff just happens. if u do redstone you can get a similar glitch. i have a redstone lamp roof with redstone ontome. and a clock attacked to it. half the redstone will be on while the other half wont be.
-
View User Profile
-
Send Message
Posted May 15, 2012@Vauff
What do you mean by torch support? If you want to set redstone torches instead of lamps, you can change it in the config :)
Edit: juist came to think of it that that indeed won't work :P Will do it in a feature update ^^
-
View User Profile
-
Send Message
Posted May 15, 2012@Vauff
Zip up the current jar and streetlights directory as a back up. Download 1.0.6 (I tested it before Thijsd released it) and overwrite 1.0.5 if it does not work to your satisfaction delete 1.0.6 and streetlights folder then unzip 1.0.5 and its folder.
I as mentioned I tested 1.0.6 before it came out. I have about 25 plugins installed. So far 1.0.6 has passed all my tests and I have yet to have an error on my bukkit console.