Skip to content

Commit ea2d014

Browse files
Restore help command description details: playerName param, admin only note, average params
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
1 parent 8d6ab60 commit ea2d014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/dansplugins/activitytracker/commands/HelpCommand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ public boolean execute(CommandSender sender) {
2424
ChatColor.RESET + ChatColor.GOLD + " ─ Commands");
2525
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at help " + ChatColor.GRAY + "- View a list of helpful commands.");
2626
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at info " + ChatColor.GRAY + "- View your activity record.");
27-
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at info (player) " + ChatColor.GRAY + "- View a player's activity record.");
28-
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at list " + ChatColor.GRAY + "- View the 10 most recent sessions.");
27+
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at info (playerName) " + ChatColor.GRAY + "- View a player's activity record.");
28+
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at list " + ChatColor.GRAY + "- View the 10 most recent sessions (admin only).");
2929
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at top " + ChatColor.GRAY + "- View the most active players.");
3030
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at stats " + ChatColor.GRAY + "- View activity stats for the server.");
31-
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at average " + ChatColor.GRAY + "- View average daily activity.");
31+
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at average [player] [days] " + ChatColor.GRAY + "- Avg daily activity (default: 7 days).");
3232
sender.sendMessage(ChatColor.GOLD + "│ " + ChatColor.AQUA + "/at config " + ChatColor.GRAY + "- Show or set config options.");
3333
sender.sendMessage(ChatColor.GOLD + "└─────────────────────────");
3434
return true;

0 commit comments

Comments
 (0)