From d58b343b7c86a2de0764e55174ac645b88fda5f9 Mon Sep 17 00:00:00 2001 From: ZhangYuheng Date: Tue, 24 Sep 2024 17:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E7=9A=84=E9=83=A8=E5=88=86=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- .../java/cn/lunadeer/dominion/managers/ConfigManager.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8f154400..309f03c0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "cn.lunadeer" -version = "2.10.1-beta" +version = "2.10.2-beta" java { toolchain.languageVersion.set(JavaLanguageVersion.of(21)) diff --git a/core/src/main/java/cn/lunadeer/dominion/managers/ConfigManager.java b/core/src/main/java/cn/lunadeer/dominion/managers/ConfigManager.java index 69451753..771c2526 100644 --- a/core/src/main/java/cn/lunadeer/dominion/managers/ConfigManager.java +++ b/core/src/main/java/cn/lunadeer/dominion/managers/ConfigManager.java @@ -41,8 +41,8 @@ public void reload() { _db_pass = _file.getString("Database.Pass", "postgres"); _auto_create_radius = _file.getInt("AutoCreateRadius", 10); - _default_join_message = _file.getString("DefaultJoinMessage", "&3Welcome to %dominion_current_dominion%!"); - _default_leave_message = _file.getString("DefaultLeaveMessage", "&3Leaving %dominion_current_dominion%..."); + _default_join_message = _file.getString("DefaultJoinMessage", "&3{OWNER}: Welcome to {DOM}!"); + _default_leave_message = _file.getString("DefaultLeaveMessage", "&3{OWNER}: Leaving {DOM}..."); _message_display_no_permission = _file.getString("MessageDisplay.NoPermission", "ACTION_BAR"); _message_display_join_leave = _file.getString("MessageDisplay.JoinLeave", "ACTION_BAR");