From 113c4724446dd4c9248f89c34c811ac61cc00fac Mon Sep 17 00:00:00 2001 From: nikkou-0814 <125991634+nikkou-0814@users.noreply.github.com> Date: Sun, 6 Oct 2024 05:03:03 +0900 Subject: [PATCH] =?UTF-8?q?=E7=99=BA=E5=85=89=E3=81=AE=E6=99=82=E9=96=93?= =?UTF-8?q?=E3=82=921=E5=88=86=E3=81=AB=E5=A4=89=E6=9B=B4=E3=80=81?= =?UTF-8?q?=E3=83=98=E3=83=AB=E3=83=97=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- src/main/java/nagoya/nikkou/pos/PosCommand.java | 2 +- src/main/java/nagoya/nikkou/pos/PosHelpCommand.java | 8 ++++---- src/main/resources/plugin.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 652d2aa..4af757c 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } group = 'nagoya.nikkou' -version = '1.0' +version = '1.1' repositories { mavenCentral() diff --git a/src/main/java/nagoya/nikkou/pos/PosCommand.java b/src/main/java/nagoya/nikkou/pos/PosCommand.java index 1ebd64e..a00b7a8 100644 --- a/src/main/java/nagoya/nikkou/pos/PosCommand.java +++ b/src/main/java/nagoya/nikkou/pos/PosCommand.java @@ -62,7 +62,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St Bukkit.broadcastMessage(ChatColor.GREEN + message); - targetPlayer.addPotionEffect(new PotionEffect(PotionEffectType.GLOWING, 200, 1)); + targetPlayer.addPotionEffect(new PotionEffect(PotionEffectType.GLOWING, 1200, 1)); boolean sendXaeroWaypoint = plugin.getConfig().getBoolean("send-xaero-waypoint", false); diff --git a/src/main/java/nagoya/nikkou/pos/PosHelpCommand.java b/src/main/java/nagoya/nikkou/pos/PosHelpCommand.java index b34df52..7d4a0ea 100644 --- a/src/main/java/nagoya/nikkou/pos/PosHelpCommand.java +++ b/src/main/java/nagoya/nikkou/pos/PosHelpCommand.java @@ -15,10 +15,10 @@ public PosHelpCommand(Pos plugin) { @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { - sender.sendMessage(ChatColor.GOLD + "=== PosPlugin Help ==="); - sender.sendMessage(ChatColor.GREEN + "/pos [playername]" + ChatColor.WHITE + " - 指定したプレイヤーの座標をチャットに送信し、発光効果を付与します。"); - sender.sendMessage(ChatColor.GREEN + "/pos" + ChatColor.WHITE + " - 自分の座標をチャットに送信し、発光効果を付与します。"); - sender.sendMessage(ChatColor.GREEN + "/poshelp" + ChatColor.WHITE + " - このヘルプメッセージを表示します。"); + sender.sendMessage(ChatColor.GOLD + "======= PosPlugin Help ======="); + sender.sendMessage(ChatColor.GREEN + "/pos [playername]" + ChatColor.WHITE + " - 指定したプレイヤーの座標をチャットに送信し、発光効果を付与します"); + sender.sendMessage(ChatColor.GREEN + "/pos" + ChatColor.WHITE + " - 自分の座標をチャットに送信し、発光効果を付与します"); + sender.sendMessage(ChatColor.GREEN + "/poshelp" + ChatColor.WHITE + " - このヘルプを表示します"); sender.sendMessage(ChatColor.GOLD + "==========================="); return true; } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 6ab2a13..91c45c6 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: Pos -version: 1.0 +version: 1.1 main: nagoya.nikkou.pos.Pos api-version: 1.21 description: プレイヤーの座標を表示し、発光効果を付与するプラグイン