@Override
	public void run(CommandSender sender, String maincmd, String[] args)
	{
		if (sender instanceof Player && !sender.hasPermission("mobmanager.abilitysetlist") && !sender.hasPermission("mobmanager.spawn") && !sender.hasPermission("mobmanager.pspawn"))
		{
			sender.sendMessage(ChatColor.DARK_RED + "You do not have permission to use /mm mobtypes");
			return;
		}
		
		String message = "";
		
		for (String name : AbilitySet.getAbilitySetNames())
		{
			AbilitySet set = AbilitySet.getAbilitySet(name);
			
			if (name == null)
				continue;
			
			if (set.getAbilitySetsEntityType() == null)
				continue;
			
			if (message.length() != 0)
				message += ", ";
			message += name + ":" + set.getAbilitySetsEntityType();
		}
		
		sender.sendMessage(ChatColor.GRAY + "~AbilitySets: " + message);
	}