Upload via GUI (43 Dateien)

This commit is contained in:
Git Manager GUI
2026-07-20 10:39:56 +02:00
parent f3f7afab4d
commit 47f35d77e8
3 changed files with 43 additions and 10 deletions

46
pom.xml
View File

@@ -6,20 +6,22 @@
<groupId>de.serverpulse</groupId> <groupId>de.serverpulse</groupId>
<artifactId>ServerPulse</artifactId> <artifactId>ServerPulse</artifactId>
<version>1.0.1</version> <version>1.0.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ServerPulse</name> <name>ServerPulse</name>
<description>Monitoring &amp; Analytics Suite Spigot + Paper + BungeeCord (unified JAR)</description> <description>Monitoring &amp; Analytics Suite Spigot + Paper + BungeeCord (unified JAR)</description>
<properties> <properties>
<maven.compiler.source>17</maven.compiler.source> <!-- Bytecode bleibt auf 17 -> Jar läuft weiterhin auf älteren Servern (1.21.x).
<maven.compiler.target>17</maven.compiler.target> Zum Kompilieren wird aber JDK 25 benötigt, da die paper-api 26.2 Klassen
mit Class-File-Version 25 ausliefert (siehe PaperMC Project-Setup Docs). -->
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<repositories> <repositories>
<!-- PaperMC: Paper API + BungeeCord API 26.1 --> <!-- PaperMC: Paper API (aktuell 26.2) + BungeeCord API -->
<repository> <repository>
<id>papermc</id> <id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url> <url>https://repo.papermc.io/repository/maven-public/</url>
@@ -35,16 +37,25 @@
<!-- ══════════════════════════════════════ <!-- ══════════════════════════════════════
SPIGOT / PAPER API (provided) SPIGOT / PAPER API (provided)
══════════════════════════════════════ --> ══════════════════════════════════════ -->
<!-- Ab 26.1 nutzt Paper ein neues Versionsschema (Jahr.Release statt 1.xx-R0.1-SNAPSHOT).
Der Range-Ausdruck holt sich automatisch den neuesten 26.2-Build.
Zum Fixieren auf einen konkreten Build stattdessen z.B. 26.2.build.60-beta eintragen. -->
<dependency> <dependency>
<groupId>io.papermc.paper</groupId> <groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId> <artifactId>paper-api</artifactId>
<version>1.21.4-R0.1-SNAPSHOT</version> <version>[26.2.build,)</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- ══════════════════════════════════════ <!-- ══════════════════════════════════════
BUNGEECORD API (provided) BUNGEECORD API (provided)
══════════════════════════════════════ --> ══════════════════════════════════════ -->
<!-- TODO prüfen: ob/wann net.md-5 eine bungeecord-api 26.2-R0.1-SNAPSHOT im
hub.spigotmc.org Snapshot-Repo veröffentlicht. Aktuell bleibt 26.1 eingetragen,
da ich das von hier aus nicht gegen das Repo verifizieren konnte (Netzwerkzugriff
auf hub.spigotmc.org ist mir nicht möglich). BungeeCord-Server laden Plugins auch
ohne exakt passende API-Version, das Bungee-Modul sollte also trotzdem auf einem
26.2-Proxy laufen - bitte einmal real testen. -->
<dependency> <dependency>
<groupId>net.md-5</groupId> <groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId> <artifactId>bungeecord-api</artifactId>
@@ -148,11 +159,32 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version> <version>3.13.0</version>
<configuration> <configuration>
<source>17</source> <release>${maven.compiler.release}</release>
<target>17</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- Bricht den Build sofort mit klarer Meldung ab, falls nicht mit JDK 25
gebaut wird (paper-api 26.2 Klassen haben Class-File-Version 69). -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-jdk-25</id>
<goals><goal>enforce</goal></goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[25,26)</version>
<message>Dieses Projekt braucht JDK 25 zum Bauen (paper-api 26.2 Class-File-Version 69). JAVA_HOME auf JDK 25 setzen und erneut versuchen.</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@@ -1,5 +1,5 @@
# ╔══════════════════════════════════════════╗ # ╔══════════════════════════════════════════╗
# ║ ServerPulse v1.0.1 Configuration ║ # ║ ServerPulse v1.0.2 Configuration ║
# ║ Unified JAR Spigot / Paper / Bungee ║ # ║ Unified JAR Spigot / Paper / Bungee ║
# ╚══════════════════════════════════════════╝ # ╚══════════════════════════════════════════╝
# #

View File

@@ -1,7 +1,8 @@
name: ServerPulse name: ServerPulse
version: '1.0.1' version: '1.0.2'
main: de.serverpulse.spigot.SpigotPlugin main: de.serverpulse.spigot.SpigotPlugin
api-version: '1.21' api-version: '1.21' # bewusst niedrig gehalten (gültiger Bereich 1.13-26.2) -> Plugin lädt
# auf 1.21.x GENAUSO wie auf 26.1/26.2-Servern, kein separater Build nötig
description: Monitoring & Analytics Suite (Spigot/Paper/BungeeCord unified) description: Monitoring & Analytics Suite (Spigot/Paper/BungeeCord unified)
authors: [ M_Viper ] authors: [ M_Viper ]
prefix: ServerPulse prefix: ServerPulse