Inactive [MISC] Streetlamps v0.8 - redstone controlled street-lamps [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Ginsek1988, Jun 26, 2011.

  1. Streetlamps - redstone controlled StreetLamps:
    PluginVersion v0.8
    ServerVersion /version: git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    Download StreetLamps v0.8.2

    Players can build street-lamps for their towns and remote controle them by redstone and other events (daytime, weather, manually).

    For a more detailed description visit me on dev.bukkit!

    If the plugin is not working for you, please respond to this thread: [README] It's not working!!!

    Media




    Connecting lamps to a button or lever
     
    woodzy, kahlilnc and SPACEDUDE360000 like this.
  2. Offline

    ChrizC

    Missing RB number in title.
     
  3. Noticed this right after I clicked Submit.
    Did not know the exact number when I wrote this.
     
  4. Offline

    C0R7

    it is a vary nice plugin. but can you also yous redstone with a switch at the end

    i have one problem with the plugin. after the world changes time it works. but after a bit it dont work. to get it to work i have to restart the server. is it a but?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  5. Yes you can use redstonewire to power the lamp. To do this you have to power the block underneath the lowest fence.

    I am testing the plugin locally and i let it run for an hour or so and did not notice any problem.
    What especially do you mean with "dont work" and which modes do you use?
     
  6. Offline

    C0R7

    well im in my server and when it changes to night it work, but when day comes it stays lightstone. is it ment to do that? if you need more i can record a day night for you.
     
  7. Actually it should turn off. hm... I don't think a video will help with this one.
    I try and spread the lamps on my server and see if I can reproduce the problem.

    *goes testing*

    Spreaded the lamps over three chunks or so, changed day/night and everything worked fine. I could not turn on the rain thought.

    I suppose it is not raining and the lamp is not broken?
    When a lamp is broken the player who broke it receives a message and when it rains,... duh.
    But since you said restarting the server helps... this should not be the case.

    The only case were a lamp burns during the day would be if there is weather. Are you running multiworlds?
    I do not know how the plugin will behave with this.
    (Good point, I should check what happens when I am in the nether, these are two seperated worlds aren't they?)

    guess what :)
    never change a running system
    When it starts raining I set the flag that it is raining but I whan it stops raining... I think you get it

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

    C0R7

    no i have only the plugins in this list.
    -Banhammer
    -StreetLamps
    -and Permissions

    and there was no weather it was clear.

    [​IMG]
     
  9. Offline

    MikeA

    Same here, doesn't work for me.
     
  10. Offline

    C0R7

    did you hit it with a redstone torch.

    EDIT: you have to have one under it and you have to hit it after.
     
  11. Offline

    MikeA

    Yes, I left clicked and right clicked it and nothing happened. When I left click, it just hits it, when I right click, it places a redstone torch on it.
    Then I waited till it went through day/night cycle and in the day time it stayed glowstone.

    - I DID put a redstone torch under the fences that it was placed on.
     
  12. Offline

    C0R7

    ok. this is what i did. i put the plugin in the plugins folder then restarted the server two times. made and lamp with the torch and then left clicked. a message poped up saying that a streetlamp was created. then the light stone changed to glass. when it came night it change to light stone. the only problem i have is that it don't change back to glass. so all the stuff a say before it changed to day worked.
     
  13. Same issue in v0.3.1? (sorry that there is an update so soon)

    Uploading a vid to youtube. (rendering done, upload follows done)
     
  14. Offline

    C0R7

    ok ill try the updated one. thanks

    ok it works thanks. if it still dose it i will reply to the post. :)


    EDIT:
    i still have the problem of it not changing back to glass. is it ment to?

    I was wondering if i could come and see in your server

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  15. no, it's not... buuuuut I am going to bed right now :)
    I love monday morning :)...
     
  16. Offline

    C0R7

  17. Offline

    SPACEDUDE360000

    Nice plugin!
    But maybe you could add a configuration for the off state of the lamp. So maybe instead of glass you could have wood or a redstone torch for a lower light level.
     
  18. Offline

    kahlilnc

    THis is amazing, better than the old lamp plugin. hehe
     
  19. Offline

    colin8696909

    looks interesting.
     
  20. adding this to the TODOs
     
  21. Offline

    kahlilnc

    Code:
    >04:20:05 [SEVERE] Could not pass event BLOCK_BURN to StreetLamps
    java.lang.NullPointerException
    at de.bukkit.Ginsek.StreetLamps.LampCollection.unregister(LampCollection.java:49)
    at de.bukkit.Ginsek.StreetLamps.LampCollection.unregister(LampCollection.java:46)
    at de.bukkit.Ginsek.StreetLamps.SLBlockListener.onBlockBurn(SLBlockListener.java:78)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:476)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.BlockFire.a(BlockFire.java:154)
    at net.minecraft.server.BlockFire.a(BlockFire.java:85)
    at net.minecraft.server.World.a(World.java:1909)
    at net.minecraft.server.World.doTick(World.java:1644)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >04:20:09 [INFO] [g] canadianchuck: dough time
    >04:20:14 [INFO] [g] Pancakewoman: :D
    >04:20:17 [SEVERE] Could not pass event BLOCK_BURN to StreetLamps
    java.lang.NullPointerException
    at de.bukkit.Ginsek.StreetLamps.LampCollection.unregister(LampCollection.java:49)
    at de.bukkit.Ginsek.StreetLamps.LampCollection.unregister(LampCollection.java:46)
    at de.bukkit.Ginsek.StreetLamps.SLBlockListener.onBlockBurn(SLBlockListener.java:78)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:476)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.BlockFire.a(BlockFire.java:154)
    at net.minecraft.server.BlockFire.a(BlockFire.java:85)
    at net.minecraft.server.World.a(World.java:1909)
    at net.minecraft.server.World.doTick(World.java:1644)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    NEWEST RB
     
  22. Offline

    Zarius

    Would it be possible to allow different shaped streetlamps? Eg from the ground: dirt, 4 fences up, across 1 fence and glowstone below - like this picture.
     
    kahlilnc likes this.
  23. added to bugs *fixed*

    added to todo
     
  24. done :)

    done :)

    I will test the new Version (v0.4) with the new RB(done) and publish a tutorial for the new pattern(done) at the same time.
    The new release should convert your lamps from v0.3 to the new format :)
    If any errors occure let me know asap.
     
  25. Offline

    fatmarley

    Could you do a three corner pendant?

    Also, this would be my town walkway

    [cobble][glass][cobble]
    [cobble][glass][cobble]

    The second layer of glass is actually the glowstone. 1) is it possible? 2) could the light sensor be increased or decreased in certain situations?
     
    misteryman321 likes this.
  26. It is capable of building a 1, 2, 3 or4 bulb pendant as it is. Just build it and hit one of the bulbs.
    Show Spoiler
    I assume you mean something like this? View attachment 4512 View attachment 4513



    There is no lightsensor, it is just based on the time of day. (added lightsensor to todo)

    and... I don't get your walkway^^
    Could you link picture of how it looks ingame when on/off
     
  27. Offline

    fatmarley

    I figured it out, it worked.

    A small issue arouse though. When i make a lamppost it says that it is create, but the glowstone stays glowstone. IF i reload the glowstone will change to glass
     
  28. I assume it is not raining and not night? Well I still have probelms detecting the weatherstate because I do not the API that well. Could be that at server startup it was raining and now it detects it wrong.
    When it stops raining I'll check if I can reproduce the issue.

    Which mode do you use? What time(day/night) is it? Is it raining?
     
  29. Offline

    fatmarley

    It was day, with no rain...but I use timefold and my day cycles are 4 times longer and the night cycle is only 1 cycle.

    Also, my weather is controlled to only last 5 minutes if it rains.
     
  30. So after a reastart it works fine or is it broken and does not turn back to Glowstone?
    Which modes are enabled in your config?
    When it is broken does the bulb change when you manually set day/night?

    I am testing it with Timefold right now and let it cycle a few days. Did have any problems building lamps with it.
    What do you use to controle the weather?
     

Share This Page