diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-04-04 16:12:42 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-04-04 16:12:42 +0900 |
| commit | c7aff8fbd0b04624b8291cf0362bed70471f46ae (patch) | |
| tree | a7abb957e96795bf5e55829c5341d4148c825b48 /platform-paper | |
| parent | a9c776933f2a53635260da592a49abc8ccf1c73c (diff) | |
| download | LunaticChat-c7aff8fbd0b04624b8291cf0362bed70471f46ae.tar.gz LunaticChat-c7aff8fbd0b04624b8291cf0362bed70471f46ae.tar.bz2 LunaticChat-c7aff8fbd0b04624b8291cf0362bed70471f46ae.zip | |
feat: Support Minecraft 26.1
Diffstat (limited to 'platform-paper')
5 files changed, 9 insertions, 9 deletions
diff --git a/platform-paper/build.gradle.kts b/platform-paper/build.gradle.kts index b6d452e..e1042c5 100644 --- a/platform-paper/build.gradle.kts +++ b/platform-paper/build.gradle.kts @@ -17,12 +17,12 @@ dependencies { api(project(":engine")) // Paper-specific dependencies - compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:26.1.1.build.14-alpha") implementation("com.charleskorn.kaml:kaml:0.104.0") // YAML configuration implementation("org.jetbrains.kotlin:kotlin-reflect:2.3.20") // Annotation processing // Test dependencies - testImplementation("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT") + testImplementation("io.papermc.paper:paper-api:26.1.1.build.14-alpha") testImplementation("io.mockk:mockk:1.14.9") testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2") } @@ -38,7 +38,7 @@ tasks { } runServer { - minecraftVersion("1.21") + minecraftVersion("26.1.1") } processResources { diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommand.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommand.kt index 6b6fd09..131e6f4 100644 --- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommand.kt +++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommand.kt @@ -58,6 +58,8 @@ class StatusCommand( ), ).clickEvent(ClickEvent.copyToClipboard(versionText)) + + // Health status val velocityManager = plugin.velocityConnectionManager val isDegraded = @@ -105,9 +107,7 @@ class StatusCommand( // Nightly warning if (BuildInfo.isNightly) { sendMessage( - MessageFormatter - .format(languageManager.getMessage("general.nightlyWarning")) - .color(NamedTextColor.YELLOW), + Component.text(languageManager.getMessage("general.nightlyWarning"), NamedTextColor.YELLOW), ) } diff --git a/platform-paper/src/main/resources/languages/en.yml b/platform-paper/src/main/resources/languages/en.yml index 7db632f..0e781b9 100644 --- a/platform-paper/src/main/resources/languages/en.yml +++ b/platform-paper/src/main/resources/languages/en.yml @@ -204,7 +204,7 @@ general: newUpdateAvailable: "The new version of LunaticChat is now available! You can download it from GitHub or Modrinth." noPermission: "You do not have permission to execute this command." spyMessage: "You have been granted permission, so this message is displayed in spy mode." - nightlyWarning: "You are running a nightly build of LunaticChat. This build may be unstable or contain bugs." + nightlyWarning: "You are running a nightly build. This build may be unstable or contain bugs." nightlyReportIssue: "If you encounter any issues, please report them on GitHub Issues." toggle: diff --git a/platform-paper/src/main/resources/languages/ja.yml b/platform-paper/src/main/resources/languages/ja.yml index 9a472b9..f118f82 100644 --- a/platform-paper/src/main/resources/languages/ja.yml +++ b/platform-paper/src/main/resources/languages/ja.yml @@ -204,7 +204,7 @@ general: newUpdateAvailable: "LunaticChat の新しいバージョンが利用可能です。GitHubまたはModrinthからダウンロードできます" noPermission: "このコマンドを実行する権限がありません" spyMessage: "あなたに権限が付与されているため、このメッセージはスパイ状態で表示されています" - nightlyWarning: "LunaticChat のナイトリービルドを使用しています。このビルドは不安定であったり、バグが含まれている可能性があります。" + nightlyWarning: "ナイトリービルドを使用しています。このビルドは不安定であったり、バグが含まれている可能性があります。" nightlyReportIssue: "問題を発見した場合は、GitHub Issues で報告してください。" toggle: diff --git a/platform-paper/src/main/resources/paper-plugin.yml b/platform-paper/src/main/resources/paper-plugin.yml index 3300917..5e0074e 100644 --- a/platform-paper/src/main/resources/paper-plugin.yml +++ b/platform-paper/src/main/resources/paper-plugin.yml @@ -1,7 +1,7 @@ name: LunaticChat version: ${version} main: dev.m1sk9.lunaticChat.paper.LunaticChat -api-version: '1.21' +api-version: '26.1' folia-supported: true prefix: LunaticChat load: STARTUP |
