public void command(CommandSender sender, Player player, String[] cmd){
 //                
//        GETS THE STRING TO REFER TO TO GET THE COMMAND        
//                
        if(cmd[0].equalsIgnoreCase("add")){
//                  CHECKS IF THE PLAYER IS ALREADY IN THE PROCESS OF ADDING A COMMAND
            if(list.containsKey(player)){
                sender.sendMessage("§a[§bWarCraft§a] §fYou are already in the process of adding a command.");
                sender.sendMessage("§a    - §fType '/sc cancel' to cancel the action.");
                return;
            }
//                  REBUILDS THE STRING INT STRING FORM AND STORES IN HASHMAP TO REFER TO LATER
            StringBuilder sb = new StringBuilder();
            for(int i = 1 ; i < cmd.length ; i++){
                if(cmd.length-1 == i){
                    sb.append(cmd[i]);}
                else{
                    sb.append(cmd[i]).append(" ");}
            }
            list.put(sender,sb.toString()
                    );
            sender.sendMessage("§a[§bWarCraft§a] §fNow enter the command: /sc command <arg> <arg> <arg> etc.");
            return;
        }
//                
//       GETS THE COMMAND TO DEFER TO
//                
        if (cmd[0].equalsIgnoreCase("command")){
//                  CHECKS TO MAKE SURE THE PLAYER HAS ALREADY STARTED ADDING A COMMAND
            if(!list.containsKey(player)){
                sender.sendMessage("§a[§bWarCraft§a] §fYou have not properly started the process of adding a command.");
                sender.sendMessage("§a    - §fType '/sc add [string]' to add a String to reference a command.");
                return;
            }
//                  REBUILDS THE COMMAND TO STRING FORM FOR WRITING TO THE FILE
            StringBuilder sb = new StringBuilder();
            for(int i = 1 ; i < cmd.length ; i++){
                if(cmd.length-1 == i){
                    sb.append(cmd[i]);}
                else{
                    sb.append(cmd[i]).append(" ");}
            }
            Write(list.get(sender),sb.toString(),player);// SENDS ARGUMENTS TO WRITE METHOD FOR WRITING TO FILE
            list.remove(sender);
            return;


        }
    }