package com.awesomeman.xtrapunish.punish;

import org.spongepowered.api.command.CommandException;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.CommandSource;
import org.spongepowered.api.command.args.CommandContext;
import org.spongepowered.api.command.spec.CommandExecutor;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.format.TextColors;

// NOTE: Do NOT line wrap this class
public class HelpCommand implements CommandExecutor {
    
    public CommandResult execute(CommandSource src, CommandContext args) throws CommandException {
        src.sendMessage(Text.of(TextColors.GREEN + "/punish help - " + TextColors.GOLD + "Display's this help list!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish trap <player> - " + TextColors.GOLD + "Traps a player in bedrock!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish bounce <player> - " + TextColors.GOLD + "Bounces a player high into the sky!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish burn <player> - " + TextColors.GOLD + "Sets a player on fire!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish spam <player> - " + TextColors.GOLD + "Spams a player's chat with random charactors."));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish creeper <player> - " + TextColors.GOLD + "Spawns a very powerful creeper onto the target player!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish explode <player> - " + TextColors.GOLD + "Creates an explosion at the target player's location."));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish stuck <player> - " + TextColors.GOLD + "Prevents a player from moving at all!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish broadcast <player> - " + TextColors.GOLD + "Broadcasts a message to the server non-stop!"));
        src.sendMessage(Text.of(TextColors.GREEN + "/punish stop <player> - " + TextColors.GOLD + "Stops the broadcast."));
        return CommandResult.success();
    }
}

@@ -641,34 +641,33 @@
 TextColors.GREEN
- +
+,
  %22/punish help -
@@ -664,26 +664,25 @@
 ish help - %22
- +
+,
  TextColors.
@@ -685,18 +685,17 @@
 ors.GOLD
- +
+,
  %22Displa
@@ -758,34 +758,33 @@
 TextColors.GREEN
- +
+,
  %22/punish trap %3C
@@ -786,34 +786,33 @@
 rap %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -811,18 +811,17 @@
 ors.GOLD
- +
+,
  %22Traps 
@@ -885,34 +885,33 @@
 TextColors.GREEN
- +
+,
  %22/punish bounce
@@ -915,34 +915,33 @@
 nce %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -940,18 +940,17 @@
 ors.GOLD
- +
+,
  %22Bounce
@@ -1023,34 +1023,33 @@
 TextColors.GREEN
- +
+,
  %22/punish burn %3C
@@ -1051,34 +1051,33 @@
 urn %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1076,18 +1076,17 @@
 ors.GOLD
- +
+,
  %22Sets a
@@ -1146,34 +1146,33 @@
 TextColors.GREEN
- +
+,
  %22/punish spam %3C
@@ -1174,34 +1174,33 @@
 pam %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1195,26 +1195,25 @@
 tColors.GOLD
- +
+,
  %22Spams a pl
@@ -1292,34 +1292,33 @@
 TextColors.GREEN
- +
+,
  %22/punish creepe
@@ -1323,34 +1323,33 @@
 per %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1348,18 +1348,17 @@
 ors.GOLD
- +
+,
  %22Spawns
@@ -1450,34 +1450,33 @@
 TextColors.GREEN
- +
+,
  %22/punish explod
@@ -1481,34 +1481,33 @@
 ode %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1506,18 +1506,17 @@
 ors.GOLD
- +
+,
  %22Create
@@ -1607,34 +1607,33 @@
 TextColors.GREEN
- +
+,
  %22/punish stuck 
@@ -1636,34 +1636,33 @@
 uck %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1661,18 +1661,17 @@
 ors.GOLD
- +
+,
  %22Preven
@@ -1746,34 +1746,33 @@
 TextColors.GREEN
- +
+,
  %22/punish broadc
@@ -1779,34 +1779,33 @@
 ast %3Cplayer%3E - %22
- +
+,
  TextColors.GOLD
@@ -1804,18 +1804,17 @@
 ors.GOLD
- +
+,
  %22Broadc
@@ -1904,18 +1904,17 @@
 rs.GREEN
- +
+,
  %22/punis
@@ -1932,18 +1932,17 @@
 yer%3E - %22
- +
+,
  TextCol
@@ -1953,10 +1953,9 @@
 GOLD
- +
+,
  %22St

Fix the help command