Hylight
Hylight - A Gradle plugin to simplify creating Hytale plugins.
warning
Hylight is unstable software! There is missing functionality and maybe also bugs.
Usage
We're planning to release a plugin template for Hylight soon. Until then, these instructions should work.
-
Create a new Gradle-based project in your IDE of choice
-
Enable the plugin
- Add the following to your
settings.gradle:
settings.gradlepluginManagement {
repositories {
maven {
name = 'Nexusrealms'
url = 'https://maven.riftrealms.de/releases'
}
mavenCentral()
gradlePluginPortal()
}
}- Add the following to your
build.gradle:
build.gradleplugins {
id 'de.nexusrealms.hylight' version "0.1.2"
} - Add the following to your
-
Run the
configureDownloaderGradle task -
Run the
addDependencyGradle task- On the first run, you will need to authenticate the downloader via OAuth. Wait for links to appear in the console.
-
You are now ready to mod! Add a
manifest.json, add your main class, add your code! -
When you want to run the server with your plugin, run the
runServerGradle task -
Make sure to add the Hytale Downloader and the
.hytale-downloader-credentials.jsonfile to.gitignore
Support
Need help? Join our Discord server for support and discussions.