Prevent vine growth

Discussion in 'Archived: Plugin Requests' started by Graloth, Sep 19, 2012.

  1. Greetings everyone!

    I'm looking for a way to stop all vine growth globally, I haven't found any proof that it's doable with worldguard, and the only plugins I've found that seemed to have that functionality are nolonger updated :(

    So, anyone want to make a simple plugin to prevent all vine growth?
     
    IamHD likes this.
  2. Offline

    WolfMaster

    I wonder.....

    Edit: i will do it
     
  3. Offline

    Woobie

    Is there an event called VineGrowEvent ? :D

    LOL DAT COMBO!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
    IamHD likes this.
  4. Offline

    XbannisherX

    there is a BlockPhysicsEvent that you can use for this i think...
     
  5. Offline

    WolfMaster

    Going through testing now! :)
     
  6. wow, awesome! :D
     
  7. Offline

    WolfMaster

    [quote uid=90610478 name="XbannisherX" post=1342221]there is a BlockPhysicsEvent that you can use for this i think...[/quote]
    im sure blockgrowevent will work

    [quote uid=1692 name="Graloth" post=1342238]wow, awesome! :D[/quote]
    Here is the link
    <Edit by Moderator: Redacted mediafire url>

    Any problems pm me
    If its completely fine then tell me and i will release it so it will be constantly updated! :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 9, 2016
  8. Sadly, it seems vines are still growing :( not getting any errors though
     
  9. Offline

    WarmakerT

    I thought WorldGuard could do this.
     
  10. As did I, but I've not found any setting or flag for it anywhere, nor any proof of it actually being able to handle it
     
  11. Offline

    WarmakerT

    Check the config.
     
  12. Did that too, no setting for it, even doing a search for "vine" shows nothing
     
  13. Offline

    HollowCube

    I'll take a shot at it. Right now I'm testing a few different pieces of code to see if they work, but the vines are taking forever to grow.
     
  14. Offline

    BrighamX

    you could create or use a code to make them grow faster
     
  15. Offline

    HollowCube

    This is taking much longer than I expected it would take. I could not find any methods so far that covered vine growth. If given a bit of time (maybe the weekend) I will continue to try and make a plugin to prevent vine growth.
     
  16. Offline

    jacklin213

    Last edited by a moderator: May 28, 2016
  17. Offline

    jacklin213

    Oh ok I'll go fix that or someone can just de compile my plugin and add it in. If no one does this after 24 hours I will
     
  18. Offline

    HollowCube

    Can't update it according to the license; it isn't open source. Also, if you don't create a plugin to do this before me I'll make one. I'm just really low on time this week because of school, exams, etc.
     
  19. Offline

    WolfMaster

    Im surprised mine didnt work, i thought BlockGrowEvent would have worked tbh
     
  20. It did seem to grow a lot slower, but that might just be me
     
  21. Offline

    WolfMaster

    my plugin should have stopped it
     
  22. I even made sure to test it with only your plugin active, so sad to say that it didn't :(
     
  23. Offline

    WolfMaster

    Im confused then, this is a lot stranger than first sight
     
  24. Offline

    jacklin213

    do u mind if i take a look at your code(i might be able to learn something from it) ^o^
     
  25. Offline

    WolfMaster

    sure i will pm you the code
     
  26. Offline

    jacklin213

    Lol can someone tell me how to test vine growth.
     
  27. Offline

    HollowCube

    I've tried BlockGrowEvent, BlockSpreadEvent, and BlockFormEvent, but none of them responded when the vines grew. First things first, we need to figure out what listener catches vine growth. <--- Biggest challenge of making this plugin.

    No wonder I couldn't find a proper event, take a look at the ticket below:
    https://bukkit.atlassian.net/browse/BUKKIT-1097

    We would (probably) have to use something such as a BlockPhysicsEvent and cancel it, as long as it was not a result of a player or another plugin (mostly world editing plugins).

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

    jacklin213

    Already read that ^ that's y I didn't use block events u listed
     
  29. Offline

    HollowCube

    I guess I'm a step behind you then. :rolleyes:
     

Share This Page