Require Paper and drop Spigot support

Core now compiles against paper-api instead of spigot-api. PaperLib is
replaced by Paper's native async chunk and teleport API, and the Spigot
fallbacks (Medieval pregen method, sync chunk loading) are removed.

Adventure is no longer bundled and relocated: Paper ships it and every
CommandSender is an Audience, so the BukkitAudiences wrapper and ShadeFix
go away.

Iris now refuses to enable on servers without the Paper API, with a clear
message instead of failing later at runtime.

Model used: Claude Opus 5.5
This commit is contained in:
piexel committed 2026-10-11 15:06:37 +02:00
1 parent 31615dc052
commit f1c1869e43
19 files changed
+55 -337

No files matched your search

+1 -7
View File
@@ -52,7 +52,7 @@ val lib = "com.volmit.iris.util"
*/
dependencies {
// Provided or Classpath
compileOnly(libs.spigot)
compileOnly(libs.paper)
compileOnly(libs.log4j.api)
compileOnly(libs.log4j.core)
@@ -78,10 +78,6 @@ dependencies {
// Dynamically Loaded
slim(libs.paralithic)
slim(libs.paperlib)
slim(libs.adventure.api)
slim(libs.adventure.minimessage)
slim(libs.adventure.platform)
slim(libs.bstats)
slim(libs.sentry)
@@ -146,8 +142,6 @@ slimJar {
))
relocate("com.dfsek.paralithic", "$lib.paralithic")
relocate("io.papermc.lib", "$lib.paper")
relocate("net.kyori", "$lib.kyori")
relocate("org.bstats", "$lib.metrics")
relocate("io.sentry", "$lib.sentry")
relocate("org.apache.maven", "$lib.maven")