Skip to content
Public template

About

A template for Hytale java plugins. Highly WIP, things might break! ๐Ÿ™๐Ÿป

Resources

Stars

142 stars

Watchers

3 watching

Forks

Latest commit

ย 

History

12 Commits

Folders and files

Repository files navigation

Hytale Plugin Template

A template for Hytale java plugins. Created by Up, and slightly modified by Kaupenjoe and AzureDoom. Built with the Hytale Gradle Plugin now.

Getting Started

# Generate decompiled sources for your IDE and download the game assets
./gradlew setupHytaleDev

# Launch a local server with this plugin loaded
./gradlew runServer

# Launch with a debugger attached and hot swap enabled
./gradlew runServer -Ddebug=true -Dhotswap=true

The first run will prompt you to sign in with your Hytale account so the assets can be downloaded. Run ./gradlew hytaleDoctor if something isn't resolving correctly.

Configuring the Template

Plugin metadata (group, name, description, authors, main class, dependencies) lives in gradle.properties. src/main/resources/manifest.json is regenerated from those values on every build, so don't edit it by hand.

src/main/resources is linked straight into the local server's run/mods folder, so any asset changes you make in-game with the Asset Editor are written directly back into your source tree.

If you'd rather use your installed copy of the game than download the assets, point the project at it. The recommended way is to create a file at %USERPROFILE%/.gradle/gradle.properties to set this globally.

# Use a local Hytale install instead of downloading assets
hytale_home=path/to/Hytale

See the plugin wiki for the full list of options.

About

A template for Hytale java plugins. Highly WIP, things might break! ๐Ÿ™๐Ÿป

Resources

Stars

142 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages