Skip to content

Commit

Permalink
redid the messages again because they were BUTTERS !!!!! thanku @lj-p…
Browse files Browse the repository at this point in the history
…ixel for the colours go bestie

Took 7 minutes
  • Loading branch information
Ankoki committed Jun 27, 2021
1 parent 7c56fd4 commit d0fafce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/ankoki/skjade/commands/SkJadeCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ public class SkJadeCmd implements CommandExecutor {
public boolean onCommand(CommandSender sender, Command command, String s, String[] args) {
if (args.length == 1 && args[0].equalsIgnoreCase("reload") && (sender.isOp() || sender.hasPermission("skjade.admin"))) {
SkJade.getInstance().getOwnConfig().reloadConfig();
sender.sendMessage(8Sk§7Jade §f| §7§oYou have sucessfully reloaded the config!");
sender.sendMessage(fSk§aJade §f| §7§oYou have sucessfully reloaded the config!");
} else {
sender.sendMessage(8Sk§7Jade §f| §7§oYou are currently running §8§oSk§7§oJade v" +
sender.sendMessage(fSk§aJade §f| §7§oYou are currently running §f§oSk§a§oJade §7§ov" +
(SkJade.getInstance().isLatest() ? "§a§o" : "§c§o") + SkJade.getInstance().getVersion());
if (SkJade.getInstance().isBeta()) {
sender.sendMessage(8Sk§7Jade §f| §7§oDo note that you are currently running an unstable version " +
sender.sendMessage(fSk§aJade §f| §7§oDo note that you are currently running an unstable version " +
"of this plugin, which is strongly discouraged as it may result in unexpected and/or breaking " +
"behavior. Please switch to a stable version if possible!");
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/ankoki/skjade/listeners/PlayerJoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public class PlayerJoin implements Listener {
private void onJoin(PlayerJoinEvent e) {
Player player = e.getPlayer();
if (Config.VERSION_ALERTS && (player.hasPermission("skjade.notify") || player.isOp()) && !SkJade.getInstance().isLatest()) {
player.sendMessage(8Sk§7Jade §f| §7§oYou are running an outdated version of §8§oSk§7§oJade!");
player.sendMessage(fSk§aJade §f| §7§oYou are running an outdated version of §f§oSk§a§oJade§7§o!");
TextComponent github =
new TextComponent(Utils.coloured(8Sk§7Jade §f| §7§oClick me to download the latest version!"));
new TextComponent(Utils.coloured(fSk§aJade §f| §7§oClick me to download the latest version!"));
github.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT,
new ComponentBuilder("Click me to go to the latest release!")
.color(ChatColor.GRAY)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/ankoki/skjade/utils/Console.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
public class Console {

public static void info(String info) {
System.out.println(8Sk§7Jade §f| §7" + info);
System.out.println(fSk§aJade §f| §7" + info);
}

public static void warning(String warning) {
System.out.println(8Sk§7Jade" + ConsoleColors.WHITE + " | " + ConsoleColors.YELLOW + warning);
System.out.println(fSk§aJade" + ConsoleColors.WHITE + " | " + ConsoleColors.YELLOW + warning);
}

@SuppressWarnings("unused")
Expand Down

0 comments on commit d0fafce

Please sign in to comment.