diff --git a/README.md b/README.md index d576b0022..3230023e1 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,17 @@ A template for Hytale java plugins. Created by Up, and slightly modified by Kaupenjoe. + +## Override default Hytale install location + +If you have installed Hytale in a custom location then by default the decompiled Server jar will not show up in IntelliJ External Libraries, also the `decompileServer` Gradle task will fail. + +To fix this you can specify the your install location using `hytale` function in `build.gradle.kts` using `gameDir` and set the value to be where you have installed Hytale. + +Example for Windows +```kotlin +hytale { + gameDir = "G:/games/Hytale" +} +``` +Where `G:` is your drive where Hytale is installed \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 5f8e9ab09..8d010c67c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -61,7 +61,8 @@ tasks.named("processResources") { } hytale { - + // gameDir - specify where Hytale is installed at + // example for windows: gameDir = "G:/games/Hytale" } tasks.withType {