[MECH/FUN] Long Distance Torch 1.0.2 - Place torches from a distance [1060]

Discussion in 'Inactive/Unsupported Plugins' started by phaed, Jul 28, 2011.

  1. Offline

    phaed

    Long Distance Torch 1.0.2
    Place torches in long distance. Just aim, right click, and you've got a torch.

    [​IMG]

    Features
    • Allows you to place torches at any distance
    • Allows you to pick up your recent torches, at a distance, with left click
    • Automatically orients torches placed on walls to point towards you
    • Respects WorldGuard regions and PreciousStones protected areas

    Installation
    • Just drop it in your plugins folder

    Permissions
    Code:
    - 'longdistancetorch'    #can place torches long distance
    
    If no permissions plugin found then anyone will be able to place long distance torches


    Source Code
    https://github.com/phaed420/LongDistanceTorch


    Change Log
    Version 1.0.2
    • Snow is now on the transparent block list
    Version 1.0
    • Release

    [​IMG]LongDistanceTorch

    [​IMG]
     
  2. Offline

    MikeA

    Very nice! Love it. This is perfect.

    If you could create one or two plugins for my server, I would pay $10 per.

    Works good - One thing, if you place a torch on glass, it doesn't place it and it just takes it out of your inventory without returning it. Other then that it's great.

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

    phaed

    Yep, it will actually be placed and then dropped right under the glass. It's up to the player to know where the torches will or wont stick.
     
  4. Offline

    Plague

    title is missing version and description, come on now, this is not your first one :)
     
  5. Offline

    phaed

    Damit, thought i had everything on there. Just added the version, description is there right under it.
     
  6. Offline

    ChrizC

    Nope, you're still missing the version and description in your title.
     
  7. Offline

    phaed

    [​IMG]

    Done.
     
    Compulsivecraft and cholo71796 like this.
  8. Offline

    b0rnprox

    this don't work for me, i have added it to my plugin folder and added the premission, but when i right click on the wall nothing happens ? please help xD
     
  9. Offline

    phaed

    You need to be holding a torch. Right click on wall. Should work. Check your logs to make sure the plugin is loaded.
     
  10. Offline

    b0rnprox

    i can try putting it in my plugin folder again ;D
     
  11. Offline

    CplPibald

    Awesome plugin. Consider adding block 78 (snow) to the list of blocks to treat as transparent. Try using the plugin outside in an arctic biome to see what I mean.
     
  12. Offline

    b0rnprox

    i get it to work when i delete my premission plugin,
    once i add the premission plugin and add the premission node it don't work, help ;(

    btw i use premission 3
     
  13. Offline

    phaed

    Can you post here how you are adding this permission node?

    Will do.

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

    b0rnprox

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
    - 'iConomy.access'
    - 'iConomy.bank.access'
    - 'iConomy.bank.deposit'
    - 'iConomy.bank.join'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.leave'
    - 'iConomy.bank.list'
    - 'iConomy.bank.main'
    - 'iConomy.bank.main.change'
    - 'iConomy.bank.main.set'
    - 'iConomy.bank.main.view'
    - 'iConomy.bank.transfer'
    - 'iConomy.bank.transfer.multiple'
    - 'iConomy.bank.withdraw'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'ChestShop.shop.*'
    - 'SignShop.Signs.*'
    - 'iConomyChestShop.shop.create'
    - 'iConomyChestShop.shop.create.<id>'
    - 'iConomyChestShop.shop.exclude.<id>'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'
    - 'iConomyChestShop.command.iteminfo'
    - 'weathersigns.use'
    - 'longdistancetorch'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'modplugin.ban'
                - 'modplugin.kick'
                - 'modplugin.unban'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
    - 'LazyRoad.build'
    - 'iConomy.admin.account.create'
    - 'iConomy.admin.account.remove'
    - 'iConomy.admin.bank.create'
    - 'iConomy.admin.bank.remove'
    - 'iConomy.admin.bank.set'
    - 'iConomy.admin.empty'
    - 'iConomy.admin.stats'
    - 'iConomy.admin.set'
    - 'iConomy.admin.reset'
    - 'iConomy.admin.purge'
    - 'iConomy.admin.hide'
    - 'iConomy.admin.grant'
    - 'ChestShop.admin'
    - 'SignShop.Admin.*'
    - 'iConomyChestShop.admin'
    - 'weathersigns.create'
    - 'weathersigns.destroy'
     
  15. Offline

    phaed

    Well it seems to me that all the permission nodes from iConomy all the way to longdistancetorch are messed up. Dunno if you knew this or not but spaces actually matter in yaml files. Align those permission nodes up with the rest.
     
    b0rnprox likes this.
  16. Offline

    b0rnprox

    thnx for the help everything worked perfect now :D
    i did only use 2 hours but i think it was worth it :D
    thnx again xD
     
  17. Offline

    dbizzzle

    By the way you can also put '*' for admin permissions and it gives them all permissions..... just a tip
     
  18. Offline

    b0rnprox

    just heard about it, but thnx anyway :)
     
  19. Offline

    dbizzzle

    No problem :p
     
  20. Offline

    CplPibald

    I just downloaded 1.02, and the snow thing still isn't fully fixed. It now works if you target through the top 3/4 of a snow block, but it still doesn't work if the torch would replace a snow block (eg: downward onto snowy terrain, or sideways into a 1-block high step with snow at the base)

    I've sent you a pull request with a fix that seems to work.
     
  21. Offline

    phaed

    Awesome, thanks.
     
  22. Offline

    ThyGuyX

    Link isn't working.
     
  23. Offline

    phaed

    Works with 1060
     
  24. Offline

    Shooty

    Can't you make this plugin but for all blocks O.O ? It will be awesome !
     

Share This Page