[MECH] FenceStack v1.13 - place fences above other fences [670-733]

Discussion in 'Inactive/Unsupported Plugins' started by jynxdaddy, Apr 3, 2011.

  1. Offline

    jynxdaddy

    FenceStack
    Version: v1.13
    [670-733]

    This plugin allows you to place fences above other fences, you no longer have to build from the top down.
    Just place fences like you would any other block.

    This plugin was originally authored by recanu.
    His old thread is here in the inactive forum

    Features:
    • Place fences above other fences!
    Planned:
    • Torches on fences
    Download FenceStack
    Source Code

    Changelog:
    Version 1.13
    • Updated for Build 602
    Version 1.12
    • Rewrote for Build 556.
    Version 1.11
    • Last release by recanu
     
  2. Offline

    Ranto1

    Thanks for reviving this! it is super useful
     
  3. Offline

    ThomasJ

    Thank you for taking over this useful plugin :)

    I'll make a small feature request while we are at it. Would it be possible to allow placing Torches on top of fences as well? :)
     
  4. Offline

    jynxdaddy

    I have been working on torches on top of fences, but it appears I need to wait for more bukkit features, or try another approach.

    If I ever figure it out it will be included.
     
  5. Offline

    khamseen_air

    Thank you for taking this on yourself and setting up a new thread, much easier to track updates this way. :)
     
  6. Offline

    jascotty2

    one method you could use to allow building torches on fences would to use a PlayerListener and use onPlayerInteract when event.getAction() == Action.RIGHT_CLICK_BLOCK && event.getClickedBlock().getType() == Material.FENCE and is holding a torch (event.getPlayer().getItemInHand().getType() == Material.TORCH)

    another note: in tBlockListener (assuming the code on github is current)
    Code:
    if (canReplace(event.getMaterial()))
    // can be replaced with:
    if(event.getMaterial() == Material.FENCE)
    
     
  7. Offline

    jynxdaddy

    The problem is keeping the torch there, eventually a physics event comes around and pops it off - even if the torch was already in the level (MCEdited in). I wasn't able to cancel the physics events - might be possible in Bukkit later.
     
  8. Offline

    g_BonE

    thanks from my side too, this is one of the more useful mods for constructing nice things like lamp posts etc.
     
  9. Offline

    ThomasJ

    I seem to recall that the author of WorldGuard/WorldEdit had made a private plugin that allowed placement of torches on fences. Maybe possible to ask him how he did it?
     
  10. Offline

    Nuinbot

    Correct. SK89Q just mentioned that it was something he developed for his server. I do not know if he has plans to release it, but I certainly would love to use it! Torches, both regular and redstone, would be nice to see functioning like tiki torches! :D
     
  11. Offline

    jascotty2

    that is interesting..
    i tried it, just to be sure, and i can't get them to stick, either. :confused:
    don't think it's block physics... that seems to be for falling (sand/gravel..)
     
  12. Offline

    NuclearPaws

    Would u be able to add permissions so that not everyone is allowed to place fences on fences? (It would be pointless since they will just do it 'THE LONG' way, it would be still a nice feature.
     
  13. Offline

    jascotty2

    it could even be set so that "the long way" doesn't work :)
     
    NuclearPaws likes this.
  14. Offline

    NuclearPaws

    Now That is awesome :) When would you be able to do add this feature? (I would like to keep my serv on 117 untill beta 1.5 (I hate changing bukkit versions... all plugins get messed up)

    Thanks A LOT,
    ~NuclearPaws

    P.S. If i wanted to make some plugins, where should I start? I hope you can help me.
     
  15. Offline

    jascotty2

    first you need an idea - that's where i'm not great at
    then you need to start with the skeleton (that's how i start, anyway) - the bare-bones pieces that you need to accomplish that task (looking through others' code can help)
    if you need assistance, i'm willing to help out :)

    didn't (couldn't figure out how to) implement torches on fences, but i added an option for config for NoFenceStack
    https://github.com/downloads/jascotty2/FenceStack/FenceStack.jar

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

    NuclearPaws

    That would be nice :)

    You have windows live or some other messenger that we could use?

    Thanks a lot, a lot, a lot,
    ~NuclearPaws

    >:3
     
  17. Offline

    Avous

    i have a request... please please please add the option to put torches ontop of half blocks?


    i found a cooler idea than torches on fence posts. it looks like this
    (TORCH)
    (WOODEN SLAB)
    (FENCE)
    (FENCE)
     
  18. Offline

    overlordror

    I'll support this addition, as I've created a village using halfblocks and I would love to be able to place things on top of them. Combining that into this FenceStack mod would be great.
     
  19. Offline

    Wall

    sweet plugin :)
     
  20. Offline

    Kryppuk

    i think it wouldnt be possible because the torch would be placed on the block above the half step.
     
  21. Offline

    jynxdaddy

    Yeah, a half is actually a full block it just looks smaller, and when you place another on it it becomes a different block.
     
  22. Offline

    khamseen_air

    Tried and tested on 670, everything working well. :)
     
    jynxdaddy likes this.
  23. Offline

    Unscrewed

    There is a way to stop the phsycics event for a small amount of selected blocks by putting them, like, independence... if you get what I mean... sorry my English isn't that good
     
  24. Offline

    jamescosten

    I like this goes well with the portCoulissante plugin Thank you
     
    jynxdaddy likes this.
  25. Offline

    khamseen_air

    @jynxdaddy thought you'd like to know it's running on RB 684 without any problems. :)

    Edit: I put RB 648... clearly I meant 684. lol :)
     
    jynxdaddy likes this.
  26. Offline

    Lazermatt

    Excellent addon, I have been using it for a few weeks now on my server. If at all possible, I would love if you could add the ability to place pressure plates on top of fences. They make suprisingly good tables.

    Thanks!
     
  27. Offline

    xorvious

    I would also like to see torches on top of fence posts, I think that would look excellent! Thanks for the great mod!
     
    Pim1234 likes this.
  28. Offline

    Sorken

    Ive been looking for a good table myself, i second this idea :)
     
  29. Offline

    icephantom

    Still working OK on bukkit #711 - great plugin.
     
  30. Offline

    khamseen_air

    jynxdaddy and Mr_Fj like this.

Share This Page