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 Feb 12, 2013Work but with some bugs.
-
View User Profile
-
Send Message
Posted Feb 6, 2013does this work with 1.4.7?
-
View User Profile
-
Send Message
Posted Feb 6, 2013@Meeba
log out of the server and log back in, which resets you basically.... thats the only fix for now till the creator fixes the /SL thing
-
View User Profile
-
Send Message
Posted Feb 2, 2013For Some Specific Reason... When I Use Street Lights I can't Build, Destroy, ANYTHING Please Someone Help!!!
-
View User Profile
-
Send Message
Posted Jan 23, 2013plss update for 1.4.7 and if I using multi world, in some world SL dosen't work -.-
-
View User Profile
-
Send Message
Posted Dec 26, 2012@thijsd I really like the idea of this plugin, it works alot like the old lampstone plugins that were around. But I dont like the way you add/remove lamps. What if it were to work like this:
You do /sl and get the response: Please place all your streetlights, so you place all the blocks. When done, you simply do /sl again to turn the mode off. To remove a streetlight, you simply break it. Optionally you can perform a check on breaking the lamp block to see the person breaking is actually the owner, and if not cancel it (unless person has the admin node).
-
View User Profile
-
Send Message
Posted Dec 18, 2012Hey man, i like your plugin, works great!
i was wondering if you could implement a function to always have a lamp on? some lamps are inside and if you want them on all the time you need an ugly lever -.-
cheers Alto
-
View User Profile
-
Send Message
Posted Dec 12, 2012-
View User Profile
-
Send Message
Posted Dec 4, 2012Please update from 1.1.x! The /sl remove command isn't safe! It allows you to remove other people's streetlights. It's fixed in 1.1.2
-
View User Profile
-
Send Message
Posted Dec 2, 2012@ursak
haha ok
-
View User Profile
-
Send Message
Posted Nov 27, 2012Any news of this working in 1.4.5. R02 ?
-
View User Profile
-
Send Message
Posted Nov 26, 2012@Caseyjack21
What he meant was that to get out of it you need to type "/sl create" again.
So to activate lights: /sl create
To stop activating lights: /sl create
-
View User Profile
-
Send Message
Posted Nov 23, 2012@nhoclesnar
yea
-
View User Profile
-
Send Message
Posted Nov 21, 2012@Caseyjack21
You use '/sl create'?
-
View User Profile
-
Send Message
Posted Nov 16, 2012plugin is good but i can't get out of it.... I can no longer build on my server because it is still wanting to create or remove a light... :( I do not know what else to do then to just get rid of the plugin (I really don't want to)
-
View User Profile
-
Send Message
Posted Nov 16, 2012@nhoclesnar
Lol i found out that i had errors because i was using the dev build of 1.4.2. since bukkit was running late with the release i had to use it (players were asking me every day if the update is out yet). Now i think it runs okay, I oinly need to know what to change in the config.
-
View User Profile
-
Send Message
Posted Nov 15, 2012@MoffKalast
Can you post the error in pastebin and give me the link? I haven't seen any error yet.
-
View User Profile
-
Send Message
Posted Nov 15, 2012@nhoclesnar
Err lights going on and off at random times a lot of <SEVERE> console errors, server crashing, etc.
-
View User Profile
-
Send Message
Posted Nov 13, 2012@MoffKalast
Can you tell me how this plugin is broken? I can try to fix the bug and make a 'private' release.
-
View User Profile
-
Send Message
Posted Nov 13, 2012@thijsd Dude friday was last week. I dont mean to push you or anything but you could have made the 1.4.2. fix in 10 minutes. There's a lot of us who need this plugin.