Inactive [MECH]Torchlight v0.1BETA - Torches emit light while held [818]

Discussion in 'Inactive/Unsupported Plugins' started by Snowl, Jun 5, 2011.

  1. Offline

    Snowl

    Torchl[​IMG]ght v0.1BETA (Experimental)

    Based on Flashlight by tkelly.​
    Torchlight is a plugin where if holding a torch/lava/fire you will emit a radius of light around you, without needing to place an item. (useful for spelunking!)​
    To use, equip any of these item id's: 50, 10, 11, 51, 76, 89, 90, 91, 94, 327​
    Updated version:​
    http://forums.bukkit.org/threads/me...light-while-held-818.19977/page-4#post-460479
    Features:
    • Certain items emit light
    • Anti-Lag feature built in so it doesn't execute every second.
    Bugs:
    • Sometimes doesn't work if you can see the sky? Need to look into how to fix this
    • If it works outside, it may leave a block-light glitch. Resetting doesn't work and you need to manually reset the chunk lighting (place a block)
    • If used on water surface while night and you can see the sky, the light remains
    Changelog:
    Version 0.1BETA​
    • Initial commit​
    • Fixed torch placing so it actually stays on​
    • Added anti-lag​
     

    Attached Files:

    Jfed, KittyMao, embty and 2 others like this.
  2. Offline

    Zarius

    Known bug - see the end of the top post. Hopefully there's a way around this but the plugin is still cool regardless :D
     
  3. Offline

    storm75x

    Not a bad idea, what was the function that made it light?
     
  4. Offline

    Snowl

    I'm going to update this tomorow - sorry for the lack of updates, I have been having exams all week.
     
  5. Offline

    Chaz42

    Um Will it work with build 860?
     
  6. Offline

    karag

    While using glowstone some blocks of snow( id 80) disapeared behind me like if they were broken , but it's the only bug i found, nice plugin
     
  7. Offline

    Spycoclown

    nice plugin, hope you update it soon i m waiting for it :D
     
  8. Offline

    ryclorak

    not sure whether this is a bug or just the way it works, but the only light i get comes from the corners of blocks. when i walk in the dark on a flat surface holding a torch doesn't really help..

    [​IMG]

    EDIT: this is possibly just outside, haven't tested much
     
  9. Offline

    Zarius

    Working fine in RB860 for me.

    C'mon guys - the top post isn't that long. This is a known bug "* Sometimes doesn't work if you can see the sky? Need to look into how to fix this".
     
  10. Offline

    ryclorak

    this is sort of cool:

    for whatever reason, i had a world hole. i was walking with a torch out and when i approached it (i love looking into them) the hole started disappearing when i was a certain distance away. so when the blocks were updated because of torchlight, the world hole was fixed. no more relogging to repair world holes (as long as you have torches)?

    sorry i thought that meant "if you look at the sky"

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

    ChaoticTrack

    Nice plugin! I have one suggestion though. I think that if possible, you could make it so the torch burns while it is in your hand. That would be kewl! Also another thing, when I mine stuff like dirt with the torch, the light turns off until I stop mining. It would be good if you could fix that.
     
  12. Offline

    Zarius

    I kinda like it turning off - I wouldn't expect my torch to work if I'm shoving it into dirt :D
     
  13. Offline

    Missnostalgia

    I though that was intended as well.
     
  14. Offline

    YouThere

    Excellent idea. Would use when it's out of beta though. :X
     
  15. Offline

    JanTTuX

    AWSOME PLUGIN, I ALWAYS WANTED THIS!
     
  16. Offline

    embty

    permissions or mutliverse support perhaps ? great plugin thanks :)
     
  17. Offline

    Supuhstar

    It won't work for me. Craftbukkit loads it without any errors, but torches emit no light when held. MC 1.6.6, Bukkit 860, Windows 7 x64
     
  18. Offline

    sleite

    Looking forward to the next release of this plug-in.

    Request: If possible, please add a config. option that lets the admin specify how bright the light is.

    For example, I'd like to make it so that redstone torches gives off a bit of light, but not nearly as much as a regular torch. I'd also like to reduce the range of torch light a little for my purposes because I'm using the "MagicSpells" plug-in, and I don't want this to replace the usefullness of the "lightwalk" spell (for those that don't know, the lightwalk spell illuminates the block beneath your feat, so you can still weild a weapon while illuminating the area).

    Great plug-in. If Notch is aware of this plug-in I hope he implements it in to the next release of Minecraft. It just "makes sense".

    Thanks!
     
  19. Offline

    Supuhstar

    nevermind.... it works, now X3
     
  20. Offline

    Nerozx

    this plugin remembers me of terraria but could you make in such way that the torch has the same animation as the ones you put on the ground and could you make in such way that the torch when it;s dropped or destroyed emits light? Anyway it's a great plugin and i'll test it soon. :D
     
  21. Offline

    NightStalk3r

    Have been waiting for something like this, but think ill hold off deploying it to our server until the main bugs are fixed.
     
  22. Offline

    quickclay

    Looking forward to testing. My only request at this point is to please name the .jar file "TorchLight.jar" instead of TL.jar so I can remember which plugin it is. Thanks!

    Works great, CB 860! Also, it's an awesome underwater tool.. even though torches probably shouldn't work underwater.. ;)
    EDIT: As an interesting experiment, swim underwater at night and use f5 to look at the light radius around you. Then swim to the surface and watch the light radius shrink to 1x1. Whatever causes that is most likely the same reason torches don't work out in the open...
     
  23. Offline

    Draycos

    I think the issue with the out door torch not working is that the light produced ( however it is curently being produced) needs a surface to "reflect" from...
    sorry if this is obvious or was already stated..... just a thought.
     
  24. Offline

    cuco


    Am I blind or is there no sourcecode inside the jar? :D
     
  25. Offline

    redf1sh

    I don't see it either :).
     
  26. Offline

    WretchedEntity

    My suggestions, both of which have already been stated, would be to consume torches after a configurable amount of time and to create a config file in which one can define how bright the torchlight is and/or how far it can travel.
     
  27. Offline

    jtripled

    Indeed, I'd love to see some'a that code.
     
  28. Offline

    yourock129

    Awesome plugin but for some reason it makes my server lag A TON. It only lags when i have a torch out.
     
  29. Offline

    VeryInsane

    Will this work with the new Recommended Build #928?
     
  30. Offline

    goomma

    whenever i hold something that emits light the entire server get extremely laggy
     
  31. Offline

    zxkillu

    BUG!:
    when i hold my torch out it lights the area but when i walk up to a wall the light goes on to the wall forever and then when i put the torch away it satys on the wall untill i mine a block in the light. idk if its just me but thats what i got.
     

Share This Page