commit 7f8ba1dc03c8baf20d5fe53c14f8975f8316ec88 Author: jakub Date: Wed Oct 18 22:23:39 2023 +0200 1 diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/artifacts/Informator_jar.xml b/.idea/artifacts/Informator_jar.xml new file mode 100644 index 0000000..0eb4301 --- /dev/null +++ b/.idea/artifacts/Informator_jar.xml @@ -0,0 +1,8 @@ + + + $USER_HOME$/Plocha/betaserver/plugins/ + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..ea00890 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..861936a --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28403f3 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f70bc9d --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Informator.iml b/Informator.iml new file mode 100644 index 0000000..fa63d4b --- /dev/null +++ b/Informator.iml @@ -0,0 +1,12 @@ + + + + + + + SPIGOT + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..0283fdb --- /dev/null +++ b/pom.xml @@ -0,0 +1,76 @@ + + + 4.0.0 + + xyz.soukup + Informator + 1.0-SNAPSHOT + jar + + Informator + + All in one plugin for TAB, Scoreboard, Title, Bossbar, Chat annoucements and MOTD + + 1.8 + UTF-8 + + https://soukup.xyz/ + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + ${java.version} + ${java.version} + + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + package + + shade + + + false + + + + + + + + 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.16.5-R0.1-SNAPSHOT + provided + + + diff --git a/src/main/java/xyz/soukup/informator/Informator.java b/src/main/java/xyz/soukup/informator/Informator.java new file mode 100644 index 0000000..ce16f3d --- /dev/null +++ b/src/main/java/xyz/soukup/informator/Informator.java @@ -0,0 +1,40 @@ +package xyz.soukup.informator; + +import org.bukkit.Color; +import org.bukkit.plugin.java.JavaPlugin; + +import java.util.logging.Logger; + +public final class Informator extends JavaPlugin { + + @Override + public void onEnable() { + Logger logger = Informator.getPlugin(Informator.class).getLogger(); + logger.info( "\u001B[34m \n"+ + " ____ ____ __ \n" + + " / _/___ / __/___ _________ ___ ____ _/ /_____ _____\n" + + " / // __ \\/ /_/ __ \\/ ___/ __ `__ \\/ __ `/ __/ __ \\/ ___/\n" + + " _/ // / / / __/ /_/ / / / / / / / / /_/ / /_/ /_/ / / \n" + + "/___/_/ /_/_/ \\____/_/ /_/ /_/ /_/\\__,_/\\__/\\____/_/ \n" + + " \n" + + "\u001B[33m===========================================================\n\n" + + "\u001B[34m Plugin version:\u001B[37m " + getDescription().getVersion() + + "\n\u001B[34m Author:\u001B[37m Jakub Soukup" + + "\n\u001B[34m Website:\u001B[37m " + getDescription().getWebsite() + + "\n\u001B[34m Source code:\u001B[37m Jakub Soukup" + + "\n\n\u001B[35m Thanks for using my plugin! It means a lot to me <3" + + "\n\n" + + "\u001B[33m===========================================================\n" + + ); + } + + @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..537b105 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,7 @@ +name: Informator +version: '${project.version}' +main: xyz.soukup.informator.Informator +api-version: '1.16' +authors: [Jakub Soukup] +description: All in one plugin for TAB, Scoreboard, Title, Bossbar, Chat annoucements and MOTD +website: https://soukup.xyz/ diff --git a/target/Informator-1.0-SNAPSHOT.jar b/target/Informator-1.0-SNAPSHOT.jar new file mode 100644 index 0000000..f001c6e Binary files /dev/null and b/target/Informator-1.0-SNAPSHOT.jar differ diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml new file mode 100644 index 0000000..222c86f --- /dev/null +++ b/target/classes/plugin.yml @@ -0,0 +1,7 @@ +name: Informator +version: '1.0-SNAPSHOT' +main: xyz.soukup.informator.Informator +api-version: '1.16' +authors: [Jakub Soukup] +description: All in one plugin for TAB, Scoreboard, Title, Bossbar, Chat annoucements and MOTD +website: https://soukup.xyz/ diff --git a/target/classes/xyz/soukup/informator/Informator.class b/target/classes/xyz/soukup/informator/Informator.class new file mode 100644 index 0000000..3ab6270 Binary files /dev/null and b/target/classes/xyz/soukup/informator/Informator.class differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..6c2a47e --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Oct 18 21:50:14 CEST 2023 +version=1.0-SNAPSHOT +groupId=xyz.soukup +artifactId=Informator diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..8914df6 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +/home/jakub/IdeaProjects/Informator/src/main/java/xyz/soukup/informator/Informator.java diff --git a/target/original-Informator-1.0-SNAPSHOT.jar b/target/original-Informator-1.0-SNAPSHOT.jar new file mode 100644 index 0000000..2468a93 Binary files /dev/null and b/target/original-Informator-1.0-SNAPSHOT.jar differ