Revised report message + added ban+mute aliases

This commit is contained in:
Gxorge committed 2023-06-01 19:25:12 +01:00
1 parent 8e2f36b06b
commit a25526cf35
2 files changed
+4 -2

No files matched your search

@@ -55,9 +55,9 @@ public class ChatReportCommand implements CommandExecutor {
ChatColor.WHITE + "#" + chatReportId + ChatColor.RED + ". Please create a manual report quoting this Chat Report ID on " +
ChatColor.WHITE + StaffOGPlugin.getReportWebAddress()));
} else {
player.sendMessage(Message.format(ChatColor.GREEN + "Chat report successfully created. Your staff report reference is " +
player.sendMessage(Message.format(ChatColor.GREEN + "Thanks for your report! Your report reference is " +
ChatColor.WHITE + "#" + staffReportId + ChatColor.GREEN + ". Your chat report ID is " +
ChatColor.WHITE + "#" + chatReportId + ChatColor.GREEN + " and has been included in your report to staff."));
ChatColor.WHITE + "#" + chatReportId + ChatColor.GREEN + " and has been included in your report."));
player.sendMessage(Message.format(ChatColor.DARK_GREEN + "You can check the status of your report at " +
ChatColor.WHITE + StaffOGPlugin.getReportWebAddress()));
}
+2
View File
@@ -20,6 +20,7 @@ commands:
description: Permanently ban a player.
permission: staffog.command.permban
usage: /<command> <player> <reason>
aliases: [ban]
tempban:
description: Temporarily ban a player.
@@ -35,6 +36,7 @@ commands:
description: Permanently mute a player.
permission: staffog.command.permmute
usage: /<command> <player> <reason>
aliases: [mute]
tempmute:
description: Temporarily mute a player.