diff --git a/.gitignore b/.gitignore index 9154f4c..68bc43a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -# ---> Java # Compiled class file *.class @@ -8,9 +7,6 @@ # BlueJ files *.ctxt -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - # Package Files # *.jar *.war @@ -22,5 +18,4 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* -replay_pid* diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ccfe75e --- /dev/null +++ b/pom.xml @@ -0,0 +1,72 @@ + + + 4.0.0 + + com.ijh + ijhp + 1.0-SNAPSHOT + jar + + ijhp + + + 17 + UTF-8 + + + + clean package + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + ${java.version} + ${java.version} + + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.3 + + + package + + shade + + + + + + + + src/main/resources + true + + + + + + + spigotmc-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + sonatype + https://oss.sonatype.org/content/groups/public/ + + + + + + org.spigotmc + spigot-api + 1.20.1-R0.1-SNAPSHOT + provided + + + diff --git a/src/main/java/com/ijh/Ijhp.java b/src/main/java/com/ijh/Ijhp.java new file mode 100644 index 0000000..320099d --- /dev/null +++ b/src/main/java/com/ijh/Ijhp.java @@ -0,0 +1,17 @@ +package com.ijh; + +import org.bukkit.plugin.java.JavaPlugin; + +public final class Ijhp extends JavaPlugin { + + @Override + public void onEnable() { + // Plugin startup logic + + } + + @Override + public void onDisable() { + // Plugin shutdown logic + } +} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100644 index 0000000..bd7f6c6 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,8 @@ +name: ijhp +version: '1.0-SNAPSHOT' +main: com.ijh.Ijhp +api-version: '1.20' +load: STARTUP +authors: [ DZY&IJH ] +description: IJH服务器插件 +website: http://175.24.191.172:1145/