Skip to content

Quickstart

AzureDoom edited this page Jun 8, 2026 · 2 revisions

Quickstart

plugins {
    id 'java'
    id 'com.azuredoom.hytale-tools' version '1.+'
}

hytaleTools {
    hytaleVersion = '0.+'
    // Optional: override the manifest ServerVersion field.
    // If unset, dynamic hytaleVersion selectors like '0.+'
    // resolve to the concrete server version in manifest.json.
    // manifestServerVersion = '>=0.5.0-pre.9 <0.6.0'
    manifestGroup = 'com.example.mods'
    // Author format: Name, or Name|Email, or Name|Email|Url.
    // Separate multiple authors with commas. Email and Url are optional.
    // Example: 'Alice|alice@example.com|https://example.com,Bob'
    modCredits = 'yourname'
    patchline = 'release'
    modId = 'examplemod'
    mainClass = 'com.example.mods.ExampleMod'
    
    // Optional: declare sub-plugins bundled with this mod
    subPlugin('MyFeature', 'com.example.mods.feature.MyFeaturePlugin')

    // Optional: enabled by default. Injects hosted Hytale API docs into
    // generated Vineflower server sources for easier IDE browsing.
    injectServerJavadocsIntoSources = true
}

Then run:

./gradlew setupHytaleDev
./gradlew runServer

Having issues? See Support & Issues.



Home | Task Reference | Troubleshooting

Clone this wiki locally