[FUN] StreetLightZ v0.5 - Advanced lights on your server + config [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Igor Randjelovic, Sep 7, 2011.

  1. StreetLightZ - Turn on lights at night, turn them off at day
    Version: v0.5
    Authors: rigor789
    BukkitDev Here

    -------------------------------------------------------------------------------------------------------------
    If you like my plugins buy me a coffe :) [​IMG] Thx :)
    -------------------------------------------------------------------------------------------------------------

    This plugin turns on torches at specific time, and turns them off at specific time (all configurable in config.yml under plugins/StreetLightZ/). It has block protection aswell (protects the blocks which have lights attached to them)! Type /StreetLightZ edit, put down some torches (If everything works then message appears on the screen) and when you are done, just type /StreetLightZ finish!
    If you don't like the lights just type /StreetLightZ edit again and remove or add torches! Have fun! :D

    [​IMG]


    Commands:
    • /StreetLightZ (can be used as /sl) - shows avaiable commands
    • /StreetLightZ edit - turns on editmode for lighting!
    • /StreetLightZ finish - exits from editmode!
    Permission nodes:

    • streetlightz.edit - All StreetLightZ commands!
    Features:

    • Automatically turn on/off lights!
    • on/off time can be set in a config file!
    Download: v0.5: <Edit by Moderator: Redacted multiupload url> | <Edit by Moderator: Redacted multiupload url>
    Download: v0.4: <Edit by Moderator: Redacted multiupload url> | <Edit by Moderator: Redacted multiupload url>
    Download: v0.3: <Edit by Moderator: Redacted multiupload url> | <Edit by Moderator: Redacted multiupload url>
    Download: v0.2: <Edit by Moderator: Redacted multiupload url> | <Edit by Moderator: Redacted multiupload url>
    Download: v0.1: <Edit by Moderator: Redacted multiupload url> | <Edit by Moderator: Redacted multiupload url>

    Tutorial:



    [FONT=Georgia][FONT=arial][B]Changelog:[/B][/FONT][/FONT]

    [COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=arial][U]Version 0.5[/U] (2011.09.27):[/FONT][/SIZE][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR]
    • Added multiworld support (each world can have own time)!
    [FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=arial][U]Version 0.4[/U] (2011.09.25):[/FONT][/SIZE][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT]
    • Fixed the bug where torches popped on the wall again!
    • Added Glowstone/Glass!
    [FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][COLOR=rgb(20, 20, 20)][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=Georgia][FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=arial][U]Version 0.3[/U] (2011.09.23):[/FONT][/SIZE][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT][/FONT][/SIZE][/COLOR][/FONT][/COLOR][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT]
    • Fixed the bug where torches popped on the wall!
    [FONT=Georgia][FONT=arial][SIZE=15px][FONT=Georgia][FONT=Georgia][COLOR=rgb(20, 20, 20)][SIZE=4][FONT=arial][U]Version 0.2[/U] (2011.09.08):[/FONT][/SIZE][/COLOR][/FONT][/FONT][/SIZE][/FONT][/FONT]
    • Added Permission support!
    Version 0.1 (2011.09.07):

    • Releasing the StreetLightZ plugin.
     
    Last edited by a moderator: Mar 27, 2019
    SkiperTheBoss likes this.
  2. Offline

    Lolmewn

    I want a picture =D
    Please?
     
  3. There u go! :D
     
    Lolmewn likes this.
  4. Offline

    lionking23

    What about if we have a cave with torches... it's still dark during day. :p

    EDIT:

    never mind... we place redstone torches rite? or torches themselves?
     
  5. you just put regular torches! Streetlights are workin only on torches u add after typing /StreetLightZ edit! When u type /StreetLightZ finish u can start placing regular torches again! ;)
     
  6. Offline

    lionking23

    Oooo cool!
     
  7. Offline

    TelephoneKiosk

    Omg yessss 10/10

    EDIT: How is the time measured in the config.yml
     
  8. The time is measured in ticks!
    "There are 20 ticks per real-life second, and 24000 ticks per Minecraft day/night cycle, making the full cycle length 20 minutes. 0 is the start of daytime, 12000 is the start of sunset, 13800 is the start of nighttime, 22200 is the start ofsunrise, and 24000 is daytime again" from minecraft wiki!
     
  9. If you like the plugin, feel free to request features! :)

    Thank you guys for downloads! :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  10. Offline

    IFCrusader

    Hey,

    I have got a question: What do I have to set as cycle, if I use the plugin TimeSync (it syncs the MC time with real time)?
    Is there any chance to combine these two plugins?

    Secondly: Would it be possible to creat groups of torches? For example, when switching them off:

    /off group1 - turns off a specific group of torches
    /off group2 - turns off another group of torches

    Thanks for your help! :)
     
  11. hey! I dont know TimeSync so idk, in the config you use ticks (google mc ticks)! And about the second question: you want like lights in houses right? Maybe in my next plugin! :D
     
  12. Offline

    matt4471

    quick question. I am a noob. I used /sl edit, placed my torches, used /sl finish, and they don't turn on and off?
     
  13. they turn on at night, and off at morning! If it still wont work, send me more info(other plugins, can you destroy the torches after /sl finish, do they change to redstonetorch off when you place them(only if you place them at daytime), any errors in the console), after that i can maybe help!
     
  14. Offline

    afrohorse852

    hey can you try and fix the bug where ill place a torch next to a wall but it will warp to the wall without me doing it and do you know y this happens
     
  15. Download v0.3! i fixed that! :)
     
  16. Offline

    arishoham

    It would be cool if you added other objects that emit light, like jack o'lantern, glowstone and fire. Where jack-o's would turn into pumkins, and glowstone/fire would turn into glass
     
  17. Is not work.

    Console:
    Code:
    2011-09-23 21:55:27 [WARNING] Task of 'StreetLightZ' generated an exception
    java.lang.NullPointerException
        at me.rigi.StreetLightZ.StreetLightZMain.TimeChecker(StreetLightZMain.java:54)
        at me.rigi.StreetLightZ.StreetLightZRunnable.run(StreetLightZRunnable.java:6)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  18. Offline

    joycrafter

    no multi-world support?
     
  19. Server version? Wierd null pointer? I'm gonna check that tomorrow!
    Nope :p I will add that, i forgot about that in the beginning! ;)
     
  20. i will fix that tomorrow, and add multiworld support too! And i realized that the torches still pop on walls! So i will fix everything tomorrow! :)
     
  21. Offline

    Routaruo

    Really think you should add glowstone! very cool plugin! thanks :)
     
  22. Offline

    Geckoleon

    same as guy above me, add glowstone, make the off state be glass
     
  23. Offline

    Ralm

    @Igor Randjelovic Can you make it work with Glowstone?? Like having glass during the day, and turn glowstone during the night?? And I think the protection is not important. Everyone uses worldguard really. Anyway. I was thinking on use it more to glowstone really. Like having it on the floor, poles, walls, etc. And see them changing when becames night? AWESOME.

    EDIT:
    There is a plugin that does that already =S Just found it looool

    Thanks anyway.
     
  24. Yes!! Working on it! Will be up soon! :D Multiworld will be avaiable too!

    And i know what this was! Your worlds name wasn't world! :D Fixing that by adding multiworld support! :D
     
  25. Offline

    lambik40

    Awesome. Although it took some time to understand me what I want, now its working good. Cant i add multiple times when I want torches to be switched off and on? I dont know why should I do this, im just asking..
     
  26. Offline

    Kirbyflys

    I'm sure that adding multiworld support will fix the problem
     
  27. Glowstone/Glass added!
    ,
    Multiworld added! Everything works ok now!

    v0.4 relased! :)
     
  28. Offline

    Kirbyflys

    For some reason I'm still getting this error. I updated to 0.4.

    "Task of 'StreeLightZ' generated an exception."

    Not sure what that means.
     

Share This Page