From f692efb504f6c13e44029ca74641cd5d9955ddd2 Mon Sep 17 00:00:00 2001 From: RIngoame196 <132573268+Ringoame196@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:46:28 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20team=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=82=92=E3=81=97=E3=81=AA=E3=81=84=E3=83=81=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt index a659fa0..5221d58 100644 --- a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt +++ b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt @@ -8,6 +8,8 @@ import org.bukkit.entity.Player import org.bukkit.scheduler.BukkitRunnable class TeamMonitorTask : BukkitRunnable() { + private val noDisplayTeamName = "no_display" + override fun run() { for (player in Bukkit.getOnlinePlayers()) { displayTeamName(player) @@ -19,7 +21,9 @@ class TeamMonitorTask : BukkitRunnable() { val teamName = TeamManager.getTeamName(player) ?: "${ChatColor.WHITE}参加していません" val message = "${ChatColor.GOLD}[開発用] 参加チーム:$teamName" // アクションバーに表示 - player.spigot().sendMessage(ChatMessageType.ACTION_BAR, *TextComponent.fromLegacyText(message)) + if (teamName != noDisplayTeamName) { + player.spigot().sendMessage(ChatMessageType.ACTION_BAR, *TextComponent.fromLegacyText(message)) + } } private fun teamChangeMessage(player: Player) { From 1a3432653a28e7869407e27f2cddbb6454f0d3ea Mon Sep 17 00:00:00 2001 From: RIngoame196 <132573268+Ringoame196@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:46:43 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E6=96=B0=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=81=AE=E7=92=B0=E5=A2=83=E3=81=AB=E5=90=88?= =?UTF-8?q?=E3=82=8F=E3=81=9B=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 6f00616..62ed37e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,7 +60,7 @@ tasks.withType { tasks.named("build") { dependsOn("shadowJar") // プラグインを特定のパスへ自動コピー - val copyFilePath = "M:/TwitterServer/plugins/" // コピー先のフォルダーパス + val copyFilePath = "Z:/minecraft/TwitterServer/plugins/" // コピー先のフォルダーパス val copyFile = File(copyFilePath) if (copyFile.exists() && copyFile.isDirectory) { doFirst { From 83d9fe79463b951aa56f9165c88ea2719b2e1886 Mon Sep 17 00:00:00 2001 From: RIngoame196 <132573268+Ringoame196@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:50:32 +0900 Subject: [PATCH 3/3] =?UTF-8?q?.=E3=81=8C=E5=90=AB=E3=81=BE=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E3=83=81=E3=83=BC=E3=83=A0=E3=81=AB=E5=8F=82=E5=8A=A0?= =?UTF-8?q?=E6=99=82=E3=81=AF=E8=A1=A8=E7=A4=BA=E3=82=92=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt index 5221d58..1b49947 100644 --- a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt +++ b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt @@ -8,8 +8,6 @@ import org.bukkit.entity.Player import org.bukkit.scheduler.BukkitRunnable class TeamMonitorTask : BukkitRunnable() { - private val noDisplayTeamName = "no_display" - override fun run() { for (player in Bukkit.getOnlinePlayers()) { displayTeamName(player) @@ -21,7 +19,7 @@ class TeamMonitorTask : BukkitRunnable() { val teamName = TeamManager.getTeamName(player) ?: "${ChatColor.WHITE}参加していません" val message = "${ChatColor.GOLD}[開発用] 参加チーム:$teamName" // アクションバーに表示 - if (teamName != noDisplayTeamName) { + if (!teamName.contains(".")) { player.spigot().sendMessage(ChatMessageType.ACTION_BAR, *TextComponent.fromLegacyText(message)) } }