[MECH] EasyFarm v1.0 - Painless method of harvesting and growing farms. Recursive. Sign based. [803]

Discussion in 'Inactive/Unsupported Plugins' started by marinating, May 17, 2011.

  1. Offline

    marinating

    <font color="rgb(20, 20, 20)">EasyFarm - Eliminate the tedium of manually harvesting and replanting your farms.</font>
    <font color="rgb(20, 20, 20)">Version: 1.0</font>

    <font color="rgb(20, 20, 20)">EasyFarm was created by me so that I don't have to spend unnecessary amounts of time breaking individual blocks of wheat and replanting them. The way it works is simple. Place a sign with the text [EasyFarm] on any line, as long as the sign is one block away from a fully grown block of wheat (N, S, E, W) and click it. EasyFarm will then go through every block that is directly touching this block (recursively, to make it as lightweight as possible) in a N S E W configuration. It will harvest every patch of wheat in this manner until it hits a foreign block or a bit of wheat that isn't fully grown. All wheat harvested this way is dropped out of the sign into a single location, where you can pick it up at your leisure.</font>
    <font color="rgb(20, 20, 20)">EasyFarm currently does not support diagonals. If people really want this it can be added very easily.</font>
    <font color="rgb(20, 20, 20)">Another perk that comes with EasyFarm is EasyGrow. To use it, simple place a sign with the text [EasyGrow] on it anywhere (as long as it's on its own line) and click the sign. In the same manner as EasyFarm, all non-fully grown wheat patches around it will be accelerated to a fully grown state. It's like instant bonemeal!</font>
    <font color="rgb(20, 20, 20)">For free wheat and shenanigans, place [EasyFarm] on one line and [EasyGrow] on the next. Clicking the sign will then give you free wheat, and your field will remain fully planted with ripe crops!</font>
    <font color="rgb(20, 20, 20)">EasyFarm has permissions support, but will default to OP.</font>
    <font color="rgb(20, 20, 20)">For EasyFarm: 'easy.farm'</font>
    <font color="rgb(20, 20, 20)">For EasyGrow: 'easy.grow'</font>
    <font color="rgb(20, 20, 20)">Any player may place EasyFarm signs but clicking will have no effect unless the player is given permission.</font>


    Show Spoiler



    <font color="rgb(20, 20, 20)">Features:</font>
    * Super speedy harvest, with no wheat loss and no extra seeds to deal with!
    * Recursive method makes this plugin lightweight and speedy!
    * Permissions support!
    * EasyGrow instantly grows out wheat!
    * Intuitive and friendly sign based interface! No commands necessary!

    Download: <Edit by Moderator: Redacted mediafire url>
    Source Code: Here
    ChangeLog:
    Version 1.0
    * Release
     
    Last edited by a moderator: Dec 14, 2016
    thepackett and kahlilnc like this.
  2. Offline

    kahlilnc

  3. Offline

    PatrickFreed

    Could you tie it to chests, and maybe only harvest/replant if there are seeds/hoe inside?
     
  4. Offline

    marinating

    I prefer to keep it simple but in the next generation, if it detects a chest nearby, it will attempt to withdraw seeds and place wheat directly inside.
     
  5. Offline

    Kartus

    or players should just use plugin DropChest to keep your plugin clean of more code ;)
     
  6. Offline

    PatrickFreed

    Only reason I want the seed thing is that it's basically generating wheat, throwing out the value of bread /food.
     
  7. Offline

    marinating

    I don't get it. So you want it to throw out seeds too? Or to consume seeds? Generally, harvesting a farm gives you more seeds than you'll use to replant. I figured the loss of those extra seeds is the cost of using a sign for easy harvesting.
     
  8. Offline

    Stanly

    love yo man. but can u make it not harvesting. u can harvest by ur self and use ur own seeds for replanting? really dont like cheating :) nice work here

    make a guide how to use it :)

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

    marinating

    Wait, what do you mean, "harvest by yourself and use your own seeds for replanting"? The point of this plugin is to automate both steps. Do you want this to only harvest, or only plant?
     
  10. Offline

    Zaros

    Could you make an insta-seed feature so that the area still has to grow?
     
  11. Offline

    Stanly

    dude i have a verry verry big wish. i have a automaticfarm. and whats the point with an automatic farm if i have to replant by my self. so if u could make this along with wrold edit or something like that. i would like if you could make that all the farmland nearby like 60x60, but u could shoose what size to grow. cuz i dont want my friends farm to grow and replant ;) . so if u could make all farmland around the sign but u could shoose size. this would be a verry good mod :) anyways let me hear from you ;)
     
  12. Offline

    marinating

    @Zaros That's exactly what this plugin does. The [EasyFarm] sign harvests and replants seeds automatically, but won't grow plants for you.

    @Stanly The plugin already does this. It automatically farms all of the wheat as long as they touch each other.
     
  13. Offline

    Stanly

    listen ;). if i now make the plants grow with ur plugin ;) . and i harvest them. i have to replant the seeds to make em grow again... and thats to bad. and also. when ur going to uppgrade this plugin can u make it also replandt the crops that is one block lower cuz my auto farm goes down each 7 blok cuz of the water

    have worte to u :)

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

    marinating

    @Stanly If you're growing the plants with this plugin, you're placing a sign that says [EasyGrow]. If you want to harvest/replant, you need to make an [EasyFarm] sign. I can make it detect lower blocks but this may make the server more laggy when you use the plugin. It would be easier if you just built a big farm all on one level.
    If [EasyFarm] is not replanting please take a picture or make a video of the problem and I'll take a look at it.
     
  15. Offline

    Stanly

    we pretend that my farm is done doing the automatic thing with the crops. and it have now taken away all my crops. and now i want the seeds to replant. but it cant because its no seeds there because the water took the seeds and the crops :(
     
  16. Offline

    marinating

    Here's the way the plugin works:
    When you click the [EasyFarm] sign, it checks the blocks in the 4 directions around it (north, south, east, west) for fully grown wheat.
    If it finds wheat, it will break the wheat, give you wheat, and plant seeds in the dirt all in one step.
    It will then check north, south, east, west of the new block. If it finds another block of wheat, it will keep repeating.
    This means that it can harvest an infinite amount of wheat as long as all of it is connected by north, south, east or west.
    If you have water flowing down then the water will break the seeds that the plugin planted. When water hits seeds, it will break them and not give you anything. I can't do anything about this. Solution: Turn off the water.
     
  17. Offline

    Stanly

    do you have skype? can we talk there?
     
  18. Offline

    marinating

    I don't have skype. Can you take a picture or video of the problem and post it here?
     
  19. Offline

    Stanly

    u have team wierwer?

    if u have msn and hamatchi u can join my server and ill tell u the problem
    :):):):):):)

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

    marinating

    I don't have team viewer, I have msn, and I can't get on Minecraft right now. Send your msn to my inbox and we'll talk there.
     
  21. Offline

    Stanly

    sen me your email?
     
  22. Offline

    Wakko

    Good point.
    I must try this!
     
  23. Offline

    thepackett

    Since we're talking about farming why not add the option to use this on reeds as well? :D
    EDIT: i mean sugar cane but anyone who has been playing since before that update still calls them reeds :p
     
  24. Edit: Sorry. My fault :) Not read the instructions carefuly.
    [​IMG]

     
  25. Offline

    marinating

    @thepackett I'll increase the range and add sugar cane/reed compatibility soon since people can't seem to figure out the one-block rule.

    @Calvin Alexander Please watch the youtube video to see why this doesn't work. The sign has to be one block away from the wheat. In your case both signs would have to be in the little gap between the half step and the wheat. Alternatively you could take out one of the wheat blocks and replace it with the [EasyFarm] or [EasyGrow] sign.
     
  26. Thank you for the answers Jimmy Newtron :) Now it worked perfectly!!!
     
  27. I think he has made it so that water moves the harvested crops to somewhere else where he can collect it. This way I suppose it removes the seeds to before the sign have time to replant.

    My beliefs only thought. Hard to translate some of that. :p
     
  28. Offline

    Stanly

    u have 100% right :)

    u have rigth my friend :)

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

    marinating

    The sign harvests the crops and gives you the wheat directly, so there's no need for water anymore.
     
  30. can you implement a timer in it?
    so that a player can only click on the sign every 30 minutes?
    and that the time can be configurable?
    i would really like to see that.
     

Share This Page