Skip to content

Commit

Permalink
発光の時間を1分に変更、ヘルプメッセージの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkou-0814 committed Oct 5, 2024
1 parent d9a08bb commit 113c472
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group = 'nagoya.nikkou'
version = '1.0'
version = '1.1'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/nagoya/nikkou/pos/PosCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/nagoya/nikkou/pos/PosHelpCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Pos
version: 1.0
version: 1.1
main: nagoya.nikkou.pos.Pos
api-version: 1.21
description: プレイヤーの座標を表示し、発光効果を付与するプラグイン
Expand Down

0 comments on commit 113c472

Please sign in to comment.