From 798e5903def89c2e2ad54e0a4d56873f0d1e8a44 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 1 Oct 2016 13:44:20 +0200 Subject: [PATCH] Added #49 --- .../chat/commands/ucmds/HelpCommand.java | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/main/java/buttondevteam/chat/commands/ucmds/HelpCommand.java b/src/main/java/buttondevteam/chat/commands/ucmds/HelpCommand.java index e36f1d9..fb51cd7 100644 --- a/src/main/java/buttondevteam/chat/commands/ucmds/HelpCommand.java +++ b/src/main/java/buttondevteam/chat/commands/ucmds/HelpCommand.java @@ -37,18 +37,20 @@ public final class HelpCommand extends UCommandBase { text.add("/" + cmd.GetCommandPath()); sender.sendMessage(text.toArray(new String[text.size()])); } else if (args[0].equalsIgnoreCase("colors")) { - sender.sendMessage(new String[] { "§6---- Chat colors ----", // - "Tellraw name - Code | Tellraw name - Code", // - "§0black - &0 | §1dark_blue - &1", // - "§2dark_green - &2 | §3dark_aqua - &3", // - "§4dark_red - &4 | §5dark_purple - &5", // - "§6gold - &6 | §7gray - &7", // - "§8dark_gray - &8 | §9blue - &9", // - "§agreen - &a | §baqua - &b", // - "§cred - &c | §dlight_purple - &d", // - "§eyellow - &e | §fwhite - &f", // - "§rreset - &r", //TODO: Add format codes - "" }); // + sender.sendMessage(new String[] { "§6---- Chat colors/formats ----", // + "Tellraw name - Code | Tellraw name - Code", // + "§0black - &0 | §1dark_blue - &1", // + "§2dark_green - &2 | §3dark_aqua - &3", // + "§4dark_red - &4 | §5dark_purple - &5", // + "§6gold - &6 | §7gray - &7", // + "§8dark_gray - &8 | §9blue - &9", // + "§agreen - &a | §baqua - &b", // + "§cred - &c | §dlight_purple - &d", // + "§eyellow - &e | §fwhite - &f", // + "§rreset - &r | §kk§robfuscated - &k", // + "§lbold - &l | §mstrikethrough - &m", // + "§nunderline - &n | §oitalic - &o", // + "The format codes in tellraw should be used like \"italic\":\"true\"" }); // } else { String path = args[0]; for (int i = 1; i < args.length; i++)