This commit is contained in:
loki5512344 2025-12-29 21:59:15 +01:00
parent daba669833
commit c09a3a399f
6 changed files with 118 additions and 16 deletions

View file

@ -56,16 +56,18 @@ public class ReplyCommand implements CommandExecutor {
String message = String.join(" ", args);
// Отправляем сообщения
player.sendMessage(ChatFormatter.formatPmSent(
plugin.getMessageConfig().get("pm.sent"),
target.getName(),
// Отправляем сообщения с градиентными именами
player.sendMessage(ChatFormatter.formatPmSentNew(
plugin.getMessageConfig().getPmFormatSent(),
player,
target,
message
));
target.sendMessage(ChatFormatter.formatPmReceived(
plugin.getMessageConfig().get("pm.received"),
player.getName(),
target.sendMessage(ChatFormatter.formatPmReceivedNew(
plugin.getMessageConfig().getPmFormatReceived(),
player,
target,
message
));