Sapling and tree?

Discussion in 'Archived: Plugin Requests' started by DanielSivertsen, Feb 20, 2012.

  1. Offline

    DanielSivertsen

    Its it possible to make a plugin that you can zone the hole place with worldguard, but still possible to take down the trees, and the sapling with automatic plant them self and grow? And its still not possible to put down tings, but just chopp i down?
     
  2. Are you saying you want a tree to automatically grow when a sapling is placed?

    To do this the plugin would need use the on block place event and then set the sapling to air and there is a method which will grow a tree at the XYZ coordinates.

    Please tell me if I have completely misunderstood you.

    Keir
     
  3. Offline

    DanielSivertsen

    No when the tree is away the sapling will spawn at the point automatic and then grow after same time as you would put a sapling down
     
  4. Offline

    Royal_Soda

    DanielSivertsen
    This plugin has already been made.. here it is!
    It may be inactive, but for the time being it should work. The plugin is also open source, so it can be re-compiled with a later Bukkit jar. Also, there are many other plugins like this, take a look around.
     
  5. Offline

    DanielSivertsen

    Thanks!
    Royal_Soda
    But now back to a plugin that protect every thing around but not the logs and lease? Do you know about a plugin like that to?
     
  6. Offline

    Royal_Soda

    DanielSivertsen
    Not too sure about that. For the protection side of that, I suggest WorldGuard. As for the part about logs and leaves, I would suggest visiting the Plugin Requests forum and ask for a plugin that hooks into WorldGuard's API and lets you set regions that leaves and logs can be edited on.
     
  7. Offline

    DanielSivertsen

    Okey thanks! ;P
     
  8. Offline

    Zarius

    OtherDrops might be able to do that using WorldGuard regions... it's not designed to do this though, so not as clean as a custom plugin. Here's an example config (you'll need to allow build access to the region, otherwise players can't break the leaves or logs either):

    Code:
      ANYBLOCK except [LEAVES, LOG]:
        - region: [thisregion]
          drop: DENY                      # deny means to deny the whole event, so the block doesn't get destroyed.
          permission: [-thisregion]  # add permission "otherdrops.custom.thisregion" to players allowed to build here
    
     

Share This Page