Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
chore(messages): More customization for default messages
Browse files Browse the repository at this point in the history
  • Loading branch information
aivruu authored Apr 6, 2024
1 parent dbf268c commit 0e31956
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions api/src/main/java/me/qeklydev/clientviewer/config/Messages.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ public final class Messages implements UsableConfiguration {
public String unknownCommand = "<prefix> <red>That sub-command doesn't exist!";

public List<String> help = List.of(
"<gradient:aqua:green>ClientViewer</gradient> <gray>></gray> Available Commands List:",
"<gray> - <green><hover:show_text:''><click:run_command:'/cv help'>/clientviewer help</click></hover> <gray>Shows this messages.",
"<gray> - <green><hover:show_text:''><click:run_command:'/cv reload'>/clientviewer reload</click></hover> <gray>Reloads the plugin configuration.",
"<gray> - <green><hover:show_text:''><click:run_command:'/client'>/client [player]</click></hover> <gray>Shows your client information, or for another player.");
"<gradient:aqua:green>[⭐] ClientViewer [⭐] Available Commands List ->",
"<gray> <green><hover:show_text:''><click:run_command:'/cv help'>/clientviewer help</click></hover> <gray>Shows this messages.",
"<gray> <green><hover:show_text:''><click:run_command:'/cv reload'>/clientviewer reload</click></hover> <gray>Reloads the plugin configuration.",
"<gray> <green><hover:show_text:''><click:run_command:'/client'>/client [player]</click></hover> <gray>Shows your client information, or for another player.");

public String reloadSuccess = "<prefix> <red>The plugin configurations have been reloaded successful.";
public String reloadSuccess = "<prefix> The plugin configurations have been reloaded successful.";

public String reloadFailed = "<prefix> <red>Something went wrong during reloading process, check the console.";

Expand All @@ -26,20 +26,20 @@ public final class Messages implements UsableConfiguration {
public String offlinePlayer = "<prefix> <red>The specified player is not connected now.";

public List<String> ownClientInformation = List.of(
"<gray>Showing your client information",
"<dark_gray>[<yellow>⭐</yellow>] <gray>Showing your client information",
"<green> • <white>Brand name: <light_purple><brand-name>",
"<green> • <white>Protocol Version Number: <light_purple><protocol-number>");

public List<String> thirdPartyClientInformation = List.of(
"<gray>Showing client information of <yellow><player>",
"<dark_gray>[<yellow>⭐</yellow>] <gray>Showing client information of <yellow><player>",
"<green> • <white>Brand name: <light_purple><brand-name>",
"<green> • <white>Protocol Version Number: <light_purple><protocol-number>");

public List<String> clientBrandUnknown = List.of(
"<red>The brand name provided by your client is null/unknown.",
"<dark_gray>[<red>[❌]</red>] <red>The brand name provided by your client is null/unknown. <dark_gray>[<red>[❌]</red>]",
"<gradient:red:gold>Please try again, or use another client to join!");

public List<String> clientBrandDisallowed = List.of(
"<red>The client you're using has been blocked by the administrators.",
"<dark_gray>[<red>[❌]</red>] <red>The client you're using has been blocked by the administrators. <dark_gray>[<red>[❌]</red>]",
"<gradient:blue:red>Use another client to play on the server!");
}

0 comments on commit 0e31956

Please sign in to comment.