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 Jun 17, 2012@Damimad
That's odd, I'll look at it tomorrow, just came back from an exhausting weekend and need a good night rest :P Do you get any errors?
-
View User Profile
-
Send Message
Posted Jun 16, 2012Players can't create despite their permissions. Using latest bperms and vault.
-
View User Profile
-
Send Message
Posted Jun 14, 2012@thijsd
Okay thanks. :)
-
View User Profile
-
Send Message
Posted Jun 13, 2012@graywolf336
Jup, only the creator or anyone with admin permission can break them :)
-
View User Profile
-
Send Message
Posted Jun 13, 2012Quick question, does it offer any form of protection for the blocks? So, say that you have a road going from one point to another point and along that you have several StreetLights. If those are StreetLights, are they automatically protected so that no one can break it until it's removed from being a StreetLight?
-
View User Profile
-
Send Message
Posted Jun 13, 2012@Micky2506
What do you mean by that? Just that the streetlights (probably redstone lamp) are always on?
-
View User Profile
-
Send Message
Posted Jun 13, 2012Thanks, thijsd. Downloading new version now Can you add a feature to force-enable the lights with redstone?
-
View User Profile
-
Send Message
Posted Jun 12, 2012@dockter
Type /sl create again to exit editing mode, you should be able to remove blocks again then :)
-
View User Profile
-
Send Message
Posted Jun 12, 2012Found possible bug in 1.1.2.
Once I create a lamp /sl create, and right click it, I can no longer break anything at all until I stop/start the server. Its like Im vanished. very strange issue.
-
View User Profile
-
Send Message
Posted Jun 11, 2012Please 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
( http://dev.bukkit.org/server-mods/streetlights/files/11-street-lights-1-1-2/ )
-
View User Profile
-
Send Message
Posted Jun 11, 2012@Micky2506
Forgot to document it *silly me* /sl remove :) If you only want to give this to some of your users you can give them the permission streetlights.remove
Edit: and with that I found a stupid bug :O You can remove other people's streetlights with /sl remove =.= Thats what happens when I try to add last minute features. Gonna fix it right away
-
View User Profile
-
Send Message
Posted Jun 11, 2012I am not sure if this is a config problem, but I can't find a way to remove lights - Whenever I right-click a redstone lamp, I make a street light. I haven't found a way to remove them, as when I do /sl clear it DOES clear the list - but when I go to remove blocks, it just starts adding StreetLights again. I like the plugin idea, because I do need a day/night type thing on servers - since I often mess with time using the commands.
-
View User Profile
-
Send Message
Posted Jun 8, 2012GREAT mod. All the current users love it. Not one problem so far.
-
View User Profile
-
Send Message
Posted Jun 5, 2012@thijsd
Alright, thanks!
-
View User Profile
-
Send Message
Posted Jun 5, 2012@thijsd
i verify the fix. thank you.
-
View User Profile
-
Send Message
Posted Jun 5, 2012Can you make an option so you can make streetlights always on instead of just at night?
-
View User Profile
-
Send Message
Posted Jun 5, 2012@NekozePAN
http://dev.bukkit.org/server-mods/streetlights/files/10-street-lights-1-1-1/ :) Should be fixed now ;)
-
View User Profile
-
Send Message
Posted Jun 5, 2012@thijsd
Yes. Behavior does not seem a problem. However, the server administrator as it becomes quite a problem because considerable amounts of log and roll out the player forgot to remove the "/ sl create". So, I decided to wait for 1.1.1. Thanks.
-
View User Profile
-
Send Message
Posted Jun 5, 2012@NekozePAN
Oow ok :) Then it shouldn't be a plugin breaking error right? (since you should be able to add streetlights) But will bring out a 1.1.1 ;)
-
View User Profile
-
Send Message
Posted Jun 5, 2012@thijsd
Was to understand how to reproduce. at the time of the mode by entering the "/ sl create" to set the light, error message is issued when the punch (left-click) the sky.