summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-04-04 16:42:17 +0900
committerGitHub <noreply@github.com>2026-04-04 16:42:17 +0900
commitf51337e809cb6946b17258c85ba969f3e54a3461 (patch)
tree0d86d3d27b21b04f24eedfb72b0cf3c86c76ad03
parent6947ee9d2d7e0b4a87a405f2eb13f2dce29f150b (diff)
parentbd1e8d0fc74f1595a39cec2d6e705db2ace9809f (diff)
downloadLunaticChat-f51337e809cb6946b17258c85ba969f3e54a3461.tar.gz
LunaticChat-f51337e809cb6946b17258c85ba969f3e54a3461.tar.bz2
LunaticChat-f51337e809cb6946b17258c85ba969f3e54a3461.zip
Merge pull request #163 from m1sk9/support-jdk25_and_26.1
feat: Support Minecraft 26.1.1 and JDK 25
-rw-r--r--.github/workflows/release.yaml11
-rw-r--r--CHANGELOG.md25
-rw-r--r--CLAUDE.md4
-rw-r--r--README.md2
-rw-r--r--build.gradle.kts2
-rw-r--r--docker/folia/compose.yaml4
-rw-r--r--docker/paper/compose.yaml4
-rw-r--r--docker/velocity/compose.yaml10
-rw-r--r--mise.toml2
-rw-r--r--platform-paper/build.gradle.kts6
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lc/StatusCommand.kt4
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/EventListenerRegistry.kt5
-rw-r--r--platform-paper/src/main/resources/languages/en.yml2
-rw-r--r--platform-paper/src/main/resources/languages/ja.yml2
-rw-r--r--platform-paper/src/main/resources/paper-plugin.yml2
15 files changed, 36 insertions, 49 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index f0da20c..68b9c48 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -82,8 +82,11 @@ jobs:
contents: write
env:
MODRINTH_CHANNEL: release
- MODRINTH_GAME_VERSIONS: "1.21.x"
- MODRINTH_MC_VERSION: "1.21.11"
+ MODRINTH_PAPER_GAME_VERSIONS: "26.1.x"
+ MODRINTH_VELOCITY_GAME_VERSIONS: |-
+ 1.21.x
+ 26.1.x
+ MODRINTH_MC_VERSION: "26.1"
steps:
- name: Checkout repository
uses: actions/checkout@v6
@@ -150,7 +153,7 @@ jobs:
loaders: |-
paper
folia
- game-versions: ${{ env.MODRINTH_GAME_VERSIONS }}
+ game-versions: ${{ env.MODRINTH_PAPER_GAME_VERSIONS }}
files: platform-paper/build/libs/${{ needs.validate.outputs.paper_jar_name }}
- name: Publish to Modrinth (Velocity)
@@ -164,6 +167,6 @@ jobs:
changelog: |-
Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details.
loaders: velocity
- game-versions: ${{ env.MODRINTH_GAME_VERSIONS }}
+ game-versions: ${{ env.MODRINTH_VELOCITY_GAME_VERSIONS }}
files: platform-velocity/build/libs/${{ needs.validate.outputs.velocity_jar_name }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f7753e..73cf134 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,35 +4,20 @@
### v1.0.0
-#### Announcement: Support for Nightly Releases
-
-- We have started distributing Nightly releases
- - Whenever updates are made to `main` (the default branch), we will distribute the current build via GitHub Releases
- - Since the Nightly version is a work-in-progress, it may be unstable or contain bugs. If you encounter any issues, please report them on GitHub Issues
-
-> [!WARNING]
->
-> The Nightly version is not available on Modrinth
-
-#### New Features
-
- Paper 26.1 (Minecraft 26.1) is now supported.
- Support for Paper 1.21.X, Folia 1.21.X (and later) has been dropped.
- We have added warnings when running `/lc status` or `/lcv status`, or when logging in, if you are using the Nightly version.
+- Fixed an issue where, while Romaji conversion was enabled, chat events were not registered under certain conditions, making Romaji conversion unavailable.
+- We have started distributing Nightly releases
+ - Whenever updates are made to `main` (the default branch), we will distribute the current build via GitHub Releases
+ - Since the Nightly version is a work-in-progress, it may be unstable or contain bugs. If you encounter any issues, please report them on GitHub Issues
+ - **The Nightly version is not available on Modrinth**.
### v0.11.0
-#### Breaking Changes
-
- We have removed the chat mode implementation.
- All chat messages sent after joining a channel will now appear in the channel chat.
-
-#### Features
-
- Clicking the notification message now displays the channel's status.
-
-#### Feature Improvements
-
- Optimization of internal logic.
- We have improved the notification message that appears when you log in to the server while in a channel.
- Added a delay to prevent other plugins from interfering with login notifications.
diff --git a/CLAUDE.md b/CLAUDE.md
index ced717b..f579ca9 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -6,9 +6,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
LunaticChat is a Minecraft chat plugin supporting Paper, Folia, and Velocity servers. It provides direct messaging, channel chat, romaji-to-Japanese conversion, and cross-server global chat via Velocity proxy.
-- **Language**: Kotlin (JVM 21)
+- **Language**: Kotlin (JVM 25)
- **Build**: Gradle 9+ with Kotlin DSL
-- **Tooling**: mise (Java zulu-21, Bun 1.3.9)
+- **Tooling**: mise (Java zulu-25, Bun 1.3.11)
## Common Commands
diff --git a/README.md b/README.md
index 9b404b3..782739a 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ cd LunaticChat
./gradlew shadowJar
```
-_[Supports Minecraft 1.21.11](https://minecraft.wiki/w/Java_Edition_version_history#1.21) | [Requires Java 21+ and Gradle 9+](.github/CONTRIBUTING.md)_
+_[Supports Minecraft 26.1](https://minecraft.wiki/w/Java_Edition_26.1) | [Requires Java 25+ and Gradle 9+](.github/CONTRIBUTING.md)_
## Installation
diff --git a/build.gradle.kts b/build.gradle.kts
index a630f0b..1228449 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -32,7 +32,7 @@ subprojects {
tasks.withType<KotlinCompile> {
compilerOptions {
- jvmTarget.set(JvmTarget.JVM_21)
+ jvmTarget.set(JvmTarget.JVM_25)
}
}
diff --git a/docker/folia/compose.yaml b/docker/folia/compose.yaml
index dd3f38c..5d464ff 100644
--- a/docker/folia/compose.yaml
+++ b/docker/folia/compose.yaml
@@ -1,6 +1,6 @@
services:
folia:
- image: itzg/minecraft-server:java21
+ image: itzg/minecraft-server:java25
container_name: debug-folia
ports:
- "25565:25565"
@@ -12,7 +12,7 @@ services:
environment:
EULA: "TRUE"
TYPE: "FOLIA"
- VERSION: "1.21.11"
+ VERSION: "26.1.1"
MEMORY: "2G"
# デバッグ用高速化設定
diff --git a/docker/paper/compose.yaml b/docker/paper/compose.yaml
index 5e171eb..94f1cc1 100644
--- a/docker/paper/compose.yaml
+++ b/docker/paper/compose.yaml
@@ -1,6 +1,6 @@
services:
paper:
- image: itzg/minecraft-server:java21
+ image: itzg/minecraft-server:java25
container_name: debug-paper
ports:
- "25565:25565"
@@ -12,7 +12,7 @@ services:
environment:
EULA: "TRUE"
TYPE: "PAPER"
- VERSION: "1.21.11"
+ VERSION: "26.1.1"
MEMORY: "1G"
# デバッグ用高速化設定
diff --git a/docker/velocity/compose.yaml b/docker/velocity/compose.yaml
index 2f3d5c9..27c9060 100644
--- a/docker/velocity/compose.yaml
+++ b/docker/velocity/compose.yaml
@@ -1,6 +1,6 @@
services:
velocity:
- image: itzg/mc-proxy:java21
+ image: itzg/mc-proxy:java25
container_name: debug-velocity
ports:
- "25577:25577"
@@ -27,7 +27,7 @@ services:
- minecraft-network
s1:
- image: itzg/minecraft-server:java21
+ image: itzg/minecraft-server:java25
container_name: debug-server-s1
expose:
- "25565"
@@ -40,7 +40,7 @@ services:
environment:
EULA: "TRUE"
TYPE: "PAPER"
- VERSION: "1.21.11"
+ VERSION: "26.1.1"
MEMORY: "1G"
# デバッグ用高速化設定
@@ -74,7 +74,7 @@ services:
stdin_open: true
s2:
- image: itzg/minecraft-server:java21
+ image: itzg/minecraft-server:java25
container_name: debug-server-s2
expose:
- "25565"
@@ -87,7 +87,7 @@ services:
environment:
EULA: "TRUE"
TYPE: "PAPER"
- VERSION: "1.21.11"
+ VERSION: "26.1.1"
MEMORY: "1G"
# デバッグ用高速化設定
diff --git a/mise.toml b/mise.toml
index 99e9d53..2ea3430 100644
--- a/mise.toml
+++ b/mise.toml
@@ -1,3 +1,3 @@
[tools]
bun = "1.3.11"
-java = "zulu-21.48.17.0"
+java = "zulu-25.32.21.0"
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..0e35205 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
@@ -105,9 +105,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/kotlin/dev/m1sk9/lunaticChat/paper/listener/EventListenerRegistry.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/EventListenerRegistry.kt
index 84040b6..38b1b0c 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/EventListenerRegistry.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/EventListenerRegistry.kt
@@ -42,7 +42,7 @@ object EventListenerRegistry {
plugin,
)
- // Register chat listener when channel chat is enabled OR velocity cross-server chat is enabled
+ // Register chat listener when channel chat, velocity cross-server chat, or Japanese conversion is enabled
val shouldRegisterChatListener =
(
services.channelManager != null &&
@@ -51,7 +51,8 @@ object EventListenerRegistry {
(
configuration.features.velocityIntegration.enabled &&
configuration.features.velocityIntegration.crossServerGlobalChat
- )
+ ) ||
+ services.romajiConverter != null
if (shouldRegisterChatListener) {
pluginManager.registerEvents(
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