summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md13
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/ServiceInitializer.kt3
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/channel/ChannelManager.kt2
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/handler/ChannelMessageHandler.kt2
4 files changed, 14 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c92825c..30a5707 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,11 +1,20 @@
# LunaticChat Changelog
-## v0
+## v1
+
+### v1.0.0 (Unreleased)
+
+#### Features
-### v0.10.2
+- Paper 26.1 (Minecraft 26.1) is now supported.
+ - Support for Paper 1.21.X, Folia 1.21.X (and later) has been dropped.
+
+#### Feature Improvements
- Optimization of internal logic.
+## v0
+
### v0.10.1
- Codecov was introduced to expand test coverage.
diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/ServiceInitializer.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/ServiceInitializer.kt
index 2d237e1..b732a9e 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/ServiceInitializer.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/ServiceInitializer.kt
@@ -99,7 +99,7 @@ class ServiceInitializer(
// 4. Initialize channel manager, membership manager, chat mode manager, channel message handler, and notification handler
val channelComponents =
if (configuration.features.channelChat.enabled) {
- initializeChannelManager(playerSettingsManager, romajiConverter, languageManager)
+ initializeChannelManager(playerSettingsManager, languageManager)
} else {
null
}
@@ -217,7 +217,6 @@ class ServiceInitializer(
*/
private fun initializeChannelManager(
settingsManager: PlayerSettingsManager,
- romajiConverter: RomanjiConverter?,
languageManager: LanguageManager,
): ChannelComponents {
val channelsFile = plugin.dataFolder.resolve("channels.json").toPath()
diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/channel/ChannelManager.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/channel/ChannelManager.kt
index 998414f..ffc6e26 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/channel/ChannelManager.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/channel/ChannelManager.kt
@@ -54,7 +54,7 @@ class ChannelManager(
*
* @param channel The channel to create.
* @return Result containing the created channel or an error if the channel already exists.
- * @throws ChannelNotFoundException if a channel with the same ID already exists.
+ * @throws ChannelAlreadyExistsException if a channel with the same ID already exists.
* @throws ChannelLimitExceededException if the server has reached the maximum channel limit.
*/
fun createChannel(channel: Channel): Result<Channel> {
diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/handler/ChannelMessageHandler.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/handler/ChannelMessageHandler.kt
index 28a306c..800e78a 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/handler/ChannelMessageHandler.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/chat/handler/ChannelMessageHandler.kt
@@ -51,7 +51,7 @@ class ChannelMessageHandler(
it.sendMessage(
formattedMessage.hoverEvent(
HoverEvent.showText(
- Component.text(languageManager.getMessage("general.formattedMessage")),
+ Component.text(languageManager.getMessage("general.spyMessage")),
),
),
)