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

    coffeehedake

    Thanks Ginsek, this solved my MultiVerse issues! Nice work!
     
  3. There you go :) (v0.7.1)

    Building:
    You have to power both "legs" like poles and have the glowstone between those "legs".
    Activating:
    Hit one of the outer bulbs.

    I'll add a pattern later.

    edit: Cluster is up again
     
  4. Offline

    koron

    How can i remove the lamp? i destroy it but after the day/night oder night/day switch the glas are back.

    The only way i have found are /reload
     
  5. Offline

    Forecaster

    Awesome! Thanks!
     
  6. oh... which version exactly and which lamp type?
     
  7. Offline

    ChunkyM0nk3y

    Permissions 3.1.6 support? I would really appreciate this on my server :3
     
  8. Offline

    TheGurw

    @Ginsek1988 check out PailStone for some help on the time-checking. Hafnium seems to know his way around it, I've never had any problems with the plugin. Anyway, this is looking good so far. I'll test it out on my test server for the time being.
     
  9. Offline

    Gust van de Wal

    Won't it be nice if we can - for example - edit what we place, what it becomes and changes in at night with a .config file.
    example:
    tool: redstone torch (76)
    original: sponge (19)
    become: glass (20)
    change in: glowstone (89)
    so you take a sponge, you place it, you hit it with a redstone torch. then it becomes glass, which becomes glowstone at night.
    if you destroy it, you'll get 1 sponge back.
    maybe easier?
     
  10. Actually you CAN edit those things...
    Why three materials?
     
  11. Offline

    Gust van de Wal

    so you can place glowstone whereever you want, without having trouble... ah, forget it... forget the thing about 3 materials.
    where can i edit these things?
     
  12. try the config.yml in the StreetLamps folder :)

    yourbukkitfolder/plugins/StreetLamps/config.yml
    and besides when I change/add something in the config with a new plugin version I convert the config you used such that you won't have to edit it again :)
     
  13. Offline

    BlueGhostHD

    [​IMG]
    **This seems to not be working**
     
    BHeiple likes this.
  14. Offline

    Snakybo

    The plugin looks great, i just have a questions.
    I can create bulbs but if I power or unpower it it does not do anything, it stays glass.
    My settings are:
    daytime: true
    manually: false
    weather: false
    power: true
    cluster:
    enabled: true
    size: 20
    Also can I get some more info about the modes?
     
  15. Offline

    dandaman1001

    permissions?
     
  16. Did you hit it with a redstone torch? (see below: step 3)

    With this config your bulbs will turn to Glowstone only if the lamp is powered and it is night.
    Daytime:
    If you have daytime enabled the lights try to turn on at night and turn off on day.
    Weather:
    If you activate weather mode the lamps additionally try to turn on when it starts raining(detecting weather can be buggy on server startup).
    Power:
    If you use power mode they check if the powerblock(see pattern) is powered and only turn on if it is, else they stay/turn off.
    Cluster:
    If you activate cluster the lamps will not turn on all at the same time. There will only be 20 lamps that try to turn on/off at the same time.

    If this is a request: yes I'll do that.
    If this is an answer to the others: I did not encounter any problems using permissions. Others might do so since I used no fancy config for permissions.
     
  17. Offline

    koron

    The Version v0.7.1 an the pole type.
     
  18. Offline

    BlueGhostHD

    I did hit my bulb with a redstone torch, and nothing happened. Sorry I didn't say that in the reply before
     
  19. Offline

    Snakybo

    Okay I get it now, Just can it be done that the do not turn off at day time automaticly? When it is night I can turn them on and off but during daytime they cant go on. Even if I turn off the Daytime mode
     
  20. I am using AdminCmd, MultiWorld, StreetLamps and WorldEdit.

    I use it with all modes (except for manually) turned on and tested it with other modes other configuration recently.

    I could not reproduce your problems, sorry :/
    But I decided to use manually for myself again since I like it :p

    I had that issue when I registered multiple lamps with the same pole.
    The next version will have an additional check that should fix your problem. You could delete your lamps.yml file and reactivate the lamps. That should help if it is this bug.
    I'll release the next version this week. (stupid RB *grml*)

    Yes, not using daytime should result in not turning them off during daytime. But since this does not work for you, I have no clue.

    Did you get a message that you created a lamp? Else they won't work.
     
  21. Offline

    koron

    Why this don't work?

    [​IMG]
     
  22. Offline

    BlueGhostHD

    Why do you think I said, "and nothing happened." I just don't see why my lamp is not working...
     
  23. Serverlog says what? (when the server starts and when you hit the lamp)
    Serverlog says what? (when the server starts and when you hit the lamp)

    I suppose none of you changed the pattern configuration?



    *edit*
    I came about two bugs though testing your problems:
    1. you can't toggle bottoms manually (that's the isPowered() issue)
    2. you can toggle turn on (using manually) even if they are not powered when in power mode (fixed)
     
  24. Offline

    BlueGhostHD

    It literally says nothing in the log. So there are no log entries to display about the non working lamp.
     
  25. If there are no log messages on startup the plugin is not loaded. :)

    On server startup it should look like this
    ServerLog (open)

    Code:
    2011-08-14 00:54:44 [INFO] [StreetLamps] POWER enabled
    2011-08-14 00:54:44 [INFO] [StreetLamps] DAYTIME enabled
    2011-08-14 00:54:44 [INFO] [StreetLamps] WEATHER enabled
    2011-08-14 00:54:44 [INFO] [StreetLamps] CLUSTER enabled
    2011-08-14 00:54:44 [INFO] [StreetLamps] loaded 45/45 bottom for world Playground
    2011-08-14 00:54:44 [INFO] [StreetLamps] loaded 53/53 pole for world Playground
    2011-08-14 00:54:44 [INFO] [StreetLamps] loaded 2/2 ceiling for world Playground
    2011-08-14 00:54:44 [INFO] [StreetLamps] loaded 1/1 pendant for world Playground
    2011-08-14 00:54:44 [INFO] [StreetLamps] loaded 1/1 pole for world Heaven
    2011-08-14 00:54:44 [INFO] StreetLamps 0.7.1 is enabled

    Since there aren't even errors on startup I have to ask you how you installed the plugin.
     
  26. Did you ever fix this major crashing bug?
     
  27. Offline

    koron

    At serverstart:

    2011-08-17 05:02:43 [INFO] [StreetLamps] POWER enabled
    2011-08-17 05:02:43 [INFO] [StreetLamps] DAYTIME enabled
    2011-08-17 05:02:43 [INFO] [StreetLamps] WEATHER enabled
    2011-08-17 05:02:43 [INFO] [StreetLamps] CLUSTER enabled
    2011-08-17 05:02:43 [INFO] [StreetLamps] loaded 88/88 pole for world world
    2011-08-17 05:02:43 [INFO] StreetLamps 0.7.1 is enabled

    When i hit the lamp not entry in the serverlog. A simple Pole-Lamp like 2 Fence + Glowstone work but not a complex lamp.
     
  28. Since this is an old log...
    Did this happen again? Thread safety is done and lately no people were complaining about that.

    Could you post your full config.yml please? I want to check the spelling.
    Code:
    Config:
        modes:
            daytime: true
            manually: true
            weather: true
            power: true
            cluster:
                enabled: true
                size: 20
        lamplist: bottom;pole;ceiling;sconce;globe;pendant;tube;
        material:
            bulb_on: 89
            tool: 76
            bulb_off: 20
        daytime:
            night_start: 12500
            night_end: 22500
        version: 6
        disableOnError: false
    Lamps:
        pole:
            height:
                min: 1
                max: 6
        ceiling:
            height:
                min: 0
                max: 3
        pendant:
            height:
                min: 1
                max: 6
            width:
                min: 1
                max: 4
            depth:
                min: 1
                max: 2
        sconce:
            width:
                min: 0
                max: 3
        globe:
            height:
                min: 1
                max: 6
        tube:
            height:
                min: 1
                max: 6
            width:
                min: 2
                max: 6
    
    I think I will remove the lamplist and have an "enabled: true" in each lamp config to get rid of typing issues just in case.

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

    koron

    This are the config:

    Code:
    Config:
        modes:
            daytime: true
            manually: false
            weather: true
            power: true
            cluster:
                enabled: true
                size: 20
        lamplist: bottom;pole;tube;ceiling;sconce;globe;pendant;
        material:
            bulb_on: 89
            tool: 76
            bulb_off: 20
        daytime:
            night_start: 12500
            night_end: 22500
        disableOnError: false
        version: 6
    Lamps:
        pole:
            height:
                min: 1
                max: 6
        ceiling:
            height:
                min: 0
                max: 3
        pendant:
            height:
                min: 1
                max: 6
            width:
                min: 1
                max: 4
            depth:
                min: 1
                max: 2
        sconce:
            width:
                min: 0
                max: 3
        globe:
            height:
                min: 1
                max: 6
        tube:
            height:
                min: 1
                max: 6
            width:
                min: 3
                max: 6
     
  30. Offline

    h4x0r

    install the plugin :) at first it works very fine :) and i restart the server the plugin is not working
    [​IMG]

    any suggestion? :) please help or fix or something :)


    sry for my bad english i am from Slovakia :)
     
  31. Offline

    4am

    If you are timelocking with CommandBook, it interferes with redstone processing because the server only ticks about 20 times and resets, which isn't enough time for large redstone propigation. Just a thought.
     

Share This Page