Getting Started
Programming knowledge is not necessarily required, but it will help you a lot.
You will need a text editor. While any will do, we recommend using one of the ones listed in editors, as those have integrated support.
- Download Minecraft Forge 1.12.2 and install it
- Download the latest version of GroovyScript here and drop it into the mods folder
- Also install MixinBooter since GroovyScript depends on it
- Launch minecraft without adding any files
- GroovyScript will create several files
logs/groovy.log
groovy/runConfig.json
groovy/postInit/main.groovy
(default script file)
Groovy Log
The Groovy Log is where GroovyScript logs all of its information for separate use.
It is always located at [Minecraft instance path]/logs/groovy.log
for clients and [Minecraft instance path]/logs/groovy_server.log
for servers.
Run Config
The Run Config controls some settings and the load order of scripts.
Important Information
- Groovy scripts must end in
.groovy
,.gy
,.gvy
, or.gsh
. - Groovy scripts must be defined somehow in the run config to be executed
- The scripts and folders can have any name
- All scripts and the run config must be located in
[Minecraft instance path]/groovy/