refactor: universal compatibility - spigot-api, no api-version lock

This commit is contained in:
2026-07-23 12:48:50 +08:00
parent 02aeab1e9c
commit 64199a0aaf
3 changed files with 6 additions and 9 deletions

View File

@@ -48,7 +48,6 @@ lp group admin permission set SeaStudio.Report.admin true
## 依赖
- Paper 1.20.4 ~ 1.21.x`api-version: "1.20"`
- Folia 支持
- Spigot / Paper 1.8 ~ 1.21+(全版本通用
- Java 17+
- Maven 3.8+

View File

@@ -17,16 +17,16 @@
<repositories>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.13.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@@ -1,10 +1,8 @@
name: MCReport
version: 1.0.0
main: com.mcreport.plugin.MCReportPlugin
api-version: "1.20"
author: Sea-Studio
description: MC Report System Plugin
folia-supported: true
commands:
report: