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 13, 2012@crossiron94
Good to hear that it works :)
-
View User Profile
-
Send Message
Posted May 13, 2012I tried 1.0.5 and it works, thanks :D
-
View User Profile
-
Send Message
Posted May 13, 2012The plugin doesnt work ! When its night the redstone-lamps went on for a short time but then they went off. And thats the whole time !
How can I fix it ? :S
-
View User Profile
-
Send Message
Posted May 13, 2012@thijsd
If you need help on this, let me know, I'll lend a hand, Simply because this will work amazing on my RP Economy Server.
64.31.14.238
-
View User Profile
-
Send Message
Posted May 13, 2012http://dev.bukkit.org/server-mods/streetlights/files/7-street-lights-1-0-5/ :)
Please let me know if you have any more problems (doing anything to fix them )
-
View User Profile
-
Send Message
Posted May 13, 20121.0.5 will fix all issues with flashing lights. So hold tight for the approval guys.
-
View User Profile
-
Send Message
Posted May 13, 2012Yes! will be a great plugin for my RP server hope its done soon.
-
View User Profile
-
Send Message
Posted May 13, 2012Working on 1.0.5 now, Figured the problem with the flashing lights and/or light turning off/on on weird times (Was a problem with multiple worlds and/or Essentials plugin)
-
View User Profile
-
Send Message
Posted May 13, 2012When its day/not raining try setting the current to 0? or -1?
-
View User Profile
-
Send Message
Posted May 13, 2012Don't work, using CraftBukkit R1.3. Redstone Lamp goes on fpr ca. a few milliseconds and the turn off.
-
View User Profile
-
Send Message
Posted May 13, 2012Lamps_on: REDSTONE_LAMP_ON
NIGHT IS REDSTONE_LAMP_ON
BUT DAY NOT REDSTONE_LAMP_OFF???
-
View User Profile
-
Send Message
Posted May 12, 2012Very buggy. Just added some street lamps and they just flash on and off during the day. Using latest.
-
View User Profile
-
Send Message
Posted May 12, 2012@Vauff
Did you try it with 1.0.4? Since that version has allot of random bug fixes :) If Not: Do you get any errors in the console? Or does it really do nothing?
-
View User Profile
-
Send Message
Posted May 12, 2012@thijsd
OMG YES! :D
-
View User Profile
-
Send Message
Posted May 12, 2012Whenever we do the command it says it gets added successfully but they dont work?
-
View User Profile
-
Send Message
Posted May 12, 2012Thanks alot thijsd hope that the problem is found soon.
-
View User Profile
-
Send Message
Posted May 12, 2012Okay. The Plugin works a little bit. It´s day: Lights are off It´s night: Lights are switch on off It´s rainy: Lights are on
-
View User Profile
-
Send Message
Posted May 12, 2012Ok gonna do my best to fix these problems (Gonna test it in combination with the plugin you guys have, so it might take a while :))
-
View User Profile
-
Send Message
Posted May 12, 2012Okay...switches on and off all the time, faster until clients who are near the lamps crashes. Need to disable the plugin until the problem is found <.<
-
View User Profile
-
Send Message
Posted May 12, 2012No I don´t.