Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Installing a script

usb edited this page Jun 11, 2022 · 10 revisions

TODO: add images >w<

Installing JsMacros

Step 0: Install and Setup Fabric (1.16.5 or 1.18.2)

https://fabricmc.net/wiki/install
https://fabricmc.net/wiki/player:tutorials:install_mcl:windows

Step 1: Install the latest version JsMacros mod from here and start up Minecraft.

WARNING: If you are on 1.16.5, you must use v1.6.6, otherwise you need to update to Java 17 and follow this guide. Changing your Runtime Guide
It is important for you to startup Minecraft after downloading the mod, otherwise the critical folders would not be present.
https://github.com/wagyourtail/JsMacros/releases/

Step 2: Download the script archive from here. (Every version should have all scripts included)

https://github.com/U5B/jsmacros/releases/
You can also download the entire repo and just use the build directory. However, it may have bugs or might not work at all.

Step 3: Extract contents of zip to /<minecraft directory>/config/JsMacros/Macros/

Image

Step 4: Login to your favorite Minecraft server.

Image

Step 5: Press 'K' (by default) to open the JsMacros menu.

Image If you have a conflicting keybind, change it in the controls menu. You can also access the JsMacros menu through the Mod Menu mod.

Step 6: Navigate to the services (or jsmacros.services) menu in the bottom left. (DO NOT CLICK RUNNING)

Image

Step 7: Input a name for the service.

Image

Step 8: Point the file to the service pointing to the script you want that you just extracted.

For example, for the POI script, it would be either /build/health/poi.js/ or /health/poi.js Image Image

Step 9: Enable and run the service.

Image

Step 10: Profit. The script should now be running.

If it is a complex script, there is probably a help menu. Otherwise, the command name is probably the script name. More documentation is located here.