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:
22
src/main/resources/Server/Item/Recipes/Example_Recipe.json
Normal file
22
src/main/resources/Server/Item/Recipes/Example_Recipe.json
Normal 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
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"pluginName": "TemplatePlugin",
|
||||
"version": "1.0.0",
|
||||
"debugMode": false
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user