Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 61dd21f317 | |||
| 0f3a020591 | |||
| c4e67076f8 | |||
| 0f79971ea6 | |||
| 40cccd036a | |||
| fc700b95a7 | |||
| 093b7a844f | |||
| 1332aa3ba9 | |||
| 0f53292bc5 | |||
| 66a87fecd2 | |||
| bf8c09000e |
@@ -65,6 +65,7 @@ Bearbeiten Sie die `plugins/GlobalChat/welcome.yml` (Optional).
|
||||
|
||||
| Befehl | Beschreibung | Berechtigung |
|
||||
|--------|--------------|--------------|
|
||||
| `/clearchat, cc` | Löscht den Chatverlauf | `globalchat.clear` |
|
||||
| `/togglechat` | Schaltet den globalen Chat für den Spieler ein/aus (wichtig für Lands/Quests). | Spieler |
|
||||
| `/support <Nachricht>` | Sendet eine Anfrage an das gesamte Team. | Spieler |
|
||||
| `/reply <Nachricht>` | Antwortet auf eine Support-Anfrage. | Spieler |
|
||||
@@ -79,6 +80,7 @@ Bearbeiten Sie die `plugins/GlobalChat/welcome.yml` (Optional).
|
||||
| `globalchat.reload` | OP | Erlaubt das Neuladen der Konfiguration. |
|
||||
| `globalchat.mute` | OP | Erlaubt das Schalten des globalen Mutes. |
|
||||
| `globalchat.bypass` | OP | Erlaubt das Schreiben trotz globalem Mute. |
|
||||
| `globalchat.clear` | OP | Löscht den Chatverlauf. |
|
||||
|
||||
## ℹ️ Technical Info (Secure Chat Fix)
|
||||
|
||||
|
||||
172
pom.xml
172
pom.xml
@@ -1,87 +1,87 @@
|
||||
<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>
|
||||
|
||||
<!-- WICHTIG: Dies sind deine Projektdaten für 'globalchat' -->
|
||||
<groupId>de.viper</groupId>
|
||||
<artifactId>globalchat</artifactId>
|
||||
<version>1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>GlobalChat</name>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<!-- Repositories WICHTIG, damit Maven die Downloads findet -->
|
||||
<repositories>
|
||||
<!-- LuckPerms Repository -->
|
||||
<repository>
|
||||
<id>luck-repo</id>
|
||||
<url>https://repo.lucko.me/</url>
|
||||
</repository>
|
||||
|
||||
<!-- BungeeCord Repository (benötigt für API) -->
|
||||
<repository>
|
||||
<id>bungeecord-repo</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<!-- BungeeCord API (Version geändert auf 1.20 STABLE) -->
|
||||
<dependency>
|
||||
<groupId>net.md-5</groupId>
|
||||
<artifactId>bungeecord-api</artifactId>
|
||||
<version>1.20</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- LuckPerms API -->
|
||||
<dependency>
|
||||
<groupId>net.luckperms</groupId>
|
||||
<artifactId>api</artifactId>
|
||||
<version>5.4</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Compiler Plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Shade Plugin (um das Plugin zu bauen) -->
|
||||
<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>
|
||||
</build>
|
||||
<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>
|
||||
|
||||
<!-- WICHTIG: Dies sind deine Projektdaten für 'globalchat' -->
|
||||
<groupId>de.viper</groupId>
|
||||
<artifactId>globalchat</artifactId>
|
||||
<version>1.5</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>GlobalChat</name>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<!-- Repositories WICHTIG, damit Maven die Downloads findet -->
|
||||
<repositories>
|
||||
<!-- LuckPerms Repository -->
|
||||
<repository>
|
||||
<id>luck-repo</id>
|
||||
<url>https://repo.lucko.me/</url>
|
||||
</repository>
|
||||
|
||||
<!-- BungeeCord Repository (benötigt für API) -->
|
||||
<repository>
|
||||
<id>bungeecord-repo</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<!-- BungeeCord API (Version geändert auf 1.20 STABLE) -->
|
||||
<dependency>
|
||||
<groupId>net.md-5</groupId>
|
||||
<artifactId>bungeecord-api</artifactId>
|
||||
<version>1.20</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- LuckPerms API -->
|
||||
<dependency>
|
||||
<groupId>net.luckperms</groupId>
|
||||
<artifactId>api</artifactId>
|
||||
<version>5.4</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Compiler Plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Shade Plugin (um das Plugin zu bauen) -->
|
||||
<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>
|
||||
</build>
|
||||
</project>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,43 +1,80 @@
|
||||
name: GlobalChat
|
||||
main: de.viper.globalchat.GlobalChat
|
||||
version: 1.2
|
||||
author: M_Viper
|
||||
|
||||
|
||||
# Server Aliase mit Farben
|
||||
server-aliases:
|
||||
# Format: interner-server-name: "&farbeAnzeigename"
|
||||
lobby: "&aLobby"
|
||||
survival: "&2Survival"
|
||||
# bedwars: "&cBedwars"
|
||||
# skyblock: "&bSkyblock"
|
||||
|
||||
commands:
|
||||
globalreload:
|
||||
description: Lädt den Filter 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:
|
||||
globalchat.reload:
|
||||
description: Erlaubt das Neuladen des Filters
|
||||
default: op
|
||||
globalchat.mute:
|
||||
description: Erlaubt das Aktivieren/Deaktivieren des globalen Mutes
|
||||
default: op
|
||||
globalchat.bypass:
|
||||
description: Umgeht den globalen Mute
|
||||
# Plugin Informationen
|
||||
name: GlobalChat
|
||||
main: de.viper.globalchat.GlobalChat
|
||||
version: 1.3
|
||||
author: M_Viper
|
||||
|
||||
# ============================================
|
||||
# Server Aliase mit Farben
|
||||
# ============================================
|
||||
# Damit im Chat schöne Namen stehen (z.B. "&aLobby")
|
||||
server-aliases:
|
||||
lobby: "&aLobby"
|
||||
survival: "&2Survival"
|
||||
# bedwars: "&cBedwars"
|
||||
# skyblock: "&bSkyblock"
|
||||
|
||||
# ============================================
|
||||
# Manuelle Ränge (Overrides) basierend auf UUID
|
||||
# ============================================
|
||||
# Das ist der sicherste Weg, um einem Spieler einen festen Rang zu geben.
|
||||
# Da sich UUIDs nicht ändern (anders als Namen), ist dieser Override permanent.
|
||||
|
||||
# Syntax: <UUID>: <Gruppenname>
|
||||
# Beispiel: Die UUID unten ist nur ein Beispiel. Ersetze sie durch deine UUID.
|
||||
manual-ranks:
|
||||
# Dein Beispiel (Ersetze die UUID):
|
||||
7c7851ce-9e9f-4862-a33c-2b1d955a9362: owner
|
||||
# Noch eine Beispiel-UUID:
|
||||
ffffffff-ffff-ffff-ffff-ffffffffffff: admin
|
||||
|
||||
# ============================================
|
||||
# Chat-Formate für Gruppen
|
||||
# ============================================
|
||||
# Syntax: Gruppenname: "Prefix || Spieler-Farbe || Chat-Farbe"
|
||||
# Beispiel: Rot (Rang) || Blau (Name) || Lila (Chat)
|
||||
#
|
||||
# Trennzeichen ist das doppelte Pipe-Zeichen mit Leerzeichen: " || "
|
||||
#
|
||||
group-formats:
|
||||
owner: "&c[Owner] || &b || &d"
|
||||
admin: "&4[Admin] || &9 || &c"
|
||||
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
|
||||
@@ -1,6 +1,6 @@
|
||||
name: GlobalChatSpigot
|
||||
main: de.viper.globalchat.GlobalChatSpigot
|
||||
version: 1.1
|
||||
api-version: 1.13
|
||||
description: Spigot helper for GlobalChat Bungee (sends coords, handles teleport requests)
|
||||
authors: [M_Viper]
|
||||
name: GlobalChatSpigot
|
||||
main: de.viper.globalchat.GlobalChatSpigot
|
||||
version: 1.5
|
||||
api-version: 1.13
|
||||
description: Spigot helper for GlobalChat Bungee (sends coords, handles teleport requests)
|
||||
authors: [M_Viper]
|
||||
|
||||
Reference in New Issue
Block a user