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 Sep 16, 2012Awesome plugin! I've got it running for my server's spawn!
-
View User Profile
-
Send Message
Posted Sep 15, 2012@soulscapex
Haven't tested this, But I don't think so. It supports everything from the Material list, so unless tekkit adds them to these list, it won't support it. (http://jd.bukkit.org/apidocs/org/bukkit/Material.html)
-
View User Profile
-
Send Message
Posted Sep 15, 2012is ther a way to add other lamps.... such as those that come with tekkit
-
View User Profile
-
Send Message
Posted Sep 10, 2012You should make it so it can be configured by light level or Night or both!
-
View User Profile
-
Send Message
Posted Sep 4, 2012thanx workin great.on tekkit
-
View User Profile
-
Send Message
Posted Aug 30, 2012Great plugin! Saw it on woopagaming and thought I would try it on my server. Works great!
-
View User Profile
-
Send Message
Posted Aug 26, 2012@haynzee
http://dev.bukkit.org/server-mods/streetlights/tickets/1-severe-could-not-pass-event-weather-change-event-to/ :)
-
View User Profile
-
Send Message
Posted Aug 26, 2012@thijsd
Hiya I am getting an error when I start the server. I have created a ticket with the error log don't want to fill up the comments :)
Haynzee
-
View User Profile
-
Send Message
Posted Aug 24, 2012@thijsd
Hey, thanks for quick reply, it seems it works ok if I don't force the time. I.e I run essentials, if I do a /time night only the lights in my loaded chunks work but I just tried letting the time change naturally and it appears I don't have the bug, so that is more than fine for me. Again thank you for such a wonderful plugin :)
-
View User Profile
-
Send Message
Posted Aug 24, 2012@haynzee
Hey, yeah this is a known problem for me since 1.3.1. Im working on a new update to fix that problem :)
-
View User Profile
-
Send Message
Posted Aug 24, 2012Hi @thijsd I'm having a problem with the lights. I have set them up in a rather large city. If I am not in the area of the chunks that the lights are in when night arrives the lights are not showing as on unless I right click them. Only then will they appear on. It's like they are not working if a chunk isn't in view when it goes to night time. Any ideas because I love the idea of this plugin.
Edit; This is only when the lights are meant to be shown on they go off perfectly.
-
View User Profile
-
Send Message
Posted Aug 24, 2012WOOPAGAMING DID A VID!
http://www.youtube.com/watch?v=SKaZoKrJ8bE&list=UUZiediOrrF5x47e2loeHZAw&index=1&feature=plcp
-
View User Profile
-
Send Message
Posted Aug 20, 2012I just found one bug. The function that the lights go on when rain is fallin' doesn't work :( But I dont need it ! :D
Waiting for the new version :)
-
View User Profile
-
Send Message
Posted Aug 20, 2012@thijsd
Thank you ! I look for some bugs to tell you :P
-
View User Profile
-
Send Message
Posted Aug 20, 2012@crossiron94
http://dev.bukkit.org/server-mods/streetlights/files/12-street-lights-1-1-2-1/ Haven't tested it though :P
-
View User Profile
-
Send Message
Posted Aug 20, 2012@thijsd
That would be great. You can still upload v1.1, when u finished it ;)
-
View User Profile
-
Send Message
Posted Aug 20, 2012@crossiron94
I can compile it for 1.3.1 R2 if you like, but version 1.1 isn't done yet :P
-
View User Profile
-
Send Message
Posted Aug 19, 2012When will the update for 1.3.1 R2.0 come ?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@thijsd
:P Get it done already will ya ;) Jk jk :) hahaha good luck thats all
-
View User Profile
-
Send Message
Posted Aug 11, 2012@Zeluboba
Jup I noticed this as well in 1.3.1 I am working on the next version right now :) (But I am rewriting all the code, since I am adding allot of new features :))