diff --git a/gui-plugin/.gitignore b/gui-plugin/.gitignore deleted file mode 100644 index b63da45..0000000 --- a/gui-plugin/.gitignore +++ /dev/null @@ -1,42 +0,0 @@ -.gradle -build/ -!gradle/wrapper/gradle-wrapper.jar -!**/src/main/**/build/ -!**/src/test/**/build/ - -### IntelliJ IDEA ### -.idea/modules.xml -.idea/jarRepositories.xml -.idea/compiler.xml -.idea/libraries/ -*.iws -*.iml -*.ipr -out/ -!**/src/main/**/out/ -!**/src/test/**/out/ - -### Eclipse ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache -bin/ -!**/src/main/**/bin/ -!**/src/test/**/bin/ - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ - -### VS Code ### -.vscode/ - -### Mac OS ### -.DS_Store \ No newline at end of file diff --git a/gui-plugin/build.gradle.kts b/gui-plugin/build.gradle.kts deleted file mode 100644 index 7c65573..0000000 --- a/gui-plugin/build.gradle.kts +++ /dev/null @@ -1,13 +0,0 @@ -dependencies { - compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") - compileOnly(project(":api")) - implementation("xyz.xenondevs.invui:invui:1.27") { - exclude("org.jetbrains") - } -} - -tasks { - shadowJar { - relocate ("xyz.xenondevs", "net.momirealms.customcrops.libraries") - } -} \ No newline at end of file diff --git a/gui-plugin/src/main/java/net/momirealms/customcrops/gui/CustomCropsGUI.java b/gui-plugin/src/main/java/net/momirealms/customcrops/gui/CustomCropsGUI.java deleted file mode 100644 index b6f808c..0000000 --- a/gui-plugin/src/main/java/net/momirealms/customcrops/gui/CustomCropsGUI.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) <2024> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package net.momirealms.customcrops.gui; - -import org.bukkit.plugin.java.JavaPlugin; - -public class CustomCropsGUI extends JavaPlugin { - - private static CustomCropsGUI instance; - - @Override - public void onEnable() { - instance = this; - } - - @Override - public void onDisable() { - } - - public static CustomCropsGUI getInstance() { - return instance; - } -} diff --git a/gui-plugin/src/main/java/net/momirealms/customcrops/gui/GUIManager.java b/gui-plugin/src/main/java/net/momirealms/customcrops/gui/GUIManager.java deleted file mode 100644 index 1ae4af4..0000000 --- a/gui-plugin/src/main/java/net/momirealms/customcrops/gui/GUIManager.java +++ /dev/null @@ -1,16 +0,0 @@ -package net.momirealms.customcrops.gui; - -import net.momirealms.customcrops.api.event.PotInteractEvent; -import org.bukkit.Material; -import org.bukkit.event.EventHandler; -import org.bukkit.event.Listener; - -public class GUIManager implements Listener { - - @EventHandler (ignoreCancelled = true) - public void onInteractPot(PotInteractEvent event) { - if (event.getItemInHand().getType() != Material.AIR) - return; - - } -} diff --git a/gui-plugin/src/main/resources/config.yml b/gui-plugin/src/main/resources/config.yml deleted file mode 100644 index bd18ece..0000000 --- a/gui-plugin/src/main/resources/config.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Offset characters' unicodes -# Never edit this unless you know what you are doing -offset-characters: - font: customcrops:offset_chars - '1':  - '2':  - '4':  - '8':  - '16':  - '32':  - '64':  - '128':  - '-1':  - '-2':  - '-4':  - '-8':  - '-16':  - '-32':  - '-64':  - '-128':  \ No newline at end of file diff --git a/gui-plugin/src/main/resources/plugin.yml b/gui-plugin/src/main/resources/plugin.yml deleted file mode 100644 index 5972dc1..0000000 --- a/gui-plugin/src/main/resources/plugin.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: CustomCropsGUI -version: '${version}' -main: net.momirealms.customcrops.gui.CustomCropsGUI -api-version: 1.17 -load: POSTWORLD -authors: [ XiaoMoMi ] -folia-supported: true -depend: - - CustomCrops \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index a5b54b7..a492555 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,5 +2,4 @@ rootProject.name = 'CustomCrops' include(":plugin") include(":api") include(":legacy-api") -include(":gui-plugin")