Skip to content

Installation

RedstoneFuture edited this page Mar 22, 2024 · 9 revisions

1. Installation of a Mod Loader

The required Minecraft mod "JsMacros" is available in the latest versions for the mod loaders "Forge", "NeoForge" and "Fabric". One of these mod loaders must be installed first.

Best-Practice: Fabric

In the example of the mod loader Fabric, go to the official project page fabricmc.net and download the Fabric-Installer as an ".exe" or ".jar" file via "Download".

Now run the downloaded installer for the latest or desired Minecraft version. We recommend using "Create profile" to create a new Minecraft profile in the Minecraft launcher.

grafik

2. Installation of JsMacros

The scripts were developed for the latest stable version of the well-known Minecraft Mod JsMacros. The mod can be downloaded here for the desired mod loader.

To install the mod, go to your Minecraft installation directory (by default, this is C:\Users\<name>\AppData\Roaming\.minecraft) and put the downloaded ".jar" file in the .\mods folder. (If this folder does not exist, you can simply create it manually.)

3. Installation of the Language Extensions

Normally, the JsMacros scripts run via Java. To script in other languages, you can install and use the supported Language Extensions.

For Python

For the Canstein scripts provided here, the Python language extension JsMacros-Jython is required. You can find the download link here.

To install the mod, go to your Minecraft installation directory (by default, this is C:\Users\<name>\AppData\Roaming\.minecraft) and put the downloaded ".jar" file in the .\config\jsMacros\LanguageExtensions folder. (If these folders do not exist, you can simply create them manually.)

4. Installation of the Canstein Scripts

For the scripts provided here, you can download them here for example via "Code -> Download ZIP".

grafik

You can unzip the "JsMacros-Scripts-main.zip" file using a standard archiving program such as 7-Zip or WinRAR.

To install the scripts, go to your Minecraft installation directory (by default, this is C:\Users\<name>\AppData\Roaming\.minecraft) and put the downloaded folders in JsMacros-Scripts-main\scripts in the .\config\jsMacros\Macros folder. (The folder should already exist as a result of the last step.)

grafik

5. Start Minecraft with the chosen Mod-Loader

Now start the Minecraft launcher and select the newly created profile of the mod loader (here in the example: Fabric).

If no profile has been created yet, try to fix it by restarting your computer.

grafik

Start the game.

6. Adding the scripts

To link the Canstein scripts at JsMacros and assign shortcuts, open the "JS Macros Menu" (by default with the "K" key).

New scripts can be linked with "+".

grafik

Now you can select the following scripts:

  • .\PlotsGUI\MainWindow-Admin.py - Python script for the workshop moderation (recommended for team members)
  • .\PlayerGUI\UserGui.py - Python script for the guests (optional, useful to show / test the script)

Define a desired button to execute the script and enable it.

grafik

Even if the folder separator is "" in the operating system Windows, it is displayed with "/" in the overview.

Done

If one of the defined keys is now pressed, the corresponding tool GUI opens.