@Override
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        
        Player player = (Player) sender;
        
        if(cmd.getName().equalsIgnoreCase("admin")){
                    
            if(player.hasPermission("messenger.admin")){
                
                if(args.length == 0){
                
                    int adminCount = 0;
                    
                    for(Player cPlayer : Bukkit.getServer().getOnlinePlayers()){

                        if(cPlayer.hasPermission("messenger.chat")){
                            
                            adminCount = adminCount + 1;
                        }
                    }
                    
                    player.sendMessage(ChatColor.LIGHT_PURPLE + "[" + ChatColor.RED + "AdminChat" + ChatColor.LIGHT_PURPLE + "]" + ChatColor.GOLD + " Amount of Players in Admin Chat: " + ChatColor.GREEN + adminCount);
                    
                }else{
                    
                    String myString = "";

                    for(int i = 0; i < args.length; i++){
                         String arg = args[i] + " ";
                         myString = myString + arg;
                    }

                    for(Player cPlayer : Bukkit.getServer().getOnlinePlayers()){

                        if(cPlayer.hasPermission("messenger.chat")){

                            cPlayer.sendMessage(ChatColor.LIGHT_PURPLE + "[" + ChatColor.RED + "AdminChat" + ChatColor.LIGHT_PURPLE + "] " + ChatColor.GOLD + player.getDisplayName() + ChatColor.LIGHT_PURPLE + ": " + myString);
                        }
                    }
                }
            }else{
                player.sendMessage(ChatColor.BLUE + MPlugin.pName + ChatColor.DARK_GRAY + " >> " + ChatColor.RED + " You don't have access to this.");
            }
        }
        return true;
    }