Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ tasks.named<ProcessResources>("processResources") {
}

hytale {

// gameDir - specify where Hytale is installed at
// example for windows: gameDir = "G:/games/Hytale"
}

tasks.withType<Jar> {
Expand Down