master
commit
7f8ba1dc03
19 changed files with 242 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
# Default ignored files |
||||
/shelf/ |
||||
/workspace.xml |
||||
@ -0,0 +1,8 @@ |
||||
<component name="ArtifactManager"> |
||||
<artifact type="jar" build-on-make="true" name="Informator:jar"> |
||||
<output-path>$USER_HOME$/Plocha/betaserver/plugins/</output-path> |
||||
<root id="archive" name="Informator.jar"> |
||||
<element id="module-output" name="Informator" /> |
||||
</root> |
||||
</artifact> |
||||
</component> |
||||
@ -0,0 +1,13 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="CompilerConfiguration"> |
||||
<annotationProcessing> |
||||
<profile name="Maven default annotation processors profile" enabled="true"> |
||||
<sourceOutputDir name="target/generated-sources/annotations" /> |
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> |
||||
<outputRelativeToContentRoot value="true" /> |
||||
<module name="Informator" /> |
||||
</profile> |
||||
</annotationProcessing> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,7 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="Encoding"> |
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" /> |
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" /> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,30 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="RemoteRepositoriesConfiguration"> |
||||
<remote-repository> |
||||
<option name="id" value="central" /> |
||||
<option name="name" value="Central Repository" /> |
||||
<option name="url" value="https://repo.maven.apache.org/maven2" /> |
||||
</remote-repository> |
||||
<remote-repository> |
||||
<option name="id" value="sonatype" /> |
||||
<option name="name" value="sonatype" /> |
||||
<option name="url" value="https://oss.sonatype.org/content/groups/public/" /> |
||||
</remote-repository> |
||||
<remote-repository> |
||||
<option name="id" value="spigotmc-repo" /> |
||||
<option name="name" value="spigotmc-repo" /> |
||||
<option name="url" value="https://hub.spigotmc.org/nexus/content/repositories/snapshots/" /> |
||||
</remote-repository> |
||||
<remote-repository> |
||||
<option name="id" value="central" /> |
||||
<option name="name" value="Maven Central repository" /> |
||||
<option name="url" value="https://repo1.maven.org/maven2" /> |
||||
</remote-repository> |
||||
<remote-repository> |
||||
<option name="id" value="jboss.community" /> |
||||
<option name="name" value="JBoss Community repository" /> |
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" /> |
||||
</remote-repository> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,19 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="EntryPointsManager"> |
||||
<list size="1"> |
||||
<item index="0" class="java.lang.String" itemvalue="org.bukkit.event.EventHandler" /> |
||||
</list> |
||||
</component> |
||||
<component name="ExternalStorageConfigurationManager" enabled="true" /> |
||||
<component name="MavenProjectsManager"> |
||||
<option name="originalFiles"> |
||||
<list> |
||||
<option value="$PROJECT_DIR$/pom.xml" /> |
||||
</list> |
||||
</option> |
||||
</component> |
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="corretto-1.8" project-jdk-type="JavaSDK"> |
||||
<output url="file://$PROJECT_DIR$/out" /> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,8 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="ProjectModuleManager"> |
||||
<modules> |
||||
<module fileurl="file://$PROJECT_DIR$/Informator.iml" filepath="$PROJECT_DIR$/Informator.iml" /> |
||||
</modules> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,6 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="VcsDirectoryMappings"> |
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" /> |
||||
</component> |
||||
</project> |
||||
@ -0,0 +1,12 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<module version="4"> |
||||
<component name="FacetManager"> |
||||
<facet type="minecraft" name="Minecraft"> |
||||
<configuration> |
||||
<autoDetectTypes> |
||||
<platformType>SPIGOT</platformType> |
||||
</autoDetectTypes> |
||||
</configuration> |
||||
</facet> |
||||
</component> |
||||
</module> |
||||
@ -0,0 +1,76 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
|
||||
<groupId>xyz.soukup</groupId> |
||||
<artifactId>Informator</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
<packaging>jar</packaging> |
||||
|
||||
<name>Informator</name> |
||||
|
||||
<description>All in one plugin for TAB, Scoreboard, Title, Bossbar, Chat annoucements and MOTD</description> |
||||
<properties> |
||||
<java.version>1.8</java.version> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
<url>https://soukup.xyz/</url> |
||||
|
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-compiler-plugin</artifactId> |
||||
<version>3.8.1</version> |
||||
<configuration> |
||||
<source>${java.version}</source> |
||||
<target>${java.version}</target> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-shade-plugin</artifactId> |
||||
<version>3.2.4</version> |
||||
<executions> |
||||
<execution> |
||||
<phase>package</phase> |
||||
<goals> |
||||
<goal>shade</goal> |
||||
</goals> |
||||
<configuration> |
||||
<createDependencyReducedPom>false</createDependencyReducedPom> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
<resources> |
||||
<resource> |
||||
<directory>src/main/resources</directory> |
||||
<filtering>true</filtering> |
||||
</resource> |
||||
</resources> |
||||
</build> |
||||
|
||||
<repositories> |
||||
<repository> |
||||
<id>spigotmc-repo</id> |
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> |
||||
</repository> |
||||
<repository> |
||||
<id>sonatype</id> |
||||
<url>https://oss.sonatype.org/content/groups/public/</url> |
||||
</repository> |
||||
</repositories> |
||||
|
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.spigotmc</groupId> |
||||
<artifactId>spigot-api</artifactId> |
||||
<version>1.16.5-R0.1-SNAPSHOT</version> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -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
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
} |
||||
@ -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/ |
||||
Binary file not shown.
@ -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/ |
||||
Binary file not shown.
@ -0,0 +1,5 @@ |
||||
#Generated by Maven |
||||
#Wed Oct 18 21:50:14 CEST 2023 |
||||
version=1.0-SNAPSHOT |
||||
groupId=xyz.soukup |
||||
artifactId=Informator |
||||
@ -0,0 +1 @@ |
||||
/home/jakub/IdeaProjects/Informator/src/main/java/xyz/soukup/informator/Informator.java |
||||
Binary file not shown.
Loading…
Reference in new issue