Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
48fa0aec64 | |||
525aeb0537 | |||
f7637ac6f7 | |||
1cd266385b | |||
e2272bed54 | |||
52b084a252 | |||
b2856dddeb |
169
pom.xml
169
pom.xml
@@ -1,75 +1,94 @@
|
||||
<?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>de.m-viper</groupId>
|
||||
<artifactId>PlayerStatusSign-reloaded</artifactId>
|
||||
<version>1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>PlayerStatusSign</name>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.21.5-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>17</source>
|
||||
<target>17</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>
|
||||
<includes>
|
||||
<include>plugin.yml</include>
|
||||
<include>config.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
<?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>de.m-viper</groupId>
|
||||
<artifactId>PlayerStatusSign-reloaded</artifactId>
|
||||
<version>1.4</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>PlayerStatusSign</name>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<!-- Spigot API -->
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.21.5-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- bStats Bukkit -->
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
<artifactId>bstats-bukkit</artifactId>
|
||||
<version>3.0.2</version>
|
||||
<scope>compile</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>17</source>
|
||||
<target>17</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Shade Plugin mit Relocation von bStats -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.bstats</pattern>
|
||||
<shadedPattern>de.m.viper.shaded.bstats</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>plugin.yml</include>
|
||||
<include>config.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,34 +1,34 @@
|
||||
version: 1.0.6
|
||||
prefix: Status
|
||||
colors:
|
||||
online: "&a" # Grün
|
||||
afk: "&e" # Gelb
|
||||
offline: "&c" # Rot
|
||||
player: "&9" # Blau
|
||||
date-format: "dd.MM.yyyy HH:mm"
|
||||
afk-timeout-seconds: 300 # 5 Minuten
|
||||
afk-change-gamemode: true # Gamemode zu Adventure bei AFK
|
||||
messages:
|
||||
player-only: "&cDieser Befehl kann nur von Spielern verwendet werden!"
|
||||
no-permission-use: "&cDu hast keine Berechtigung, Statistiken anzuzeigen!"
|
||||
no-permission-admin: "&cDu hast keine Berechtigung, Status-Schilder zu erstellen oder Status-Befehle auszuführen!"
|
||||
no-permission-break-sign: "&cDu hast keine Berechtigung, Status-Schilder abzubauen!"
|
||||
break-sign-sneak: "&cDu musst die Shift-Taste halten, um das Schild abzubauen!"
|
||||
reload-success: "&aPlugin erfolgreich neu geladen."
|
||||
unknown-subcommand: "&cUnbekannter Subbefehl! Nutze /statussign help."
|
||||
invalid-player: "&cUngültiger Spielername!"
|
||||
sign-created: "&aStatus-Scope für %player% erfolgreich gesetzt!"
|
||||
sign-removed: "&aStatus-Scope für %player% entfernt!"
|
||||
sign-error: "&cFehler beim Verarbeiten des Schildes!"
|
||||
gui-error: "&cFehler beim Öffnen der Statistik-GUI!"
|
||||
afk-enabled: "&eDu bist jetzt AFK!"
|
||||
afk-disabled: "&aDu bist nicht mehr AFK!"
|
||||
status-offline-enabled: "&cDu erscheinst jetzt als offline!"
|
||||
status-offline-disabled: "&aDu erscheinst jetzt als online!"
|
||||
cannot-afk-while-offline: "&cDu kannst nicht AFK sein, während du als offline angezeigt wirst!"
|
||||
status-online: "&a%player% ist online!"
|
||||
status-afk: "&e%player% ist AFK!"
|
||||
status-offline: "&c%player% ist offline. Zuletzt online: %date%"
|
||||
help-title: "&6===== PlayerStatusSign Hilfe ====="
|
||||
help-reload: "&e/statussign reload &7- Lädt die Konfiguration neu (Admin)"
|
||||
version: 1.2
|
||||
prefix: Status
|
||||
colors:
|
||||
online: "&a" # Grün
|
||||
afk: "&e" # Gelb
|
||||
offline: "&c" # Rot
|
||||
player: "&9" # Blau
|
||||
date-format: "dd.MM.yyyy HH:mm"
|
||||
afk-timeout-seconds: 300 # 5 Minuten
|
||||
afk-change-gamemode: true # Gamemode zu Adventure bei AFK
|
||||
messages:
|
||||
player-only: "&cDieser Befehl kann nur von Spielern verwendet werden!"
|
||||
no-permission-use: "&cDu hast keine Berechtigung, Statistiken anzuzeigen!"
|
||||
no-permission-admin: "&cDu hast keine Berechtigung, Status-Schilder zu erstellen oder Status-Befehle auszuführen!"
|
||||
no-permission-break-sign: "&cDu hast keine Berechtigung, Status-Schilder abzubauen!"
|
||||
break-sign-sneak: "&cDu musst die Shift-Taste halten, um das Schild abzubauen!"
|
||||
reload-success: "&aPlugin erfolgreich neu geladen."
|
||||
unknown-subcommand: "&cUnbekannter Subbefehl! Nutze /statussign help."
|
||||
invalid-player: "&cUngültiger Spielername!"
|
||||
sign-created: "&aStatus-Scope für %player% erfolgreich gesetzt!"
|
||||
sign-removed: "&aStatus-Scope für %player% entfernt!"
|
||||
sign-error: "&cFehler beim Verarbeiten des Schildes!"
|
||||
gui-error: "&cFehler beim Öffnen der Statistik-GUI!"
|
||||
afk-enabled: "&eDu bist jetzt AFK!"
|
||||
afk-disabled: "&aDu bist nicht mehr AFK!"
|
||||
status-offline-enabled: "&cDu erscheinst jetzt als offline!"
|
||||
status-offline-disabled: "&aDu erscheinst jetzt als online!"
|
||||
cannot-afk-while-offline: "&cDu kannst nicht AFK sein, während du als offline angezeigt wirst!"
|
||||
status-online: "&a%player% ist online!"
|
||||
status-afk: "&e%player% ist AFK!"
|
||||
status-offline: "&c%player% ist offline. Zuletzt online: %date%"
|
||||
help-title: "&6===== PlayerStatusSign Hilfe ====="
|
||||
help-reload: "&e/statussign reload &7- Lädt die Konfiguration neu (Admin)"
|
||||
help-help: "&e/statussign help &7- Zeigt diese Hilfe"
|
@@ -1,34 +1,34 @@
|
||||
name: PlayerStatusSign
|
||||
main: PlayerStatusSign
|
||||
version: 1.0.6
|
||||
author: M_Viper
|
||||
api-version: 1.21
|
||||
description: Zeigt Spielerstatus (online, AFK, offline) auf Schildern und erlaubt GUI-Statistikanzeige.
|
||||
commands:
|
||||
statussign:
|
||||
description: Hauptbefehl für PlayerStatusSign
|
||||
usage: /statussign [reload|help]
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusafk:
|
||||
description: Setzt oder entfernt deinen AFK-Status
|
||||
usage: /statusafk
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusoffline:
|
||||
description: Wechsle in den Fake-Offline-Status
|
||||
usage: /statusoffline
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusonline:
|
||||
description: Kehre vom Fake-Offline-Status zurück
|
||||
usage: /statusonline
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
permissions:
|
||||
statussign.admin:
|
||||
description: Erlaubt Admin-Befehle und Schild-Interaktionen
|
||||
default: op
|
||||
statussign.use:
|
||||
description: Erlaubt Benutzung der Schilder zum Öffnen der GUI
|
||||
default: true
|
||||
name: PlayerStatusSign
|
||||
main: PlayerStatusSign
|
||||
version: 1.4
|
||||
author: M_Viper
|
||||
api-version: 1.21
|
||||
description: Zeigt Spielerstatus (online, AFK, offline) auf Schildern und erlaubt GUI-Statistikanzeige.
|
||||
commands:
|
||||
statussign:
|
||||
description: Hauptbefehl für PlayerStatusSign
|
||||
usage: /statussign [reload|help]
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusafk:
|
||||
description: Setzt oder entfernt deinen AFK-Status
|
||||
usage: /statusafk
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusoffline:
|
||||
description: Wechsle in den Fake-Offline-Status
|
||||
usage: /statusoffline
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
statusonline:
|
||||
description: Kehre vom Fake-Offline-Status zurück
|
||||
usage: /statusonline
|
||||
permission: statussign.admin
|
||||
permission-message: §cDu hast keine Berechtigung für diesen Befehl.
|
||||
permissions:
|
||||
statussign.admin:
|
||||
description: Erlaubt Admin-Befehle und Schild-Interaktionen
|
||||
default: op
|
||||
statussign.use:
|
||||
description: Erlaubt Benutzung der Schilder zum Öffnen der GUI
|
||||
default: true
|
||||
|
Reference in New Issue
Block a user