Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
67a65c45d3
Geyser installations will now get notified when a new Bedrock release is out and Geyser must be updated. The system works similarly to ViaVersion where OPs get a notification of an update when they join. The permission node for players to see update notifications is `geyser.update` and the backing JSON that controls this can be found at https://github.com/GeyserMC/GeyserSite/blob/gh-pages/versions.json. There is also a config option to disable update checking. This update also fixes modern Paper installations not being able to see colored text logged from Geyser in the console.
163 Zeilen
7.5 KiB
XML
163 Zeilen
7.5 KiB
XML
<?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>
|
|
<parent>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>bootstrap-parent</artifactId>
|
|
<version>2.0.7-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>bootstrap-spigot</artifactId>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>viaversion-repo</id>
|
|
<url>https://repo.viaversion.com</url>
|
|
</repository>
|
|
<repository>
|
|
<!-- For Commodore -->
|
|
<id>minecraft-repo</id>
|
|
<url>https://libraries.minecraft.net/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>2.0.7-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.papermc.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>1.19-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.papermc.paper</groupId>
|
|
<artifactId>paper-mojangapi</artifactId>
|
|
<version>1.19-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.viaversion</groupId>
|
|
<artifactId>viaversion</artifactId>
|
|
<version>4.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.geysermc.geyser.adapters</groupId>
|
|
<artifactId>spigot-all</artifactId>
|
|
<version>1.5-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>me.lucko</groupId>
|
|
<artifactId>commodore</artifactId>
|
|
<version>2.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-bungeecord</artifactId>
|
|
<version>${adventure-platform.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${outputName}-Spigot</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources/</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>org.geysermc.geyser.platform.spigot.GeyserSpigotMain</Main-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.fastutil</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.fasterxml.jackson</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.jackson</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.kyori</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.kyori</shadedPattern>
|
|
<excludes>
|
|
<exclude>net.kyori.adventure.text.logger.slf4j.ComponentLogger</exclude>
|
|
</excludes>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.objectweb.asm</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.asm</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>me.lucko.commodore</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.commodore</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<!-- This is not used because relocating breaks natives, but we must include it
|
|
or else we get ClassDefNotFound after 1.18.2 -->
|
|
<pattern>io.netty.channel.kqueue</pattern>
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.io.netty.channel.kqueue</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>com.google.*:*</exclude>
|
|
<exclude>org.yaml:*</exclude>
|
|
<!-- We cannot shade Netty, or else native libraries will not load -->
|
|
<!-- Needed because older Spigot builds do not provide the haproxy module -->
|
|
<exclude>io.netty:netty-transport-native-epoll:*</exclude>
|
|
<exclude>io.netty:netty-transport-native-unix-common:*</exclude>
|
|
<exclude>io.netty:netty-handler:*</exclude>
|
|
<exclude>io.netty:netty-common:*</exclude>
|
|
<exclude>io.netty:netty-buffer:*</exclude>
|
|
<exclude>io.netty:netty-resolver:*</exclude>
|
|
<exclude>io.netty:netty-transport:*</exclude>
|
|
<exclude>io.netty:netty-codec:*</exclude>
|
|
<exclude>io.netty:netty-codec-dns:*</exclude>
|
|
<exclude>io.netty:netty-resolver-dns:*</exclude>
|
|
<exclude>io.netty:netty-resolver-dns-native-macos:*</exclude>
|
|
<exclude>com.mojang:*</exclude> <!-- Commodore includes Brigadier -->
|
|
</excludes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |