update
This commit is contained in:
72
dependency-reduced-pom.xml
Normal file
72
dependency-reduced-pom.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.discord</groupId>
|
||||
<artifactId>discord</artifactId>
|
||||
<name>discord</name>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<build>
|
||||
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<resources>
|
||||
<resource>
|
||||
<filtering>true</filtering>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-maven-plugin</artifactId>
|
||||
<version>${kotlin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>compile</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<jvmTarget>${java.version}</jvmTarget>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>papermc-repo</id>
|
||||
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>sonatype</id>
|
||||
<url>https://oss.sonatype.org/content/groups/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.papermc.paper</groupId>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>1.21.5-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<kotlin.version>2.2.0-Beta1</kotlin.version>
|
||||
<java.version>21</java.version>
|
||||
</properties>
|
||||
</project>
|
||||
@@ -37,7 +37,7 @@ class Discord : JavaPlugin() {
|
||||
if (sender is Player) {
|
||||
sender.sendMessage("${ChatColor.GREEN}Join our Discord server: ${ChatColor.BLUE}${ChatColor.UNDERLINE}$discordLink")
|
||||
} else {
|
||||
sender.sendMessage("Join our Discord server: $discordLink")
|
||||
sender.sendMessage("Tritt unsern Discord-Server bei: $discordLink")
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
discord-link: "discordlink.here"
|
||||
discord-link: "https://discord.gg/rgNPnRD6wt"
|
||||
|
||||
BIN
target/classes/META-INF/discord.kotlin_module
Normal file
BIN
target/classes/META-INF/discord.kotlin_module
Normal file
Binary file not shown.
1
target/classes/config.yml
Normal file
1
target/classes/config.yml
Normal file
@@ -0,0 +1 @@
|
||||
discord-link: "https://discord.gg/rgNPnRD6wt"
|
||||
BIN
target/classes/org/discord/discord/Discord.class
Normal file
BIN
target/classes/org/discord/discord/Discord.class
Normal file
Binary file not shown.
14
target/classes/plugin.yml
Normal file
14
target/classes/plugin.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: discord
|
||||
version: 1.0-SNAPSHOT
|
||||
main: org.discord.discord.Discord
|
||||
api-version: 1.21
|
||||
description: A simple plugin to display Discord server link
|
||||
commands:
|
||||
discord:
|
||||
description: Displays the Discord server link
|
||||
usage: /discord
|
||||
permission: discord.use
|
||||
permissions:
|
||||
discord.use:
|
||||
description: Allows users to use the /discord command
|
||||
default: true
|
||||
BIN
target/discord-1.0-SNAPSHOT.jar
Normal file
BIN
target/discord-1.0-SNAPSHOT.jar
Normal file
Binary file not shown.
3
target/maven-archiver/pom.properties
Normal file
3
target/maven-archiver/pom.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
artifactId=discord
|
||||
groupId=org.discord
|
||||
version=1.0-SNAPSHOT
|
||||
BIN
target/original-discord-1.0-SNAPSHOT.jar
Normal file
BIN
target/original-discord-1.0-SNAPSHOT.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user