refactor: remove prefix from PVP_BAN message and adjust code indentation

This commit is contained in:
Dmitrii
2026-04-16 16:10:19 +03:00
parent 4853d2531e
commit 6ef1091a3a
@@ -33,13 +33,14 @@ public class Messages {
+ "<red>Warning! Profanity is prohibited. You have been deducted <amount> points.</red>"; + "<red>Warning! Profanity is prohibited. You have been deducted <amount> points.</red>";
public static final String PVP_WARNING = PREFIX public static final String PVP_WARNING = PREFIX
+ "<red>Warning! Attacking other players is prohibited. You have been deducted <amount> points. If you`re points falls to 0 you are take ban</red>"; + "<red>Warning! Attacking other players is prohibited. You have been deducted <amount> points. If you`re points falls to 0 you are take ban</red>";
public static final String PVP_BAN = PREFIX + "<red>You have been banned for attacking other players.</red>"; public static final String PVP_BAN = "You have been banned for attacking other players.";
public static final String POINTS_ADDED = "<green>+<amount> points</green>"; public static final String POINTS_ADDED = "<green>+<amount> points</green>";
public static final String POINTS_REMOVED = "<red>-<amount> points</red>"; public static final String POINTS_REMOVED = "<red>-<amount> points</red>";
public static final String REPORT_USAGE = PREFIX + "<yellow>Usage: /report <player> <reason></yellow>"; public static final String REPORT_USAGE = PREFIX + "<yellow>Usage: /report <player> <reason></yellow>";
public static final String REPORT_PLAYER_NOT_FOUND = PREFIX + "<red>Player not found.</red>"; public static final String REPORT_PLAYER_NOT_FOUND = PREFIX + "<red>Player not found.</red>";
public static final String REPORT_SENT = PREFIX + "<green>Report sent successfully.</green>"; public static final String REPORT_SENT = PREFIX + "<green>Report sent successfully.</green>";
public static final String REPORT_COOLDOWN = PREFIX + "<red>Wait <time> sec. before sending another report.</red>"; public static final String REPORT_COOLDOWN = PREFIX
+ "<red>Wait <time> sec. before sending another report.</red>";
public static final String REPORT_NOTIFICATION_OP = "<red>[REPORT]</red> <yellow><reporter></yellow> reported <yellow><target></yellow>. Reason: <gray><reason></gray>"; public static final String REPORT_NOTIFICATION_OP = "<red>[REPORT]</red> <yellow><reporter></yellow> reported <yellow><target></yellow>. Reason: <gray><reason></gray>";
} }