[Req] [FORMATTED] Spotlights

Discussion in 'Archived: Plugin Requests' started by johano1rct, May 23, 2012.

  1. Let's do it the proper way:

    Plugin category:
    Mechanics

    Suggested name:
    SpotLights

    A bit about me:
    I'm a redstone freak that likes to create indoor rollercoasters. I thought of this plugin by having some problems with lighting my projects.

    What I want:
    I want a plugin that has spotlights: A source block and a Target Block. The source and target blocks can be any block.
    To create a source block, You use the ''/sl sb {name}'' command and left-click on the gold block. After that you use the ''/sl tb {name}'' command and left click the target block. Now the spotlight part:
    If you power the source block with redstone, It will send light to the target block(s), And the target blocks light up like a torch, But without the torch. So it just lights up. You can have multiple target blocks. Here is a picture (Without the plugin, but with redstone)

    [​IMG]

    The white wool block is the source block, And the blue wool blocks the target blocks.
    The redstone lamps are to create the light that has to come out of them.


    Ideas for commands:
    /sl | (sl = SpotLights), If you use this command it shows up all the commands in the plugin and tells short what they do

    /sl sb {name} | To create a source block, and just name it. example: /sl sb lolface

    /sl tb {name} | To create a target block, You have to fill in the name of an existing source block, to connect them. Expample to connect with the example command above this: /sl tb lolface

    /sl del {name} | Use this command to remove a connection between target block(s) and a source block. Example to delete the lolface connection: /sl del lolface

    /sl reload | Reload the plugin

    /sl rename {Name that has to be renamed} {New name} | Renames a sourceblock

    Ideas for permissions:
    spotlights.create (/sl sb and /sl tb commands)
    - spotlights.create.sourceblock (/sl sb command)
    - spotlights.create.targetblock (/sl tb command)

    spotlights.delete (/sl del command)

    spotlights.command (/sl command)

    spotlights.reload (/sl reload command)

    spotlights.rename (/sl rename command)

    spotlights.* (All commands)

    Similar plugin requests:
    Didn't see one, But you never know..
     
  2. Offline

    Ne0nx3r0

    If I recall correctly lighting is now done client side; I don't know how possible it is to tweak that without using Spout.
     
  3. It's just that the target blocks light up, Nothing more actually :p
     
  4. Offline

    Ne0nx3r0

  5. Offline

    Ne0nx3r0

    Why not just attach a lever do the lamps and remotely activate it using the first lever/detector rail directly?
     
  6. No no no, You're thinking with redstone lamps! I mean you can use Every block as target block and Everyblock can light up (So that torch light comes out of the target block)
     
  7. Offline

    Ne0nx3r0

    Let's try this again.

    I could be mistaken though.
     
  8. So it is not possible to let a block light up without spout? :(
     
  9. If you already have wireless redstone, then is it possible for you to just have the receiver a redstone a lamp? You could power that block up remotely. What is wrong with that situation?

    If you only want 1 block to power, that might depend on what wireless redstone plugin you're using if that's possible. If the block must be other than redstone lamp, I think it is possible but only in a weird way. There are some light update packets the server can send, but that's some odd stuff I'm not into.

    If you want an air block to give light, same story as with the 1 block to power, possible via fake light updates (but will glitch A LOT), but very hard to make.
     
  10. Offline

    Ne0nx3r0

    Basically as Muizers said, it's not impossible, but it just tends to be too difficult to do correctly. Other plugin devs have tried and not gotten very far.

    You can do it, but it's very, very buggy. To the point that most plugins that played with lighting are inactive now.

    I really wanted to make a mining hat with a light on it and gave up after reading through dozens of failed attempts.
     
  11. Hm, something that is completely possible is a redstone lamp floating in mid air, then suddenly being remotely (wirelessly) powered. You could with a command set a redstone lamp as 'remote controlled' by an id and set a lever to be the controller for that id.

    But I'm guessing that would not be very interesting haha. You could use most wireless plugins for that with a little twist, and also you could just place glowstone if you're planning to keep the place lit.
     
  12. Offline

    Zoroark173

    Maybe some sort of plugin that disguises blocks as others, then just disguise the redstone lamp as the other block.
     
  13. Problem is, say a block is a powered redstone lamp. And then you send a block change event to a player (so the block on the server is actually still a redstone lamp) as if the block is stone, the client won't show the light, because it REALLY thinks it is stone, and it CAN'T emit light for that reason.

    Bah we want Official MineCraft Modding API. Oh, that'll be wicked.
     
    pom32 likes this.

Share This Page