4 Commits
1.2 ... 1.3

4 changed files with 973 additions and 806 deletions

172
pom.xml
View File

@@ -1,87 +1,87 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<!-- WICHTIG: Dies sind deine Projektdaten für 'globalchat' --> <!-- WICHTIG: Dies sind deine Projektdaten für 'globalchat' -->
<groupId>de.viper</groupId> <groupId>de.viper</groupId>
<artifactId>globalchat</artifactId> <artifactId>globalchat</artifactId>
<version>1.2</version> <version>1.3</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>GlobalChat</name> <name>GlobalChat</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
</properties> </properties>
<!-- Repositories WICHTIG, damit Maven die Downloads findet --> <!-- Repositories WICHTIG, damit Maven die Downloads findet -->
<repositories> <repositories>
<!-- LuckPerms Repository --> <!-- LuckPerms Repository -->
<repository> <repository>
<id>luck-repo</id> <id>luck-repo</id>
<url>https://repo.lucko.me/</url> <url>https://repo.lucko.me/</url>
</repository> </repository>
<!-- BungeeCord Repository (benötigt für API) --> <!-- BungeeCord Repository (benötigt für API) -->
<repository> <repository>
<id>bungeecord-repo</id> <id>bungeecord-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<!-- BungeeCord API (Version geändert auf 1.20 STABLE) --> <!-- BungeeCord API (Version geändert auf 1.20 STABLE) -->
<dependency> <dependency>
<groupId>net.md-5</groupId> <groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId> <artifactId>bungeecord-api</artifactId>
<version>1.20</version> <version>1.20</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- LuckPerms API --> <!-- LuckPerms API -->
<dependency> <dependency>
<groupId>net.luckperms</groupId> <groupId>net.luckperms</groupId>
<artifactId>api</artifactId> <artifactId>api</artifactId>
<version>5.4</version> <version>5.4</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<!-- Compiler Plugin --> <!-- Compiler Plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- Shade Plugin (um das Plugin zu bauen) --> <!-- Shade Plugin (um das Plugin zu bauen) -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version> <version>3.2.4</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

File diff suppressed because it is too large Load Diff

View File

@@ -1,43 +1,80 @@
name: GlobalChat # Plugin Informationen
main: de.viper.globalchat.GlobalChat name: GlobalChat
version: 1.2 main: de.viper.globalchat.GlobalChat
author: M_Viper version: 1.3
author: M_Viper
# Server Aliase mit Farben # ============================================
server-aliases: # Server Aliase mit Farben
# Format: interner-server-name: "&farbeAnzeigename" # ============================================
lobby: "&aLobby" # Damit im Chat schöne Namen stehen (z.B. "&aLobby")
survival: "&2Survival" server-aliases:
# bedwars: "&cBedwars" lobby: "&aLobby"
# skyblock: "&bSkyblock" survival: "&2Survival"
# bedwars: "&cBedwars"
commands: # skyblock: "&bSkyblock"
globalreload:
description: Lädt den Filter neu # ============================================
usage: /globalreload # Manuelle Ränge (Overrides) basierend auf UUID
permission: globalchat.reload # ============================================
globalmute: # Das ist der sicherste Weg, um einem Spieler einen festen Rang zu geben.
description: Schaltet den globalen Chat an/aus # Da sich UUIDs nicht ändern (anders als Namen), ist dieser Override permanent.
usage: /globalmute
permission: globalchat.mute # Syntax: <UUID>: <Gruppenname>
support: # Beispiel: Die UUID unten ist nur ein Beispiel. Ersetze sie durch deine UUID.
description: Sendet eine Support-Nachricht an das Team manual-ranks:
usage: /support <Nachricht> # Dein Beispiel (Ersetze die UUID):
reply: 7c7851ce-9e9f-4862-a33c-2b1d955a9362: owner
description: Antwortet auf eine Support-Nachricht # Noch eine Beispiel-UUID:
usage: /reply <Nachricht> ffffffff-ffff-ffff-ffff-ffffffffffff: admin
info:
description: Zeigt Plugin-Informationen an # ============================================
usage: /info # Chat-Formate für Gruppen
# ============================================
permissions: # Syntax: Gruppenname: "Prefix || Spieler-Farbe || Chat-Farbe"
globalchat.reload: # Beispiel: Rot (Rang) || Blau (Name) || Lila (Chat)
description: Erlaubt das Neuladen des Filters #
default: op # Trennzeichen ist das doppelte Pipe-Zeichen mit Leerzeichen: " || "
globalchat.mute: #
description: Erlaubt das Aktivieren/Deaktivieren des globalen Mutes group-formats:
default: op owner: "&c[Owner] || &b || &d"
globalchat.bypass: admin: "&4[Admin] || &9 || &c"
description: Umgeht den globalen Mute developer: "&b[Dev] || &3 || &a"
premium: "&6[Premium] || &e || &7"
spieler: "&f[Spieler] || &7 || &8"
# ============================================
# Befehle Definitionen
# ============================================
commands:
globalreload:
description: Lädt den Filter und Formate neu
usage: /globalreload
permission: globalchat.reload
globalmute:
description: Schaltet den globalen Chat an/aus
usage: /globalmute
permission: globalchat.mute
support:
description: Sendet eine Support-Nachricht an das Team
usage: /support <Nachricht>
reply:
description: Antwortet auf eine Support-Nachricht
usage: /reply <Nachricht>
info:
description: Zeigt Plugin-Informationen an
usage: /info
# ============================================
# Permissions
# ============================================
permissions:
globalchat.reload:
description: Erlaubt das Neuladen des Filters und der Formate
default: op
globalchat.mute:
description: Erlaubt das Aktivieren/Deaktivieren des globalen Mutes
default: op
globalchat.bypass:
description: Umgeht den globalen Mute
default: op default: op

View File

@@ -1,6 +1,6 @@
name: GlobalChatSpigot name: GlobalChatSpigot
main: de.viper.globalchat.GlobalChatSpigot main: de.viper.globalchat.GlobalChatSpigot
version: 1.1 version: 1.3
api-version: 1.13 api-version: 1.13
description: Spigot helper for GlobalChat Bungee (sends coords, handles teleport requests) description: Spigot helper for GlobalChat Bungee (sends coords, handles teleport requests)
authors: [M_Viper] authors: [M_Viper]