[INACTIVE][MECH/SEC]AutoPlant v1.60 - Keep forests alive! CB[740] - CB[440]

Discussion in 'Inactive/Unsupported Plugins' started by Hawox, Mar 3, 2011.

  1. Offline

    Hawox

    AutoPlant - Keep forests alive!
    Versions and Downloads
    (May need to scroll)

    Source:
    https://github.com/Hawox/AutoPlant

    Are your forests disappearing over night? Are your new players having to travel for days on end to find a tree to even start playing? Sick of having to replant all those burned down forests everyday? Then this is for you!

    This is a very simple plugin that automatically plants a sapling when a log is broken(or burned) on top of dirt. It keeps forests planted with no effort on anyone's end at all! I've been using it on a server I use to work on for quite sometime and there are still trees everywhere around spawn. Yes is creates extra saplings into the system but since when have they been all that valuable?

    To put it simply. This plugin simulates everyone on your server being kind, caring, and considerate to the other players while still allowing them to be lazy!

    There is a config file that should be made when the plugin is first ran (it's also included in the .zip) that you can modify. It looks like this:

    Code:
    #Delay from log break to the sapling being planted (in milliseconds)
    Plant_Delay: 1000
    #How long the sapling is protected after this plugin plants it (in milliseconds)
    Protect_Time: 1000
    
    #When true the plugin will autoplant a burning log
    Replant_Burned_Tree: true
    
    #If these are true the the text in the variables below will be shown
    Tell_User_Planting: false
    Tell_User_Protected: true
    
    #The message that is sent to the player when a sapling is added to the play queue
    Being_Planted_Text: A new sapling will arrive in one moment
    #The message that is sent to the player when they try to break the recently planted/protected sapling
    Protected_Text: This sapling is protected from jerks like you!
    
    

    Features:
    • Auto plants a saplings when people harvest trees or when the tree is burned down.
    • Protects these saplings for a time after they are planted.
    • Also protects the dirt the sapling is on!
    • Can send a small message to the player so they know a sapling is coming or that a sapling is protected.
    • All of the above can be changed/modified in the config.yml file.
    Changelog:

    Version 1.60
    • Correct sapling type (birch etc.) will be planted when a log is broken.
    Version 1.53
    • Material under the sapling is now protected as well.
    Version 1.51
    • Updated for 670
    Version 1.50
    • Huge rewrite.
    • Moved config to yml
    • Config auto creates itself.
    • Text messages added.
    • Trees replant when burned down.
    • Added sapling protection.
    • Assured that there is no memory leak on my end and there never was one.
    Version 1.03

    • Changed up the timer system.
    Version 1.02

    • Renamed config file
    • Moved config file to better match plugin name
    Version 1.01

    • Removed .bukkit namespace
    Version 1.0

    • Finally made the message optional as it can get annoying when cutting down forests.
    • Plugin released.
    This was the first plugin I made for hMod way back in the day and I just never got around to releasing my plugins. I hope to get my more advanced plugins up here onto the forums in the next few days. Keep an eye out!
     
  2. Offline

    RaCooN

    Looks like a cool plug-in, one question though: is there like a permission, config or feature in which admins/op's are able to break the dirt underneath and the sapling itself?
     
  3. Offline

    Hawox

    Admin deletion stick! Currently no. I can make it so ops can however.
     
  4. Offline

    CPTNKeyes

    On version 1.6 (with CB 766, dunno about CB740) it spams, zlipperypete is not the only one experiencing this issue. 1.53 however works fine as far as I can tell.

    edit: My guess would be the new birch feature in 1.6 determining whether a normal log or birch log is broken has brought the spam back. ([SEVERE] Block Data:0)
     
  5. Offline

    Hawox

    Did you try re downloading that version? I realized I gave the wrong link a day or two after release.
     
  6. Offline

    CPTNKeyes

    I re downloaded after you made the announcement it was the wrong one, but I must have mixed up the files or something because I just re downloaded again and it works, my bad :p
     
  7. Offline

    Hawox

    Good to hear.
     
  8. Offline

    Sphex

    Please update to 803
     
  9. Offline

    Hawox

    Have you tried using it on 803?
     
  10. Offline

    Sphex

    Yes but it appear to not work.
     
  11. Offline

    Lolmewn

  12. Offline

    Lex Aevum

    Would it be possible to add an option so that unmolested trees will sometimes spread?
    IE: Go somewhere with much dirt but no trees, plant a tree, come back several (real) days later and find a small grouping of trees surrounding the user-planted one.
     
    Fluffgar likes this.
  13. Offline

    Phaedrus

    Seems to work fine on RB 818
     
  14. Offline

    Nazerb

    Could you make it that if the person has a permission node, the sappling will not reappear. As i dont want to be bugged by sapplings on my creative world.
     
  15. Offline

    Ratchet

    any way you can make it so this doesn't work for logs that people place down manually and then chop down? only for natural trees?
     
  16. Offline

    sfxworks

    818 support plox?
     
  17. Offline

    ROFLBOB

    Link seems to be dead. Is this still being updated?
     
  18. Offline

    JohnEBH

    Can someone provide a link to the latest version on their server? Link seems to be dead.
     
  19. Offline

    nznjr

    Can't download broken link! Please fix.
     
  20. Offline

    FireFreak111

    Seems like the author cbf about this plugin anymore
     
  21. Offline

    Bjourk

    Inactive?
    Is there a replacement out there?
     
  22. Offline

    compgurusteve

    TreeAssist
     
    Bjourk likes this.
  23. Offline

    lazy_architect

    Has anyone tested this with RB928 yet I'm going to update today. If not I will test and post back with it.
    UPDATE
    Did some fast testing with this on RB928 everything looks to work good.
     
  24. Offline

    Momo5502

    Link is broken!!!!
     
  25. Offline

    julianboekhout

    link is down
     
  26. Here's a link for Autoplant 1.6 HERE - its not updated in any way, just so that people who want to use it still can. I've tried it up to bukkit #910 - it might still work after that, don't know myself.
     
  27. Offline

    Ratchet

    developer not updating anymore?
     
  28. Offline

    mooman219

    I was updating it on my own. I revamped the config, added some commands for the OP to manage it, made it more customize able, and added some features. But i do not know how to publish a plugin.
     
  29. Offline

    Ratchet

    I think you post it in plugin submissions sub-forum?

    post a link here if you post it :) glad someones updating this
     
  30. Offline

    mooman219

  31. Offline

    MuisYa

    This is genius!
    Very handy for me.
     

Share This Page