THIS PROJECT IS A WORK IN PROGRESS AND WILL BE CHANGED OVER TIME. THE CURRENT MACRO IS UNSTABLE AND SPAMS THE SERVER LOGS. You heard it right - no more having to stop and sell all your wood. With this, all your wood gets sold straight away! Tree Farming Macro Hey everyone, I only just installed macro a couple of days ago and let me tell you right now - it's amazing. Now, I love going into the technical side of stuff so I began to learn how scripting in macro works. I started off with a bit of a struggle, but just a few minutes later I had made my first ever macro - the tree farming macro. What can this do? Simple - the moment you collect wood, it sells it for you? There's no more need to stop and manually type it, from now on it's automatic! Sweet! How can I get it? Firstly, you need to make sure that macro is installed properly into your Minecraft client. There are plenty of tutorials all over the internet, and even on the "Basic Tutorial" section, which you're on right now! Next, create a new text file and create a new file called "Wood.txt" (or really anything you want). Paste this script into the text file: Code: $${[/SIZE][/LEFT] [SIZE=4][LEFT]IF(%PICKUPITEM%="Spruce Wood") ECHO( /sell log:1) ENDIF }$$ Now, create a new macro in the "Events" section called "onPickupItem". Type in $$<Wood.txt> (replace Wood with whatever you named your text file). After that, you should be all set! Enjoy automatically selling your wood whenever you tree farm! IMPORTANT: In the text code I have assumed that you are farming spruce wood. You may have to edit this, depending on what wood you are farming. Simply change "Spruce Wood" with whatever you are farming and change log:1 to the type of wood as well. log = Oak log:1 = Spruce log:2 = Birch log:3 = Jungle Log_2 = Acacia Log_2:1 = Dark Oak
Honestly at this point I just make it so that it sells wood every 10 seconds. If you'd like that I'll put it up.