From 6f20b8268b55fbc0b7f6a656648d0e1e17f32db4 Mon Sep 17 00:00:00 2001 From: Tim Kainz Date: Thu, 5 Feb 2026 21:58:32 +0100 Subject: [PATCH] Updated Manifest and Package names --- gradle.properties | 4 ++-- .../SolarCell}/ExampleCommand.java | 2 +- .../SolarCell}/ExamplePlugin.java | 4 +++- src/main/resources/manifest.json | 17 ++++++++++------- 4 files changed, 16 insertions(+), 11 deletions(-) rename src/main/java/org/{example/plugin => KaiFlo/SolarCell}/ExampleCommand.java (97%) rename src/main/java/org/{example/plugin => KaiFlo/SolarCell}/ExamplePlugin.java (94%) diff --git a/gradle.properties b/gradle.properties index e0e99eb..0880992 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,9 +1,9 @@ # The current version of your project. Please use semantic versioning! -version=0.0.2 +version=0.0.1 # The group ID used for maven publishing. Usually the same as your package name # but not the same as your plugin group! -maven_group=org.example +maven_group=org.KaiFlo # The version of Java used by your plugin. The game is built on Java 21 but # actually runs on Java 25. diff --git a/src/main/java/org/example/plugin/ExampleCommand.java b/src/main/java/org/KaiFlo/SolarCell/ExampleCommand.java similarity index 97% rename from src/main/java/org/example/plugin/ExampleCommand.java rename to src/main/java/org/KaiFlo/SolarCell/ExampleCommand.java index 6c1b119..704ef98 100644 --- a/src/main/java/org/example/plugin/ExampleCommand.java +++ b/src/main/java/org/KaiFlo/SolarCell/ExampleCommand.java @@ -1,4 +1,4 @@ -package org.example.plugin; +package org.KaiFlo.SolarCell; import com.hypixel.hytale.protocol.GameMode; import com.hypixel.hytale.server.core.Message; diff --git a/src/main/java/org/example/plugin/ExamplePlugin.java b/src/main/java/org/KaiFlo/SolarCell/ExamplePlugin.java similarity index 94% rename from src/main/java/org/example/plugin/ExamplePlugin.java rename to src/main/java/org/KaiFlo/SolarCell/ExamplePlugin.java index e7c7c9e..10074b3 100644 --- a/src/main/java/org/example/plugin/ExamplePlugin.java +++ b/src/main/java/org/KaiFlo/SolarCell/ExamplePlugin.java @@ -1,4 +1,4 @@ -package org.example.plugin; +package org.KaiFlo.SolarCell; import com.hypixel.hytale.logger.HytaleLogger; import com.hypixel.hytale.server.core.plugin.JavaPlugin; @@ -10,6 +10,8 @@ import javax.annotation.Nonnull; * This class serves as the entrypoint for your plugin. Use the setup method to register into game registries or add * event listeners. */ + +@SuppressWarnings("unused") public class ExamplePlugin extends JavaPlugin { private static final HytaleLogger LOGGER = HytaleLogger.forEnclosingClass(); diff --git a/src/main/resources/manifest.json b/src/main/resources/manifest.json index 169a0cc..0773ced 100644 --- a/src/main/resources/manifest.json +++ b/src/main/resources/manifest.json @@ -1,14 +1,17 @@ { - "Group": "Example", - "Name": "ExamplePlugin", - "Version": "0.0.2", - "Description": "An example plugin for HyTale!", + "Group": "KaiFlo", + "Name": "SolarCell", + "Version": "0.0.1", + "Description": "A Solar Cell Mod", "Authors": [ { - "Name": "It's you!" + "Name": "Florian Greindl" + }, + { + "Name": "Tim Kainz" } ], - "Website": "example.org", + "Website": "https://github.com/KainTim/hytale-solar-cell-plugin", "ServerVersion": "*", "Dependencies": { @@ -17,6 +20,6 @@ }, "DisabledByDefault": false, - "Main": "org.example.plugin.ExamplePlugin", + "Main": "org.KaiFlo.SolarCell.SolarCellPlugin", "IncludesAssetPack": true } \ No newline at end of file