Migrate to new Hytale plugin template structure

Replaces the previous Kotlin-based Gradle build and template files with a new Java-based Gradle build system and updated example plugin code. Removes old build scripts, plugin template, and configuration, and introduces a new ExamplePlugin with updated manifest, command, and recipe example. Updates documentation and project configuration to match the new structure and usage.
This commit is contained in:
Britakee
2026-01-16 07:24:15 +01:00
parent 4f7cabf1d1
commit 41dd40e48b
20 changed files with 367 additions and 786 deletions

View File

@@ -0,0 +1,22 @@
{
"Input": [
{
"ItemId": "Soil_Dirt",
"Quantity": 10
}
],
"PrimaryOutput": {
"ItemId": "Soil_Dirt",
"Quantity": 1
},
"BenchRequirement": [
{
"Id": "Fieldcraft",
"Type": "Crafting",
"Categories": [
"Tools"
]
}
],
"Seconds": 1
}

View File

@@ -1,5 +0,0 @@
{
"pluginName": "TemplatePlugin",
"version": "1.0.0",
"debugMode": false
}

View File

@@ -1,19 +1,22 @@
{
"Group": "TemplatePlugin",
"Name": "TemplatePlugin",
"Version": "1.0.0",
"Description": "A Hytale plugin template",
"Authors": [
{
"Name": "YourName",
"Email": "your.email@example.com",
"Url": "https://your-website.com"
}
],
"Website": "https://github.com/yourusername/hytale-plugin-template",
"Main": "com.example.templateplugin.TemplatePlugin",
"ServerVersion": "*",
"Dependencies": {},
"OptionalDependencies": {},
"DisabledByDefault": false
}
"Group": "Example",
"Name": "ExamplePlugin",
"Version": "0.0.2",
"Description": "An example plugin for HyTale!",
"Authors": [
{
"Name": "It's you!"
}
],
"Website": "example.org",
"ServerVersion": "*",
"Dependencies": {
},
"OptionalDependencies": {
},
"DisabledByDefault": false,
"Main": "org.example.plugin.ExamplePlugin",
"IncludesAssetPack": true
}